Cardano is a cryptocurrency network and open source project that runs a public blockchain platform for smart contracts. Cardano's internal cryptocurrency is called Ada.
Questions tagged [cardano]
79 questions
8
votes
3 answers
What is private key and signing key for cardano (ada)?
I'm trying to generate address and create transaction using nodejs and @emurgo/cardano-serialization-lib-nodejs lib (CardanoWasm).
Following the docs I'm trying this:
const rootkey = CardanoWasm.Bip32PrivateKey.from_bip39_entropy(
…

stphddl
- 95
- 3
6
votes
1 answer
What is magic id or magic number in Cardano testnet?
There are a lots of tutorials in Cardano CLI that uses --testnet-magic 3 or --testnet-magic 4 during reading values in address, minting native tokens etc. But none of them explain in detail about what actually the magic number is and how do we…

paradox
- 303
- 3
- 16
6
votes
2 answers
What does (..) mean?
I'm trying to learn Haskell.
I'm reading the code on here[1]. I just copy and past some part of the code from lines:46 and 298-300.
Question: What does (..) mean?
I Hoggled it but I got no result.
module Pos.Core.Types(
-- something here
…

user153438
- 71
- 4
4
votes
1 answer
What is the syntax used in this function definition of Cardano?
How to interpret this function:
friendlyValidityRange
:: CardanoEra era
-> (TxValidityLowerBound era, TxValidityUpperBound era)
-> Aeson.Value
friendlyValidityRange era = \case
ShelleyTtl ttl -> object ["time to live" .= ttl]
(lowerBound,…

breeze wang
- 137
- 6
4
votes
2 answers
Are users punished for bidding for wrong fork in Ouroboros algorithm?
I am confused by the description of PoS algorithm here https://hackernoon.com/a-hitchhikers-guide-to-consensus-algorithms-d81aae3eb0e3
In PoS, the blocks aren’t created by miners doing work, but by minters
staking their tokens to “bet” on which…

srghma
- 4,770
- 2
- 38
- 54
3
votes
0 answers
Is there any way to copy Haskell binaries to another project to save time on initial build?
I'm working on learning to build DApps on Cardano with Plutus, which is built in Haskell.
I've found that the initial cabal build for a project takes quite a long time, usually 30+ minutes, even if the cabal packages are cached on my local machine…

marcel_g
- 1,980
- 2
- 17
- 19
3
votes
0 answers
How to properly load 3rd party library with wasm dependency into nuxt js project
I'm trying to use this 3rd party library in my nuxtjs web app: cardano-wallet-interface
This library in turn has a dependency that contains a wasm file and I couldn't get it to load properly.
I've read that I'm supposed to provide the "experiments"…

Nim
- 39
- 1
3
votes
1 answer
Minting token in cardano mainnet --tx-out error
I am trying to mint a token in cardano mainnet. I have built a block and staking pool. I am working to mint a token and i am running into an error "unexpected '2', expecting space, "+" or end of input.
Here is the linux code I'm running:
cardano-cli…

justincryptoable
- 31
- 2
3
votes
1 answer
Cardano-wallet malformed tx payload from Submit External Transaction
I’m trying to submit an already signed tx from cardano-cli using the cardano-wallet endpoint: https://localhost:8090/v2/proxy/transactions
the signed transaction look like this:
txBody = {
"type": "Tx MaryEra",
"description": "",
…

leobelizquierdo
- 1,648
- 12
- 20
3
votes
2 answers
How can I get a wallet Id when cardano-wallet create return wallet_already_exists
So far when I try to create a wallet with a recovery phrase that already exist the server returns 409 conflict and an error message saying: "This operation would yield a wallet with the following id: {id} However, I already know of a wallet with…

leobelizquierdo
- 1,648
- 12
- 20
3
votes
3 answers
How to get Cardano unspent transaction outputs (UTxO) via API?
Currently, I can get only Cardano (ADA) "balance" via blockchain API but it does not include UTXOs.
I want to find the way how to get UTXO of Cardano address.
I use Python to get API.

sapun 2540
- 31
- 1
3
votes
0 answers
s2i haskell stack failed to build cardano-sl
Im trying to build my cardano full node application
I am having some issue with the stack.yaml, I am using current stack-2.1.1 and I installed all the dependencies for…

sputnik
- 31
- 2
2
votes
0 answers
npm install gives same node-gyp problem on Mac and Ubuntu
I am trying to npm install this repo: https://github.com/Berry-Pool/nami-wallet
I tried on two different machines but the result is the same.
I tried many different solution found for similar problems one of which to nvm use a different node…

user3755529
- 1,050
- 1
- 10
- 30
2
votes
2 answers
How to run Cardano Wallet?
I have installed cardano-wallet using this documentation. Everything is OK, Just I don't know how to run it so I can have interaction with it via node js:
const { WalletServer } = require('cardano-wallet-js');
let walletServer =…

weera
- 884
- 1
- 10
- 21
2
votes
0 answers
Convert CoseSign1 to JSON
I am trying to convert CoseSign1 to Json or something similar.
The reason I am trying to do this is because I am using Nami Wallet, and I am trying to turn the returned data from signData() to something readable (Json, or something…

KillianCode
- 79
- 2
- 9