We changed our privacy policy. Read more.

Questions tagged [cardano-cli]

The official command line interface to interact with a Cardano node.

Filter by
Sorted by
Tagged with
1
vote
1answer
11 views

Executing cardano-cli inside a docker container from another docker container

Can anyone help me with something, I'm trying to run a web server over the cardano-node docker image. I have some solutions in mind but I would like to have some feedback from you. Approach # 1 Build ...
0
votes
0answers
11 views

After installing Daelalus wallet cardano-node on Mac 11.6 then cardano-node cardano-cli - how should I best reduce the code to a single cardano-node?

Advice requested on how to finish setting up my node after first installing: DAEDALUS Mainnet macOS build 18992, Cardano Node 1.29.0, Cardano Wallet 2021.9.9 Then in order to get the command line ...
1
vote
1answer
22 views

Having a problem with Minting with Cardanocli-js

Im creating a transaction using this code: const tx = { txIn: wallet.balance().utxo, txOut: [ { address: wallet.paymentAddr, value: { ...wallet.balance().value, [MARCELOCOIN]: 1 }, } ], ...
2
votes
1answer
27 views

Mainnet – How to fix a frozen DB syncing?

I've been trying to sync with the Cardano blockchain in order to use CLI wallet on macOS Big Sur 11.6. But syncing is frozen at epoch 289 on block 6,236,059. cardano-cli query tip --mainnet { &...
1
vote
1answer
16 views

What's NODE ID? I'm not talking about pool ID

Was setting up script, sendmytip.sh, to update PoolTool with tip and height information. I noticed this NODE_ID value: #!/usr/bin/env bash ## CHANGE THESE TO SUITE YOUR POOL # your pool id as on the ...
1
vote
1answer
48 views

Minting NFT automatically based on transaction

I wish to write a script that will automatically mint NFTs given payment to an address. Firstly, I haven't found anyone that has shown how to do this, but if anyone has, or is willing to share, please ...
0
votes
0answers
11 views

datum hash of bytes is different between cardano-serialization-lib and cardano-cli

I am having trouble using cardano-serialization-lib. I am trying to calculate the datum hash from bytes using this library: var myBytes = Buffer.from( '...
3
votes
1answer
103 views

Lobster Challenge: zsh: no matches found error on building transaction

So I'm trying to build the transaction for voting on the naming of Charles Lobster. However whenever i specify the UTXO as TxHash + "#" + TxIx it complains and says zsh: no matches found: ...
1
vote
1answer
53 views

zsh: command not found: cardano-cli

Following this guide https://developers.cardano.org/docs/get-started/installing-cardano-node/#macos for Mac OS X. Have completed all steps as per guide. However, I am getting 'zsh: command not found: ...
1
vote
1answer
37 views

Verifying Payment Address

Before funding the payment address on my staking pool, I would like to make sure that the funds can be retrieved by me, as the process of air gapping to create these series of keys and addresses ...
0
votes
0answers
4 views

cardano-cli query return epoch = null

When I run cardano-cli query tip --testnet-magic 1097911063 I recieve: { "epoch": null, "hash": "b89d3cdc3ca3e16b6a065668b878116b297a788bfce29f904d4840cf2b69fd34", "...
3
votes
1answer
38 views

Block Producer vs Relay Node setup

Can only Pool operators run Producer nodes? What is the difference between the producer and relay from a setup point and where to get the specifics for each on installing? Being new it's hard to know ...
0
votes
1answer
18 views

What is a host address how do I get one

I have been going through the Cardano developer tutorials and they asked me to run this code (posted below) to run a node but it responded with (Failed to parse IPv4 address: x.x.x.x.). I figured that ...
3
votes
1answer
43 views

Finding related addresses and total balance of wallet for any given address

In the Daedalus wallet under "Receive" it says Please note that all of your receiving addresses include your stake key. When you share a receiving address, the recipient can search the ...
0
votes
0answers
16 views

Unable to sync blockchain with "cardano-cli blockchain pull mainnet"

I've been attempting to run cardano-cli blockchain pull mainnet and continue to get the following error message: WARN 2021-09-14T03:26:45Z: exe_common::network::native: connection peer iohk-hosts' ...
0
votes
0answers
14 views

Syntax error in script when generating policyid

On windows I'm trying to mint some nfts on cardano testnet using this guide: https://developers.cardano.org/docs/native-tokens/minting-nfts/ Problem is that when I'm trying to generate policyID Im ...
0
votes
2answers
58 views

cardano-cli: Network.Socket.connect: <socket: 11>: does not exist

I'm at this part of the docs. The node is running (left terminal in the image below), but now I'm trying to query the blockchain from another terminal and receive the error: cardano-cli: Network....
0
votes
1answer
101 views

Minting NFTs via cardano-cli: How to mint several NFTs consecutively?

I followed the NFT minting docs on https://developers.cardano.org/docs/native-tokens/minting-nfts which works very well for the first transaction. I'm currently stuck trying to mint a second NFT. It's ...
3
votes
2answers
79 views

Retrieve NFT transaction metadata

i've minted some NFTs with 721 metadata in the transaction and am now looking to retrieve the metadata information for further processing. I've send these NFTs around a bit so the utxo is not the ...
1
vote
1answer
57 views

How to submit a script transaction using `cardano-cli`

I'm trying to go through the Alonzo Testnet exercises to get more familiar with the deployment process for Plutus contracts. I've gotten confused by the instructions in sheet 3: Download the pre-...
1
vote
2answers
93 views

How to talk to Cardano blockchain using Javascript

How would I go about making a Javascript script which can get information from the cardano blockchain. Like what library or framework can I use.
2
votes
1answer
43 views

Query all UTXO's from a single Yoroi wallet via CLI?

I wanted to list all assets from my Yoroi wallet via Cardano CLI when I noticed separate privacy addresses had their own UTXO's. Is there a way to resolve all UTXO's from a single wallet?
1
vote
1answer
51 views

How to send a transaction for Cardano native assets via CLI?

For example to list UTXO is something like this cardano-cli query utxo —mainnet —address addrX which returns as an example TxHash TxIx ...
1
vote
0answers
33 views

Whats the difference between the cardano-wallet and cardano-cli for wallet functionalities?

I am reading the different options for a cardano wallet: https://developers.cardano.org/docs/integrate-cardano/creating-wallet-faucet Why should I use the cardano-wallet cli or api if all the ...
1
vote
0answers
41 views

Query UTxO with PostgreSQL (cardano-db-sync)

How can I query the last UTxO from an address on PostgreSQL (I used cardano-db-sync) like I would do using cardano-cli: cardano-cli query utxo --address ...
4
votes
1answer
175 views

What is the testnet-magic argument and why is it 1097911063?

I am currently running a testnet-node version 1.29.0. To query the blockain, I use the command cardano-cli query tip --testnet-magic 1097911063 to get the last block. What is the testnet-magic ...
3
votes
2answers
96 views

Why are cardano-cli generated payment addresses shorter than those from Yoroi or Daedalus?

Why are addresses generated by cardano-cli shorter than those generated by Yoroi or Daedalus? The addresses produced by running cardano-cli address build are 58 characters including the "addr&...
4
votes
1answer
59 views

how do I know if I should use cardano-cli or cardano-wallet

I'm new here and it's still a bit vague for me... In the developers' docs I often see that you can do the same thing with cardano-cli and cardano-wallet (receive payments, create metadata transactions,...
1
vote
1answer
34 views

How can I get rewards into payment address?

I have stake pool paymentwithstake.addr which is a composition of payment.addr with stake.addr. I can query stake.addr for the balance using the following command: cardano-cli query stake-address-info ...
3
votes
0answers
49 views

How to check using CLI that toke is a NFT?

One can check with online tools (described here) if a token is an NFT. How the same thing can be done using CLI tools? Eg. in some sort of a script.
2
votes
1answer
231 views

cardano-wallet maximum amount of addresses

On the cardano developers site, the example they have on accepting payments using cardano-wallet its stated to retrieve an unused address from the wallet and have clients send to that address. However,...
4
votes
1answer
134 views

How to check wallet balance using cardano cli?

How does Dedalus know what is my balance on given wallets? Is there a way I can do the same thing using cardano-cli or cardano-wallet? Edit: I have found Wallet UTXO Distribution screen that: When ...
3
votes
1answer
73 views

Running Cardano Docker Node

I am working on running the Cardano Node with Docker. I Got it working (running cardano-cli version 1.27.0) but when i execute the following command cardano-cli query tip --mainnet I expect a block ...
2
votes
1answer
66 views

Metadata value limits (64 UTF bytes) - Use Arrays ? NFT image question

I'm currently setting up my minting software and noticed I get the error when assigning a CIDv1 hash as the image (CIDv0 works fine - it just fits)"Text string metadata value must consist of at ...
2
votes
2answers
82 views

cardano-cli verification key bech32 encoding

In the cardano-cli tool, it is possible to accept both --payment-verification-key-file and --payment-verification-key when running cardano-cli address key-hash From the docs, it seems that the --...
2
votes
1answer
56 views

Cardano-Wallet Killed

I'm trying to figure out how to use cardano-wallet https://github.com/input-output-hk/cardano-wallet/releases/tag/v2021-06-11 Still no success because it shows a message Killed whenever I try to ...
7
votes
3answers
161 views

Is there a limit on how many distinct tokens can be sent in one transaction?

Let's say someone has 10'000 different tokens on one address. Each token is in a single UTxO. Would it be possible to send them all in one transaction to another address (or the same address), so they ...
3
votes
2answers
88 views

Are there any C# libraries to connect to a Cardano node/acting as a wrapper for cardano-cli?

There are a few libraries in other languages (Java, JavaScript, ...) that act as an abstraction layer between the Cardano node or the cardano-cli and your own code. I'm looking for a C# library that ...
2
votes
1answer
58 views

Where are the private / public key files stored when creating them with cardano-cli?

I am using the cardano-cli for creating the signing / verification keys. cardano-cli address key-gen --verification-key-file pay.vkey --signing-key-file pay.key Does anybody know where these files ...
3
votes
1answer
63 views

cardano-cli: QueryEncoderUnsupportedQuery Query GetSystemStart TopLevelQueryDisabled

cardano-cli --version cardano-cli 1.27.0 - linux-x86_64 - ghc-8.10 git rev d870347b48c8ba0a81566876153eff23fce3ec64 cardano-cli query tip --mainnet cardano-cli: QueryEncoderUnsupportedQuery Query ...
3
votes
2answers
86 views

How can you check if a local node is running properly?

I am running a Cardano node using docker, on the testnet, and now I need to check if it works properly and accepts cardano-cli arguments like querying and what not. Is there a convenient way to do it?
4
votes
1answer
39 views

.NET cardano-cli query utxo Process freezes on a specific address

I have a strange situation where running the cli from a .net Process.Start() it works all of the time (on tested addresses), but on 1 address it just freezes - process.WaitForExit() never exits. When ...
2
votes
1answer
103 views

cardano-node goes down after "cardano-cli query pool-params"

Making this query to my cardano-cli cardano-cli query pool-params \ --stake-pool-id pool13crd2ljx87988umk22er6ynwadfwdqupdpcq6prc6v59z62kxse \ --mainnet Makes my cardano-node goes down. Is ...
3
votes
2answers
53 views

Is it safe to point cardano-wallet at Daedalus "wallets" directory?

I'm running an instance of cardano-wallet which is already pointed at my Daedalus node socket. Would it be safe/possible to point to the wallets directory of Deadalus via the --database argument?
3
votes
2answers
176 views

How can i generate new wallet address using cardano-wallet cli and cardano wallet api after created my wallet?

yoroi and daedalus provide UI to generate new wallet address, how can i use cardano-wallet cli and cardano rest api to generate new address?
3
votes
1answer
65 views

How to convert xvk to svk?

I use cardano-address cli export extended private key, but i want to use it with cardano-cli command, how to convert it?
4
votes
1answer
87 views

Stuck at Creating Keys for Token - cardano-cli address key-gen

I feel like an idiot but I am stuck at creating the keys for a token. Here is the code: cardano@transmission:/home/transmission/Documents$ sudo mkdir policy && cd policy cardano@transmission:...
6
votes
4answers
448 views

How to import Yoroi seed phrase to computer using cardano-address for use with cardano-cli?

I'm trying to use cardano-cli to control the addresses controlled by my Yoroi wallet, so I thought the first thing to do is to import the keys and addresses. I did this: $ # Type the seed phrase for ...
5
votes
1answer
89 views

Difference between "normal key" and "extended key" in cardano-cli address key-gen

With cardano-cli address key-gen, what is the difference between a normal key (obtained with --normal-key) and an extended key (obtained with --extended-key)?
6
votes
1answer
390 views

Using cardano-cli with a Daedalus wallet

I want to be able to use a wallet that I have on Daedalus, but to mint some tokens. The README on cardano-cli is outdated, and obviously not working and couldn't find an up-to-date instructions to ...