Questions tagged [cardano-cli]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

I have downloaded deadlus wallet from the testnet and now what? [closed]

I have downloaded deadalus wallet for testing with Ada from this link: https://testnets.cardano.org/en/testnets/cardano/get-started/wallet/ I couldn't find a link which helps me to figure out how to ...
2 votes
0 answers
113 views

Optimising validators with `BuiltinData -> BuiltinData -> BuiltinData -> ()` and building tx with cardano-cli

In one of your previous classes you said that some teams are optimising their contracts with this type of validator BuiltinData -> BuiltinData -> BuiltinData -> () and I'll refer to those ...
  • 160
1 vote
1 answer
90 views

Protocol parameters file to calculate min fee

I'm wondering, do I need to always generate a new protocols parameters JSON file when generating the min transaction fee? I have a few transactions to make and I really don't like to be creating a new ...
0 votes
1 answer
40 views

Transaction with Cardano-CLI Sumbmits But Nothing Happens

I am trying to delegate a wallet through cardano-cli for most it was going okay, but more recently even though I get the message Transaction successfully submitted. after submitting the transaction, ...
1 vote
3 answers
137 views

How to figure out what address to query for utxos when minting

Following the iohk guide to minting assets we identify the input utxo using the following command: cardano-cli query utxo --address $address --testnet-magic 1097911063 This is all well and good if ...
2 votes
1 answer
134 views

Will transactions created with a local cardano-node be faster if I add more relays to my node topology file?

I'm using a local cardano-node to do some transactions from time to time. Recently I noticed some error messages in the logs of the node. It seemed like the connection to the relays-new.cardano-...
  • 3,480
1 vote
1 answer
107 views

How can a native token be removed/de-registered from Cardano token registry

We have minted and registered a native token on Cardano. Now we want to burn it, because of change of policy and remove it from the registry. After burning the tokens how should I de-register, so that ...
0 votes
4 answers
93 views

Issues insttaling Cardano-node

I have followed instructions to install Cardano-node and cli ( cardano-node-1.33.0-linux) based on video instructions in https://hydra.iohk.io/build/9941151. I've got an error: trace: haskell-nix....
7 votes
2 answers
430 views

How to convert posixTime to slot number on Cardano Testnet

I'd like to obtain the slot number corresponding to a posixtime on Cardano Testnet. For example, this might be useful if you need to set a slot number in cardano-cli, say building a transaction: ...
  • 1,284
0 votes
2 answers
61 views

Failed to automate entering spending passphrase through 'cardano-cli'

I have been experimenting with cardano-cli in the past week. My goal is to find a way to automate sending transactions from multiple wallets in my Daedalus Mainnet.app. After doing some research, I ...
  • 1
0 votes
1 answer
80 views

Create Delegation Certificate Transaction

When building the Create Delegation Certificate Transaction with the cardano-cli, do we need to use all the Utxos of a wallet/base.address? or we can just use one Utxo only as long as it covers the ...
2 votes
1 answer
55 views

In a docker Cardano node where are address key files created?

I'm running a dockerized Cardano node and I'm trying to generate keys for a new address with the cardano-cli using the command: cardano-cli address key-gen --verification-key-file 01.vkey --signing-...
1 vote
3 answers
202 views

Is there away to retrieve the senders addresses of a transaction from its hash, using cli?

Is there away to retrieve the senders addresses of a transaction in cli commands, given the transaction hash? How do APIs (like blockfrost) get this data? I know db-sync stores the data, but how does ...
  • 27
2 votes
4 answers
336 views

How long Cardano node takes to be installed?

I'm running this script but it takes hours ! curl https://hydra.iohk.io/build/9941098/reproduce | bash Any help? Thanks
0 votes
1 answer
81 views

How to enable cardano CLI REST API on DigitalOcean?

I've set up a Cardano node using DigitalOcean's droplet, and I've gotten to the point where I can run: cardano-wallet serve --port 1337 --mainnet --database ~/cardano/db --node-socket ~/cardano/...
0 votes
1 answer
167 views

Deploy smart contract to testnet using cardano-cli

I am trying to run a few examples of deploying a smart contract to testnet using the cardano-cli. I am running version 1.33.0 for both the cardano-cli and cardano-node. The example I am using is from ...
  • 130
1 vote
1 answer
376 views

