Questions tagged [cardano-cli]

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

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

Stuck in cardano node

Running any cardano-cli command returns this error,Cardano-node is already running in another terminal,CARDANO_NODE_SOCKET_PATH is set in environment variable. Confirmed through echo. It leads to node....
user avatar
0 votes
1 answer
29 views

Is there a Python Version of Cardano Node-CLI JavaScript Library?

I know JS, but I have other code written in python that I want to use in conjunction with the node. Is there a Python 3.xxxx SDK/Library/Module that will do everything the JS can? Heres what is ...
user avatar
1 vote
2 answers
23 views

How To Optimise Daedalus Syncing?

So I started using my Daedalus Node as the node (instead of the direct build) for the cardano-cli, but it always takes forever to sync and I am wondering if I misconfigured something or if there's a ...
user avatar
2 votes
2 answers
44 views

How to get CLI access from Deadules Installation?

I have a Daedalus wallet running which is a full node so in theory, I should get all the CLI functionality from that one install, how do I access it?
user avatar
2 votes
1 answer
31 views

Using carano-cli How Do I send All of the ADA from a wallet?

I am trying to build a transaction with a wallet that has 6 ADA. The transaction fee is 165721 lovelaces. So 6000000 - 165721 = 5827019 lovelaces. But when i try to send 5827019 lovelaces I get an ...
user avatar
  • 21
0 votes
2 answers
13 views

Cardano Wallet Server Invalid Argument

I'm trying to run cardano wallet server but it keeps me giving an error and have no idea what's wrong with it. This is the command I run: cardano-wallet serve \ --port 1919 \ --node-...
user avatar
2 votes
1 answer
97 views

cardano-cli is marked as depricated. Is there a replacement or is that what we are supposed to use?

I see that the cardano-cli is marked as deprecated. Can someone tell me what is being used in it's place? If there is no replacement right now then I would like to know that please. Just trying to ...
user avatar
2 votes
1 answer
72 views

Get transaction unspent output value

I have payment signing key and staking signing key of my wallet. How can I get transaction unspent outputs with cardano-cli/cardano-serialization-lib/pycardano. I expect to get string like this ...
user avatar
  • 21
0 votes
1 answer
35 views

Is it possible for clients to mint my nft collection on their own?

For eth: Create smart contract minter Deploy that contract into the blockchain Make API calls on that deployed contract thru your website Client will click mint button -> API mint interaction to ...
user avatar
1 vote
2 answers
28 views

Where can I find the max block size in the protocol parameters?

I know the actual block size is 88KB but I can't find this value in the protocol parameters. I have ran this command in Testnet and got the following: $ cardano-cli query protocol-parameters --testnet-...
user avatar
1 vote
0 answers
28 views

transaction build Error: Non-Ada assets are unbalanced (sending native asset to smart contract via cardano-cli 1.34.1)

I have a wallet with the following two UTXOs: a2e38168473ae7f42e86ac274733004b36a1e119b665a5dae9a799e3a6a9c47a#1 Contains pure ADA balance ...
user avatar
  • 111
1 vote
2 answers
51 views

Building a transaction on cardano-cli/api without running node?

Is there a way to build and sign transactions with the cardano-cli/api without running a node? I am trying to construct a transaction using the cli or api and submit it using blockfrost. It throws an ...
user avatar
1 vote
1 answer
30 views

Haskell + Blockfrost toolchain?

I am looking for a Haskell alternative to the cardano-serialization-lib, which can work in conjunction with blockfrost-haskell. So ideally, it should be able to easily create wallet keys, transactions,...
user avatar
0 votes
1 answer
30 views

Cardano CLI - Cardano Transaction Build for NFT from Guide Docs

As per title, want to ask about cardano-cli transaction build for NFT, that I read on this guide or maybe this one On near the last step, where it says about Minimum required UTxO - I wonder, if we ...
user avatar
  • 45
1 vote
1 answer
60 views

Query assets with cardano-cli

So as the title says, I really need some help to query all the assets from a wallet address with the help of the cardano-cli. So far I've got the cardano-node running with docker.
user avatar
1 vote
1 answer
32 views

How to convert from cborHex to VRFKeyHash using both cardanocli-js and cardano-serialization-lib?

I'm using cardanocli-js to create both VRF files for running a stake pool: vrf.vkey and vrf.skey: const vrfKeyAccount = cardanocliJs.nodeKeyGenVRF("Totem"); Then I want to read the vrf.vkey ...
user avatar
3 votes
1 answer
33 views

Check status of past transaction using cli

