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
21 views

How to obtain signature from the cborhex? If i have simple-tx.signed

{ "type": "Witnessed Tx BabbageEra", "description": "Ledger Cddl Format", "cborHex": "84a3008182582088921ae2626e" } This is ...
Faizan Shaikh's user avatar
0 votes
0 answers
14 views

Decompiling Plutus Core Binary Encoding

I'm working with Plutus Core smart contracts, and I have the binary encoding of a Plutus Core script. I'm curious to explore the higher-level Plutus code or any human-readable representation of the ...
Salih Karadag's user avatar
0 votes
1 answer
16 views

I want to mint an NFT using a JSON file using plu-ts, but I dont know how and where to start

I want to mint an NFT using a JSON file using plu-ts, but I don't know how and where to start. Do I need to create a Node? OR Do I need to write it in Haskel? I have read and performed everything from ...
Talha Sajid Chaudhary's user avatar
1 vote
1 answer
85 views

Cannot find utxo using cardano-cli on docker cardano-node preprod

I am trying to follow the project based learning program but get stucked here: https://plutuspbl.io/modules/102/1023 I started the docker container for cardano-node (https://hub.docker.com/r/...
Lars's user avatar
  • 63
0 votes
0 answers
17 views

Unable to interact with cardano blockchain using cardano-wallet-js

My node is running on 6000 port. And cardano-wallet is running on 6002 port. ubuntu@ip-172-31-44-6:~/cardano/testnet$ netstat -tuln | grep 6000 tcp 0 0 0.0.0.0:6000 0.0.0.0:* ...
samir jumade's user avatar
0 votes
0 answers
16 views

How to query cardano blockchain related data like createwallet, getnewaddress, getbalance , sendtoaddress

I have done cardano node setup and sync it 100% And also install an cardano wallet using CLI. Now I want to interact with cardano using node js, can someone please tell me how we can do basic ...
samir jumade's user avatar
0 votes
0 answers
12 views

(Failed to build scrypt-0.5.0. The failure occurred during the configure step.)

Getting erro rwhile doing "cable build all". OS Your OS: Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Cable version : cabal-install version 3.6.2.0 compiled using ...
samir jumade's user avatar
0 votes
1 answer
62 views

get all transactions info of Cardano by using third party 'Blockfrost' with only 1 time call api?

I'm a noob about Cardano, i wonder if be able to get all transactions info of cardano by passing an specific address. For example i have an specific address is: ...
NamVu's user avatar
  • 1
0 votes
2 answers
66 views

Validator always accepts and Mints (but it shouldn't)

Hey I have this simple stupid validator: validator { fn nft(datum: Datum, _redeemer: Void, context: ScriptContext) { let ScriptContext { transaction, purpose } = context when purpose is { ...
user9852's user avatar
0 votes
1 answer
21 views

Retire a stake pool and get the rewards and pledge before

I had once the knowledge on how to operate a stake pool, but I hadn't had time to care about it, and now I want to end it. Now I still have some ADA staked but also as the pool deposit thingy (forgot ...
Leel's user avatar
  • 1
1 vote
1 answer
54 views

How to create wallets without a full node (cardano light client)

The only useful resource I could find is the .NET package cardanosharp-wallet which is not ideal since I don't know .NET. Are there alternatives in other languages, for local wallet generation (also ...
kopeboy's user avatar
  • 21
2 votes
1 answer
64 views

Unable to connect wallet to node on mainnet

I have been following the instructions here: https://developers.cardano.org/docs/integrate-cardano/creating-wallet-faucet I have the node up and running and get the following output from cardano-cli ...
user3327330's user avatar
0 votes
1 answer
58 views

How to monitor Cardano Minswap transactions using Blockfrost?

I was trying to monitor the swap actions like who swapped which A to B Token, as real-time from Minswap platform. I was using Blockfrost webhook for this, but I fetched lots of transactions including ...
Firing Dev's user avatar
0 votes
1 answer
33 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.
Firing Dev's user avatar
0 votes
0 answers
25 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 ...
Lilit's user avatar
  • 1
1 vote
1 answer
51 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 ...
a_juggler's user avatar
0 votes
1 answer
68 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 ...
Larry's user avatar
  • 1
1 vote
0 answers
20 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 ...
Carl's user avatar
  • 11
2 votes
1 answer
21 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 ...
Anton Begas's user avatar
1 vote
0 answers
10 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(...
SomethingCool's user avatar
0 votes
1 answer
55 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 ...
wmoco_6725's user avatar
0 votes
2 answers
60 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 ...
a_juggler's user avatar
0 votes
0 answers
43 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 ...
King Leon's user avatar
  • 136
0 votes
1 answer
155 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 (...
duaa azhar's user avatar
0 votes
1 answer
27 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, ...
Robert Oschler's user avatar
0 votes
1 answer
43 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.
Otee's user avatar
  • 1
0 votes
1 answer
35 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-...
Lovely's user avatar
  • 101
0 votes
0 answers
68 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. ...
pumpkin pie's user avatar
0 votes
2 answers
71 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 ...
duaa azhar's user avatar
1 vote
1 answer
168 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. ...
duaa azhar's user avatar
0 votes
2 answers
220 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 ...
LKBH Pools's user avatar
0 votes
0 answers
69 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 ...
serx's user avatar
  • 178
0 votes
3 answers
143 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 (...
duaa azhar's user avatar
0 votes
1 answer
79 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 ...
user3755529's user avatar
0 votes
1 answer
163 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 ...
serx's user avatar
  • 178
0 votes
1 answer
34 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 ...
Adam's user avatar
  • 343
0 votes
1 answer
30 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://...
duaa azhar's user avatar
0 votes
2 answers
155 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-...
Srinath's user avatar
0 votes
1 answer
109 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, ...
MilanNz's user avatar
  • 101
0 votes
1 answer
38 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 ...
cdt's user avatar
  • 121
0 votes
2 answers
855 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 ...
Adam gil's user avatar
1 vote
1 answer
94 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 ...
Ask-Plutus-Bot's user avatar
0 votes
0 answers
22 views

traceIfFalse not showing in cardano-cli output

I have a minting policy: mkNftValidator :: NftParams -> BuiltinData -> ScriptContext -> Bool mkNftValidator _ _ _ = (traceIfFalse "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ...
serx's user avatar
  • 178
0 votes
1 answer
54 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....
tyvan266's user avatar
1 vote
1 answer
57 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 ...
XiTouch's user avatar
  • 349
0 votes
2 answers
24 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-...
Raphaël Etang-Salé's user avatar
0 votes
2 answers
50 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 ?
Hud's user avatar
  • 433
0 votes
1 answer
90 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 ...
David Ce's user avatar
2 votes
1 answer
82 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 ...
user7854's user avatar
0 votes
1 answer
44 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?...
wmoco_6725's user avatar

1
2 3 4 5
7