Questions tagged [cardano-cli]
The official command line interface to interact with a Cardano node.
319
questions
0
votes
1
answer
19
views
Fetch rich cardano addresses?
I am building some dapps on Cardano network.
What I want to do is to
fetch cardano addresses whose balances are more than 1M ada.
Can anybody help me with this?
Thanks.
0
votes
0
answers
14
views
Cabal build all fail on M1
I want to add Cardano to Express project and followed the steps in documentation: https://developers.cardano.org/docs/get-started/installing-cardano-node/#macos. Unfortunately, “cabal build all” step ...
1
vote
1
answer
47
views
Inconsistent script addresses built with cardano-cli vs. PyCardano
Given the CBOR representation of a plutus validator, its script address can be easily generated with a variety of tools, e.g. cardano-cli and PyCardano. However, both tools generate different script ...
0
votes
1
answer
32
views
Failed to build cardano-crypto-wrapper
When I run "cabal build all" I get the error message "Failed to build cardano-crypto-wrapper-1.5.1.0". See below for log file. Any assistance would be appreciated. I was so close ...
1
vote
0
answers
12
views
How to get data based on Block-Height?
in EVM we can call any read-only function and pass it a block_height we would want the data to be returned on.
for example if I wanted a pool's liquidity at block height 999999, i would call that ...
2
votes
1
answer
16
views
Expecting one more argument to ‘RedeemerType’
My code is here
marketConstraints :: Market -> TxConstraints (RedeemerType -> ScriptContext -> Bool) (DatumType, ())
marketConstraints market = mustValidateIn (to $ scriptAddress market)
I ...
1
vote
0
answers
6
views
Can I communicate with my local test net via REST/WebAPI
I am using this https://github.com/woofpool/cardano-private-testnet-setup to run my local testnet.
I was using this
const CardanocliJs = require('cardanocli-js');
const cardano = new CardanocliJs(...
0
votes
1
answer
35
views
Cardano-cli minting gives FeeTooSmallUTxO error when no collateral
For minting some tokens I use this transaction:
cardano-cli transaction build
--testnet-magic 2
--tx-in-collateral 44ed21bc50eecc24e892a5bad4a98f2187b66d1f5074db22763cbc69fb5910b6#1
--tx-in ...
0
votes
2
answers
52
views
Unable to deploy Plutus NFT Minting Policy parametrized by TxOutRef using cardano-cli
UPDATE:
I'm making progress. It is apparent the TxOutRef stored on-chain has some extra-structure. For evidence I "printed" the TxOutRef's of the 'utxo' hard-wired in my minting policy and ...
0
votes
0
answers
24
views
Is there a way to get cardano-node version in Prometheus metrics?
Like the title says, does anyone here know of the proper way to go about adding cardano-node version to the cardano_node_metrics being exported by Prometheus to Grafana? I would like to add this ...
0
votes
1
answer
73
views
How to resolve this "(FromAlonzoUtxoFail (UtxosFailure (ValidationTagMismatch (IsValid True)" transaction submission error on mesh library
I am getting this error on transaction submission.
""transaction submit error ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (...
0
votes
1
answer
24
views
Unexpected error coming from Helios library during connection to preview TestNet verification?
My Eternl wallet now has an account that is targeted towards the preview TestNet. I did activate the account for connecting to Cardano dApps. I am able to connect to my wallet from Picoswap. However, ...
0
votes
1
answer
20
views
Transfering NFT from CLI to your Nami wallet
I created an NFT on preprod via my cardano-cli but I have issues sending it to my Nami wallet. Can anyone point me to the best documentation that covers this. Thank You.
0
votes
1
answer
18
views
What is different nami wallet signing and payment.skey signing?
I built transaction at nodejs by using cardano-cli.
cardano-cli transaction build \
--alonzo-era \
--testnet-magic 1 \
--tx-in dbf7f56f844cc4b85daccb62bedf4eeff0a84cb060f0f79b206c7f087b3f0ba1#0 \
--tx-...
0
votes
0
answers
53
views
cardano preprod wallet balance is still zero after full node sync
I'm following the instructions laid out in this article.
https://developers.cardano.org/docs/get-started/cardano-wallet-js
I first ran cardano node and wallet using docker-compose on preprod network. ...
0
votes
2
answers
65
views
How to generate CBOR hex of plutus smart contract
How can i generate the CBOR hex of a plutus smart contract. Does it requires to generate CBOR of onchain code only or both onchain and offchain?
Also if have a smart contract which requires parameters ...
1
vote
1
answer
122
views
How to deploy the Plutus smart contract
I am following Plutus-pioneer-program to learn smart contract development in Cardano. I have tried the onchain and offchain code, compiled and tested in Plutus playground and also in emulator trace. ...
0
votes
2
answers
108
views
how to use the transaction created using. cardano cli to be signed by a wallet in frontend
If we create a transaction body in the backend using cardano-cli for example, and only for signing the transaction would like to get the frontend wallet to sign it, how is this done in the best ...
0
votes
0
answers
51
views
cardano-cli generated CBOR to serialization lib [BABBAGE]
I am creating a transaction using cardano-cli. After building, I sign it with some random private key, and return signed transaction CBOR to UI.
UI takes the CBOR, removes my random witness which ...
0
votes
3
answers
105
views
how to resolve this transaction submission error of MintToken with Mesh
I am Facing this error while transaction submission.
""transaction submit error ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (FromAlonzoUtxowFail (...
0
votes
1
answer
44
views
ScriptWitnessNotValidatingUTXOW - Transaction Error While Minting NFT With Native Script - Before Slot Instruction Not Working
I am trying to mint an NFT for the zeroOneGame exercise from gimbalabs on the pre-production testnet (babbage-era) but I incur in an error and I can't see what I am doing wrong.
Here are the steps ...
0
votes
1
answer
109
views
cardano-cli transaction with inline datum
I already have utxos with inline datum sitting at a wallet address (not in a smart contract address):
now I want to use this utxo in another transaction, in order to inspect it's datum, without ...
0
votes
1
answer
28
views
Submit transactions to the blockchain in Plutus
Currently my workflow is like this:
write a validator script in Plutus
test the script in by creating functions/endpoints to submit transactions to Plutus.Trace (Emulator)
if the test goes well, I ...
0
votes
1
answer
26
views
Not Able to watch my Cardano faucets when i query the node
I am using following command to query node.
./cardano-cli query utxo --address $(cat payment.addr) --testnet-magic 1097911063
Getting the Faucets in preview testnet by the following site
https://...
0
votes
2
answers
143
views
Error - Building Cardano Node 1.35.4 in Ubuntu Linux 22.04
When building cardano-node-1.35.4 using
git checkout tags/1.35.4
cabal update
cabal build all
I get the following error
cabal: Failed to build tx-generator-2.2 (which is required by
test:tx-...
0
votes
1
answer
55
views
What is the best IPFS provider for Cardano NFT that uses CidV0?
I am relatively new to the IPFS and NFT world. I am interested in finding the best IPFS provider for storing NFT files that are later used for minting a Cardano NFT. Currently, I am using Nft.Storage, ...
0
votes
1
answer
35
views
Key derivation are unclear
I watch this video on Key Derivation process (https://www.youtube.com/watch?v=4tSQBK75CPU&t=722s). Basically, from mnemonic phrase --> create root key --> create public addresses
Then, I see ...
0
votes
2
answers
408
views
How does Cardano Halving work?
Does Cardano Halving work similar to Bitcoin Halving? The next Bitcoin halving is projected to take place in March 2024, will Cardano Halving happen the same year?
The Cardano price prediction for ...
1
vote
1
answer
65
views
How to use reward withdrawing via cardano-cli?
Has anyone played around or stumbled upon tutorial examples on how to use reward withdrawing via cardano-cli? I want to study the commands related with "withdraw" keyword. I have not seen ...
0
votes
0
answers
19
views
traceIfFalse not showing in cardano-cli output
I have a minting policy:
mkNftValidator :: NftParams -> BuiltinData -> ScriptContext -> Bool
mkNftValidator _ _ _ = (traceIfFalse "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ...
0
votes
1
answer
30
views
building cardano-node and cardano-cli on nix
I'm following the instructions here:
https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md/
But I'm not sure how to get it to compile the 1.35....
1
vote
1
answer
40
views
How is protocol.json used when minting NFTs?
I'm tinkering with creating NFTs via the cardano-cli. The various "how-to" pages I have found all have me download protocol.json using
cardano-cli query protocol-parameters \
--testnet-magic ...
0
votes
2
answers
22
views
Get back my funds after a mistaken self transaction on Cardano
I accidentally made a self-transaction with my account and would like to know if I can get it back.
As you can see my account here, and this is my self-transaction sent 2 weeks ago.
I'm using cardano-...
0
votes
2
answers
39
views
pay collateral with cardano-cli
Followed the guide here to build preprod testnet wallets, was wondering however I can create the collateral utxo with cardano-cli ?
0
votes
1
answer
59
views
Cardano-Wallet register a wallet generated by Cardano-cli
I created a Wallet with Cardano-Cli following this instructions:
cardano-cli address key-gen --verification-key-file vkf.payment --signing-key-file skf.payment
After that I derived the address of ...
0
votes
0
answers
8
views
how to safeguard custodial keys for my api using kms or other services? cardanocli-js
cli js in one of my project it requires me to store verification key file and signing key file inside a folder called priv in order to use the wallet I am wondering it is unsafe to store those keys in ...
0
votes
0
answers
20
views
How to properly interpret Bytestrings (TxMetadata)
In the TxMetadata caradano wallet spec there is this:
{ "bytes": HEX-STRING }
The value must be base16-encoded (a hex string).
So, given this from a transaction:
"fields": [
{
&...
2
votes
1
answer
56
views
Call Martify Smart contract by cardano-cli
I call the martify smart contract by cardano-cli but I've seen the error Command failed: transaction build Error: The following scripts have execution failures:
the script for transaction input 1 (in ...
0
votes
1
answer
42
views
Plutus: multiple-utxo withdraw fails, single-utxo withdraw succeeds
A beneficiary tries to withdraw the maximum amount from 2 utxo's of a smart contract in one transaction but that fails. If the beneficiary does it in two steps it succeeds.
Why does the first one fail?...
1
vote
0
answers
36
views
Submit transaction with cardano-cli which got built and signed with nodejs-cardano-wasm - formatting error
I am trying to submit a transaction via cardano-cli which got built and signed by a nodejs app using cardano-wasm. I tried the following approach:
The result I get from the cardano-cli execution:
...
2
votes
1
answer
43
views
Docker - Cant access cardano-cli from other container than cardano-node
I have the following problem:
I am running several containers via docker-compose consisting of a cardano-node-container, cardano-db-sync-container (including a postgres-container) AND another ...
1
vote
3
answers
37
views
Daedalus for testnets and why not use Mainnet as test environment
Last year I set up a Cardano testnet as part of the Plutus Pioneers program. I'm now using my Daedalus installation to experiment with the cardano-cli, which I am finding much easier, with the added ...
0
votes
1
answer
20
views
Transaction error from staking account on cardano
I'm trying to get back my funds from my stake.addr from Cardano but I have this error message:
Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ...
0
votes
1
answer
26
views
How to get my stacking funds after to deregistrate on Ada
after creating my pool for 2 weeks on Cardano, I would like to take the funds back to finish my tests.
But after the deregistration, I still don't see my funds in my payment address.
I was wondering ...
7
votes
0
answers
90
views
Developers are having dismal experience building on Cardano [closed]
When developers get into plutus playground, 10 out pf 10 expect it to work like remix, an IDE. You put a code in. You compile and deploy. And then start interacting with the dApp. All in the same ...
1
vote
1
answer
72
views
Is cardano-cli 1.35.3's calculate-min-required-utxo underestimating?
For minting a token, I compute the minimum amount as follows:
cardano-cli transaction calculate-min-required-utxo
--babbage-era
--protocol-params-file ...
0
votes
0
answers
17
views
Error Minting Native Asset: " unexpected '.', expecting space, letter or digit, white space, "+" or end of input "
I am writing a script to automate minting native assets. Everything works well, up until this point:
echo "Building transaction..."
cardano-cli transaction build \
--babbage-era \...
0
votes
1
answer
42
views
Can't register my stake pool on Cardano (StakeDelegationImpossibleDELEG)
I'm following the official process here on the Cardano tutorial.
Firstly, I have to show you I already have the fund here:
// cardano-cli query utxo --address $(cat payment.addr) --mainnet
...
10
votes
3
answers
225
views
How to properly start a new Plutus project, from scratch
I'm from ETH's ecosystem and recently just decided to get into Cardano development, specifically Plutus dev work thanks to Demeter.Run, and after going through the Plutus starters on there, I noticed ...
0
votes
1
answer
59
views
Can't submit transaction on Ada on Babbage era. BabbageOutputTooSmallUTxO error
I'm following the official documentation to send a transaction but I'm still getting the same issue even after to double checked my protocol.json. Based on the protocol, it's supposed to be "...