How can you check the status of a past transaction given the TxHash (i.e. pending, failed, or successful) and also the assurance level / number of confirmations and block number? (like on Cardanoscan ...
user avatar
  • 135
1 vote
3 answers
66 views

Where to locate the path to node.socket in order to set CARDANO_NODE_SOCKET_PATH env variable?

I would like to check the sync progress of the cardano node from within a cardano-node-ogmios docker container that I installed. When I open the docker CLI and I run the command cardano-cli query tip -...
user avatar
  • 88
1 vote
2 answers
68 views

How can I convert from cborHex to VRFKeyHash type from the Cardano Serialization Lib?

I need to generate a VRF Key Hash in this format: vrf_vk13hg4gg5fg67399nuz2ldk89kqw9h379cfgtkpvd83ra89f908kcqv2cw3j When I generate it using cardano-cli, I get this file: { "type": "...
user avatar
1 vote
1 answer
154 views

Cardano - cardano-cli query utxo - get all utxo of an address

As the title, I've been wondering if cardano-cli has an ability to get all utxo based on given address. I already tried cardano-cli query utxo --address $(cat /path/to/addr) --testnet-magic 1097911063 ...
user avatar
  • 45
2 votes
0 answers
33 views

File 'blockfrost-mainnet.key' specified in the --blockfrost-token-file can't be read

I am running this command to run the Cardano light node using cardano-wallet cli docker pull inputoutput/cardano-wallet:2022.4.27 serve --light --mainnet --blockfrost-token-file blockfrost-mainnet.key ...
user avatar
2 votes
0 answers
80 views

How to link custom API endpoints with Plutus script? (Without Blockfrost or PAB)

I have a few questions, which I think might interest a lot of folks here. Me and my team we are developing an app on Cardano and we want to avoid using PAB or Blockfrost for our infrastructure. We are ...
user avatar
2 votes
1 answer
42 views

How to determine the order of transaction input (in the order of the TxIds)?

If I have the following transaction: cardano-cli transaction build \ --tx-in dd3dbc1cbd4627da3b74fae8c7bcc3f05f3b41ec36feb33f81cf885390b634d6#0 \ --tx-in ...
user avatar
  • 369
0 votes
2 answers
25 views

Best ways to create UTxO snapshots at epoch boundary

I would like to create snapshots of the set of UTxOs at the end of each epoch for a particular address. What would be best ways to do something like that? Constraints/ Ideas The current tools I am ...
user avatar
1 vote
2 answers
46 views

How to generate stake registration certificate from extended stake address verification key using cardano-cli

Is there a way for cardano-cli to generate stake registration certificate using the extended stake address verification key (stake_xvk) that was generated from cardano-address CLI? Steps to generate ...
user avatar
  • 45
0 votes
0 answers
18 views

How to fix MuxUnknownMiniProtocol error

When running cardano-cli as a process from within my app, I encounter this error message from cardano-cli. This error persists whenever I pass a parameter to cardano-cli that contains "--mainnet&...
user avatar
0 votes
1 answer
146 views

How to Get Started with Cardano Native Script

What resources should you use to learn native script and in what order should you use them in?
user avatar
1 vote
2 answers
56 views

cardano-wallet vs cardano-cli for an application

I'm creating an application and was trying to figure out whether to use cardano-wallet or cardano-cli for my product. I like the fact cardano-wallet has endpoints & is very easy to setup, although ...
user avatar
0 votes
2 answers
60 views

Is it possible to generate all stake pool files and keys using Cardano Serialization Lib?

To successfully create and register a stake pool, we are require to generate: Payment keys and address Stake keys and address Stake pool cold key Stake pool hot key Stake pool VRF key Stake pool ...
user avatar
0 votes
2 answers
67 views

find holders from same policy but different asset name

I have a policy ID with hundreds of NFT with different asset name (for eg TTS19, TTS20, etc) what is the easiest way to find all addresses/wallets which have this NFT(holders)? I tried with koios and ...
user avatar
  • 303
0 votes
1 answer
65 views

Plutus transaction error PT5

I am building a transaction where I use the following function to make my datum and redeemer, writeJSON :: PlutusTx.ToData a => FilePath -> a -> IO () writeJSON file = LBS.writeFile file . ...
user avatar
  • 896
4 votes
1 answer
142 views

How do I make a Sidechain

I want to make a side chain on Cardano to so something that the protocol says should be done on a sidechain, but how do I make one? Can I use Plutus or am I limited to the CLI?
user avatar
0 votes
1 answer
58 views

Is it possible to get root key from CLI generated private key?

Objective To load a private key generated by cardano-cli into cardano-serialization lib Details Using cardano-cli cardano-cli address key-gen, we get this: { "type": "...
user avatar
  • 103
0 votes
1 answer
23 views

Is it possible to specify a Windows named pipe for Daedalus?

I'm on a Windows machine and would like to use cardano-cli to interact with the Cardano network. I have Daedalus running which is running an instance of cardano-node. In order for the CLI to find the ...
user avatar
0 votes
0 answers
22 views

I got error while building package plutus-core-0.1.0.0 when installing cardano-wallet using stack

I'm using MacOS Monterey with M1 chip and trying to install cardano-wallet. I've already installed pre-requisites cardano-node and cardano-cli no problem, and already synced with the testnet. I was ...
user avatar
2 votes
1 answer
117 views

How to delegate to a stake pool using CLI?

Using any graphical based wallet it's trivial to delegate to a stake pool. How do you accomplish this same task using only CLI tools (e.g. cardano-cli)?
user avatar
  • 21
2 votes
1 answer
42 views

What can certificate scripts do?

While looking through the options of the cardano-cli transaction build options I saw the options, --certificate-file CERTIFICATEFILE Filepath of the certificate. This ...
user avatar
  • 896
2 votes
2 answers
97 views

Plutus datum and redeemer on cardano-cli

I'm trying to deploy a smart contract on cardano-cli after its implementation on plutus playground. Imagine that I have: data TradeDatum = StartBid | Bid TradeDetails | Offer TradeDetails ...
user avatar
  • 69
1 vote
1 answer
30 views

cardano-cli transaction build script (NFT Contract Address Creation)

I am trying to send a market.plutus file to test a NFT marketplace to mainnet. I am building the transaction here like this: cardano-cli transaction build --alonzo-era --mainnet --tx-in $UTxO-...
user avatar
1 vote
1 answer
26 views

transaction sign from 2 different wallet to unknown wallet

i have 2 wallet in my node, each one hold different Asset and ADA. i want to sign a transaction with "cardano-cli transaction sign" command, using 2 times the "--signing-key-file " ...
user avatar
  • 303
0 votes
0 answers
61 views

How to see the local node's mempool?

I'm building a few applications and am running into scaling issues. Occasionally a lot of transactions need to be submitted, sometimes even chained, but generally it's simply splitting an incoming ...
user avatar
0 votes
1 answer
100 views

CARDANO_NODE_SOCKET_PATH Error

I am trying to run my own cardano node and use cli wallets. When I run this command: cardano-cli query tip --mainnet I am getting the following error: Command failed: query tip Error: Error while ...
user avatar
0 votes
0 answers
25 views

Cardano Wallet - Using existing wallet and/or address generated from cardano-cli

I'm kinda new in blockchain / crypto world (also Cardano world) and still learning things around. Already setup cardano-node with cardano-wallets properly, both working good with testnet, by following ...
user avatar
  • 45
1 vote
0 answers
37 views

Get UTXO or tnx hash from nami Collateral

I am using the function cardano.getCollateral() in the nami wallet library which gives me the utxo of a collateral, lets say it is: "...
user avatar
2 votes
2 answers
35 views

Is the daedalus wallet seed phrase caps sensitive?

I noticed my written down recovery phrase you can't really tell between caps and not caps and I have specifically drawn an arrow to "no caps" on a B on one sheet and some of the words that ...
user avatar
  • 21
1 vote
2 answers
94 views

How to install cardano-node and cardano-cli on Mac M1

I tried to install cardano-cli and cardano-node using this documentation and stuck on below step mkdir -p $HOME/.local/bin cp -p "$(./scripts/bin-path.sh cardano-node)" $HOME/.local/bin/ cp -...
user avatar
  • 11
0 votes
0 answers
38 views

Error signing transaction file in CLI, how can I fix it?

The error goes like this: "Command failed: transaction sign Error: tx.raw: TextEnvelope type error: Expected one of: TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, Actual: ...
user avatar
0 votes
0 answers
83 views

Get witness set from serialization library and submit it with cardano-cli

By creating an API that builds the transaction with cardano-cli and sends the CBOR to the front-end to sign it, I was able to reduce the resource consumption from the browser and keep every thing in ...
user avatar
  • 753
0 votes
1 answer
103 views

Cardano-cli error: "Invalid argument `"type":'"

I'm new and I'm following cardano developers tutorial to create NFT. I arrived at some modified code for what I wanted to do. But get this "Invalid argument `"type":'" error. When ...
user avatar
  • 1
0 votes
1 answer
11 views

How to apply show to TxOutAnyEra datatype from cardano-cli sources?

Example: testTxOut :: IO () testTxOut = do let testInput = "addr_test1vqwvs32x3wg5ea2l5tr7t93hpta8arwxllr4ey96dhl5d7sytaf9n + 1000000 lovelace" case (OutBuilder.getTxOutFrom ...
user avatar

1
2 3 4 5