Srdjan - cardano.blue
  • Member for 8 months
  • Last seen this week
Nami wallet showing getBalance returning a NaN
6 votes

getBalance function returns cbor encoded hex string, so you should actually decode it. Easiest way to do it is by using Cardano Serialization Lib. After you've downloaded the library you can decoded ...

View answer
Installing Cardano-node on an M1 Mac
Accepted answer
6 votes

I also do have Macbook with M1 chip and I use precompiled binaries that ship with Daedalus. It will save you a lot of trouble unless you really want to build it from source. After you've installed ...

View answer
Signing a Tx with Nami wallet
Accepted answer
2 votes

If you want to load transaction to cardano-serialization-lib generated by cardano-cli you'd first have to sign it with some "dummy" signature keys and then take cbor produced by the cardano-...

View answer
How many servers do I need to run cardano-wallet?
Accepted answer
2 votes

You can run everything on one server. You can run cardano-node in the background and use cardano-wallet or cardano-cli from your application (just export the CARDANO_NODE_SOCKET_PATH environment ...

View answer
Error submiting Smart Contract with Nami, What does this error means?
Accepted answer
1 votes

Yup, it seems like the validation for your script fails, usually, when that happens you'll get this error ValidationTagMismatch (IsValid True) (and you got it). There is probably something wrong with ...

View answer
How to verify data signed with nami wallet in a node backend?
1 votes

I've created javascript package that could help you with this. The examples in the README should show you how to sign data on frontend and validate the signature on the backend.

View answer
NFT Royalties before smart contracts
1 votes

Currently there is a CIP open that proposes how the royalties should be done on Cardano.

View answer
Errors while submitting txn from cardano-serialization-lib
1 votes

how you've been building out your transaction? Have you tried using TransactionBuilder? It seems like you haven't signed your transaction before you tried to send it to the network. Here's a link to ...

View answer
Minting NFTs via cardano-cli: How to mint several NFTs consecutively?
1 votes

You should wait until transaction is finished and UTxO's are updated in your wallet. A way to do it is to create a script that will query UTxO's for your wallet and once UTxO's are changed you run ...

View answer
Why do some addresses show zero transactions even though they had transactions?
Accepted answer
1 votes

You're querying UTxOs and not transactions. In order to explore list of transactions you're best off using explorer for testnet or mainnet. If you you need to explore transactions from some app or ...

View answer
Minting NFT automatically based on transaction
1 votes

Code for minting Spacebudz is actually open-source, so you could probably use that with a bit of tweaking. As far as I know this code should basically mint tokens in order for every new transaction ...

View answer
How many transactions can cardano-wallet perform per minute?
Accepted answer
1 votes

Well it really depends on how much UTxO's you have currently in your wallet. If you use one UTxO per transaction then you can send out multiple transactions in parallel. Also you can increase output ...

View answer
Cardan Hobby Project - Concept question
1 votes

I'm not sure if you will query blockfrost each time someone lands on the website or once per day? In case you start running into quota you could also run your own cardano-graphql instance to query ...

View answer
How to pass TxOutDatumNone when building a script transaction with cardano-cli
0 votes

Usually when you want to pass empty datum to the script you'd pass an empty list like so --tx-in-datum-value []

View answer
Tx signed by Nami Wallet returning InvalidWitnessesUTXOW in CLI
0 votes

I made a post on this, maybe this can help you. Basically you'd need to first sign transaction with cli, load transaction to cardano-serialization-lib, clear vkeys from witness-set, sign transaction ...

View answer
Plutus Playground vs Plutus Application Backend vs Plutus Application Framework
0 votes

Plutus Application Backend is used to interact with smart contracts built using Plutus (Plutus Framework). Plutus Playground is a tool used to compile smart contracts built with Plutus and simulate ...

View answer
How to get UTxO transaction id using cardano-serialization-lib
Accepted answer
0 votes

In order to get transaction id using cardano-serialization-lib you should convert transaction id to bytes and convert them to hex string. Buffer.from(utxo.input().transaction_id().to_bytes()).toString(...

View answer
How to deploy a marlowe smart contract on cardano
0 votes

Here is a tutorial that should help you get started with executing your Plutus script. Plutus scripts are not actually "deployed" to the blockchain, rather once they are serialised to Plutus ...

View answer
cardano-serialization-lib-nodejs documentation
0 votes

There is some (a bit outdated) examples here as part of the repo, but It may help you to get started.

View answer
How to talk to Cardano blockchain using Javascript
0 votes

You can also interact with cardano blockchain via cli, and there is a nice library that i use personally a lot named cardanocli-js

View answer
Cardano-cli error when submitting transaction
0 votes

It says that you have OutputTooSmallUTxO which means that your ADA output for the address must been too small. As I can see you're output is 200000 lovelace which is 0.2 ADA. Minimal ADA per ...

View answer
What is the recommended way of implementing an NFT sale?
0 votes

Well it depends. We finally have smart contracts available so I'd say you go that route if you have some time to commit to learning Plutus. Or, if you're looking to move fast and get those NFT's out ...

View answer