Hot answers tagged

20

If you use Nix or NixOs, it is rather straightforward: Build the code for a cardano node using nix (link to current documentation) Duplicating the official documentation: git clone https://github.com/input-output-hk/cardano-node cd cardano-node nix-build -A scripts.mainnet.node -o mainnet-node-local ./mainnet-node-local This will run a cardano node on the ...


12

There are also ways to use services where you can make API requests to interact with the Cardano blockchain. (without the need to run your own cardano-node) You could for example sign in on Blockfrost with your GitHub account. No registration required. Enter a project name and select Cardano mainnet or Cardano testnet, depending on your needs. After ...


10

Generally, there are several options you could pursue. Start a stake pool on test-net and then launch one on main-net. How to build a Cardano Stake Pool. Get involved with project catalyst. Offer feedback and input to projects that interest you. Try to get involved with a team that has promising ideas. Offer your services where you can fit in. Project ...


8

The testnet magic, aka protocol magic, is a parameter introduced in Cardano during the Byron era. It is used internally by the protocol in cryptographic functions that construct addresses from a seed. Since this value is different in mainnet and testnet, the address obtained from a given path (or seed) is different in both networks.


7

No, there are plans to reset the testnet in the future, probably sometime after Goguen. But it is immutable forever, if you keep the blockchain data.


6

I think you're looking for this: cardano-cli address key-hash --payment-verification-key STRING cardano-cli address key-hash --payment-verification-key-file FILE You should use your payment.vkey


6

It is definitely possible to do that. You can edit genesis and config files to your taste. Creating a local network is the purpose of the script here and there is a guide here. There is also a similar set of config files for jumpstarting in Alonzo here


6

You can request tAda from the test faucet here. By adding an address without an API key you will receive 1000 tAda. You could also request an API key from IOHK to have a bespoke amount of tAda/Testcoin if required. Once you're finished with your tAda you should return them to this address (which you can see on the official documentation page too). ...


5

There is currently no announcement regarding a date. I have seen rumours that the Plutus Pioneer testnet is already up and running (probably caused by a web page that displays timers at certain milestones) - this is not true.


4

Where you submit transactions to the blockchain, you typically go through the following steps. build the transaction without any fees calculate the transaction fees rebuild the transaction with the correct fees sign the transactions with the appropriate witness submit the transaction to the blockchain Each of these five operations has a specific call on ...


4

The solution for this problem is to download the latest version of cardano-node. 1.29 is broken for testnet, but the 1.30.1 works perfectly. Download here: (https://hydra.iohk.io/build/7739444)


3

I'm not very familiar where you would find the right documentation, but it certainly is possible to have multiple cardano-node be connecting to each other, forming a private network. Such a network could also be configured as you like and run with completely different parameters. One starting point maybe is to have a look how the cardano-wallet does launch a ...


3

The transaction metadata limit is the same on both networks, as they share the same ledger rules.


3

It is very possible to create an NFT on Cardano since the very second native tokens were supported, which was back in January. I advise you to provide lasting power and permanence to your NFTs by adhering to the CIP-721 metadata standard, so blockchain explorers (and eventually other dApps) will be interoperable with the NFTs that you issue. Cardano will be ...


3

------ UPDATE------ Since version 1.31 of cardano-cli, there is the following option to sign the transaction when it is built, so you can avoid that error from the script: --required-signer FILE Input filepath of the signing key (zero or more) whose signature is required. ----------------------- It's related to this bug: Cli to ...


3

You have the best instruction here https://gist.github.com/mikekeke/883d56c38e0237444ac98ae5257e174f Also after the setup on the above link, you can use this starter project generated from the Plutus starter template just updated to work with PAB on testnet https://github.com/invictusappscom/plutus-starter-pab-testnet Here main differences from https://...


2

You need to install Yoroi Nightly.


2

This is the easiest way to return your tADA: When you have finished using your test tokens, please return them to the faucet so that other members of the community can use them. Please return your test tokens to this address: addr_test1qqr585tvlc7ylnqvz8pyqwauzrdu0mxag3m7q56grgmgu7sxu2hyfhlkwuxupa9d5085eunq2qywy7hvmvej456flknswgndm3


2

To anyone who may need a similar setup, I got this working after many trials. From my local cardano node, I copied the contents of the db directory into the chain directory of the Daedalus wallet. I then updated the configuration file topology.yaml to use localhost in the addr parameter. It works and I can receive tAda from the testnet faucet.


2

First of all on-chain code isn't stored in the blockchain, the hash of on-chain code is. To use on-chain validator on testnet or mainnet steps are: Compile on-chain code into plutus script Generate address from plutus script Lock funds into plutus script address (Don't forget Datum!!!) Pass plutus script for validation to unlock funds from plutus script ...


1

Alonzo network is dead, you should move your testing to the Cardano testnet.


1

Apparently there is a problem with the size of your transaction, which is: 19142 But there is a limit, you can find it on the protocol-params file: maxTxSize: 16384 bytes Try to modify it, to decrease the size of the transaction.


1

You'd need to set a --ttl <SLOT NUMBER> parameter for the transaction build-raw command


1

Just tested on testnet, cardano-cli transaction policyid --script-file ... works. Just make sure in your Haskell code to include something like the following to turn it into an address: testnetDumpValidatorHash :: ValidatorHash testnetDumpValidatorHash = "10101010110101010101010101010101010101010101010101123456" testnetDumpAddress :: Ledger....


1

Regarding to the docs: Problem: ValueNotConservedUTxO Diagnosis: Value not Conserved: (Input UTXO ≠ Fee + Amount sent + Change) Solution: Check that output amount is equal to input amount You can find another problems here: Diagnosing transactions problems and troubleshooting In other words, it's because your transaction is not balanced. [EDIT] In your ...


1

You're using the genesis file instead of the protocol-params-file. Try using the protocol-params. You can get it using this command: cardano-cli query protocol-parameters --testnet-magic 1097911063 > protocol-params.json It works: cardano-cli transaction calculate-min-fee \ --tx-body-file tx.draft \ --protocol-params-file protocol-params.json \ --testnet-...


1

If anyone is trying to do this using cardano-serialization-lib and Nami: const PUBKEY_HASH = async () => { const cardano = window.cardano; const pkh = Loader.Cardano.BaseAddress.from_address( Loader.Cardano.Address.from_bytes( Buffer.from(await cardano.getChangeAddress(), "hex") ) ) .payment_cred() .to_keyhash(); ...


1

You need to update your node(s) to version 1.30.1. I am pretty sure doing so will resolve your issue. https://github.com/input-output-hk/cardano-node/releases


1

If you are looking for a tool like Infura's or Alchemy's API, I'd suggest blockfrost.io They have several standard endpoints you can fetch from, using standard HTTP methods.


1

The present status is to use the method described in the Lobster challenge. https://github.com/input-output-hk/lobster-challenge. Please see the associated Youtube video too.


Only top voted, non community-wiki answers of a minimum length are eligible