PPViewHashesDontMatch and UnspendableUTxONoDatumHash error on redeeming funds from week03 example

I am trying to redeem the funds from the smart contract into the second wallet without running cardano-node (following the instructions from here: https://www.youtube.com/watch?v=ABtffZPoUqU&list=...
  • 125
0 votes
1 answer
76 views

Cardano-Cli How to Check Address Delegation Status?

is it possible in cardano-cli to check the status of delegation for any stake.addr? is there a command that shows which pool a stake.addr is delegated to? does that require the use of the heavy ledger-...
1 vote
2 answers
66 views

Can complete transactions be effected using Cardano-cli with only minimal or no plutus involvement?

I'm doing week 3 of the Plutus Pioneer Program. The CLI portion was especially interesting to me. If I understand correctly, the cardano-cli can interact with the real mainnet, which presents the ...
  • 349
0 votes
2 answers
90 views

Cardano-Cli Transactions with Assets Utxo

I am getting an error when trying to send a transaction with the following Utxos: TxHash TxIx Amount --------------------------------...
3 votes
1 answer
166 views

How to create signer hash for cardano-cli transaction build --required-signer-hash?

I need to use --required-signer-hash instead of --required-signer because I don't want to have access to the payment signing key, instead I want a user to create a hash and send it to us. How to ...
  • 439
0 votes
1 answer
60 views

cardano-wallet for pab-local-cluster

Does anyone have an example of how to execute the cardano-wallet CLI for the pab-local-cluster in plutus-apps (tag: v2022-01-17)? I can get access to to the local wallet server APIs, but I need the ...
  • 293
1 vote
1 answer
199 views

Received the transaction id but the transaction never happened

I used to work with Blockfrost API to submit my transactions. A few days ago, I ran into this problem in which my transactions were submitted successfully (The API returned me the transaction id ...
  • 29
3 votes
3 answers
214 views

send token / asset by cardano-CLI

i am looking so long, but till now didnt find a complete answer about : how to send a token / asset from cardano-cli. can you please help me to go in details about build the transaction from the CLI ? ...
  • 321
5 votes
3 answers
380 views

How can I derive the Staking address from a Payment address?

If someone provides me with a payment address, how can I derive the staking address from the payment address? This can be useful for example when we want to sent rewards to the people in return for ...
1 vote
2 answers
164 views

[Congestion ]Transaction submitted but never get processed

I have an issue on which I have been stuck for 4 days since the release of Sundaeswap and the congestion of the network. I have my own node on the mainnet. I have the same on the testnet and ...
  • 111
1 vote
1 answer
189 views

Figure out transaction id after submitting using cardano cli

It's possible to submit transactions using cardano cli. Here is an example (assumes you have gone through the steps to build the tx): cardano-cli transaction submit --tx-file matx.signed --mainnet I ...
0 votes
1 answer
76 views

1.33.0 cardano-cli query stake-snapshot does not generate json

I'm trying to generate leaderlogs on cardano-node 1.33.0 when i try to query the stake snapshot with cardano-cli query stake-snapshot --stake-pool-id ...
  • 689
2 votes
1 answer
134 views

How to connect WSL cardano-cli to Daedalus cardano-node on Windows?

I have the Daedalus wallet/node desktop app installed on Windows 10. And I also have the cardano-cli set up on WSL2 Ubuntu 20.04. How can I point my WSL cardano-cli to the cardano-node that's inside ...
  • 121
0 votes
2 answers
581 views

Change Address in transaction

I made an address with cardano-cli (here) and I funded it from my Yoroi wallet, but I don't know where this change address came from. Shouldn't the change address be the input itself or Am I missing ...
  • 29
0 votes
1 answer
108 views

How to build a script transaction if the validator expects it to be signed

Given the following smart contract: {-# INLINEABLE mkValidator #-} mkValidator :: PubKeyHash -> BuiltinData -> ScriptContext -> Bool mkValidator beneficiary _ ctx = traceIfFalse "tx ...
1 vote
3 answers
211 views

How to pass TxOutDatumNone when building a script transaction with cardano-cli

I'm trying to consume a UTxO from a script address. When querying the script address with cardano-cli query utxo, I have the following UTxO: TxHash ...
0 votes
1 answer
82 views

Embedding address into the datum using the CLI

I have a validator that uses Address in datum. I also have an address generated (payment.vkey, payment.skey, payment.addr, stake.vkey, stake.skey, stake.addr). I'm able to get PubKeyHash using command ...
  • 31
8 votes
2 answers
364 views

Is there complete cardano-cli documentation?

Hello all I can find is the cardano-cli help and https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/cardano-node-cli-reference.md/ I am trying to get information on things like ...
  • 263
0 votes
2 answers
395 views

Sign transaction with multiple inputs

I built a transaction with cardano-cli shelley transaction build-raw command that has multiple inputs. I have the private keys and .skey files of these addresses but I don't know how to sign the ...
  • 29
0 votes
4 answers
277 views

submitting transaction FeeTooSmallUTxO

So I have a basic script that attempts to transfer everything from 1 address to another. In order to correctly conserve and to spend the minimum fee, I just build a transaction that uses 100% of the ...
  • 263
5 votes
1 answer
366 views

Transaction memory and cpu usage limits

Let's imagine I have AlwaysSucceeds Plutus validator script, which is: mkValidator :: Params -> Datum -> Redeemer -> ScriptContext -> Bool mkValidator _ _ _ _ = True I locked many ...
  • 168
1 vote
2 answers
263 views

How do I get the http endpoint to work for cardano-wallet?

Using a DigitalOcean Ubuntu droplet, I have: successfully installed cardano-node according to: https://developers.cardano.org/docs/get-started/installing-cardano-node/ cardano-cli 1.32.1 - linux-...
2 votes
1 answer
629 views

get wallet skey/vkey from mnemonic

I am trying to get the skey, vkey and address of the first payment address in a wallet I created in cardano-wallet. I need them because I would like to make transactions with cardano-cli on the same ...
3 votes
1 answer
137 views

Transaction fee

Doesn't the transaction cost increase with the increase of Cardano price? Is there a way to keep the transaction cost constant while raising the price of the Cardano token?
0 votes
2 answers
81 views

cardano-cli transaction build-raw error

I've minted 1,000,000,000,000,000 SLIME coin following this guide https://developers.cardano.org/docs/native-tokens/minting/#prerequisites but I'm getting an error at the "Sending tokens to a ...
  • 167
1 vote
1 answer
105 views

About building a transaction using the cli

I've been following this guide https://developers.cardano.org/docs/native-tokens/minting to mint some native tokens but the process of sending native tokens to an address that has multiple UTXOs when ...
  • 167
1 vote
2 answers
132 views

How to run a Cardano relay instead of a full node?

I want to start a relay node not run the full cardano node. There doesn't seem to be any tutorials for starting a relay node. Anyone know how can i just a lightweight relay node so that I can run ...
0 votes
2 answers
196 views

How to check the NFT timelock status?

How can I check the NFT timelock status, besides pool.pm?
1 vote
1 answer
483 views

How to stop cardano-node from the CLI?

What is the command or process to gracefully stop a cardano-node instance from the CLI?
3 votes
3 answers
489 views

Tx signed by Nami Wallet returning InvalidWitnessesUTXOW in CLI

I am attempting to sign and submit a simple "always succeeds" transaction body built by the CLI and signed with nami wallet. cardano-cli transaction build-raw \ --alonzo-era \ --fee 200000 \ ...
1 vote
2 answers
180 views

Best practice for updating cardano-node/cli?

I'm using a Linux VM on AWS and followed this guide: https://developers.cardano.org/docs/get-started/installing-cardano-node to install everything. What's the best way to go about updating the node ...
  • 167
0 votes
1 answer
365 views

cardano-cli transaction submit example with native assets

I'm having trouble using the cardano-cli to send one tx. I have one address with 9 ADA and 10,000,000 each of two tokens with the same minting policy and I want to send 5,000,000 ADA of each token to ...
  • 167
0 votes
2 answers
328 views

Why does 'cardano-cli query utxo --address $address --mainnet' return an empty list?

I'm trying to list all the utxo's at my Yoroi wallet address. I set the variable 'address' as my receiving address but when I run the command, cardano-cli query utxo --address $address --mainnet, ...
  • 167
0 votes
0 answers
119 views

hi, can't register timelock nft. Tested on pool.pm "Not Found

bother again. try to create nft, now can go up blockchain is now available, but can't register timelock nft. Tested on pool.pm "Not Found", I don't know What more needs to be done? Thank. ...

1 2 3
4
5
7