Hot answers tagged

22 votes

How can a developer access the Cardano network?

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/...
user avatar
13 votes
Accepted

How can a developer access the Cardano network?

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 ...
user avatar
  • 1,072
11 votes
Accepted

What is the testnet-magic argument and why is it 1097911063?

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. ...
user avatar
  • 746
10 votes
Accepted

How to convert a cardano address into a public key hash?

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
user avatar
  • 1,644
10 votes

How can a developer access the Cardano network?

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 ...
user avatar
8 votes
Accepted

How to convert posixTime to slot number on Cardano Testnet

I share this code snippet with the converter. module Week03.Converter ( posixTimeToSlotTestnetConverter ) where import Ledger ( POSIXTime(POSIXTime), Slot(Slot) ) import Ledger.TimeSlot ( ...
user avatar
  • 1,196
7 votes
Accepted

Is the Cardano testnet indefinite and immutable?

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.
user avatar
6 votes
Accepted

How can a private network be created besides Mainnet and Testnet?

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 ...
user avatar
  • 311
6 votes
Accepted

Does the testnet faucet still exist? How to create testnet ADA?

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/...
user avatar
5 votes

Cardano CLI - Error submitting transaction for minting a token

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 ...
user avatar
  • 351
5 votes

When will the pioneers testnet go live?

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 ...
user avatar
  • 1,072
4 votes

Error running Testnet node: unwrapEnvelopeErr = ObsoleteNodeCHAIN BlockNo 2989599 SlotNo 39614381

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)
user avatar
4 votes
Accepted

How to connect Yoroi to testnet?

You need to install Yoroi Nightly.
user avatar
4 votes

How to convert a cardano address into a public key hash?

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( ...
user avatar
  • 753
4 votes
Accepted

PAB connection to public testnet or mainnet (Example/Tutorial)

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 ...
user avatar
  • 369
3 votes
Accepted

Empty txInfoSignatories after building transaction with cardano-cli

------ 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 ...
user avatar
  • 1,644
3 votes

What tools do I have for building a Cardano Daap right now?

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 ...
user avatar
3 votes

How can a private network be created besides Mainnet and Testnet?

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 ...
user avatar
3 votes
Accepted

Is the metadata limit on testnet transactions the same as mainnet?

The transaction metadata limit is the same on both networks, as they share the same ledger rules.
user avatar
3 votes
Accepted

How do you publish on-chain code to mainnet and testnet?

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 ...
user avatar
3 votes

PPViewHashesDontMatch and UnspendableUTxONoDatumHash error on redeeming funds from week03 example

Order of parameters is important!!! From cardano-cli transaction build --help: Usage: cardano-cli transaction build ...
user avatar
3 votes
Accepted

When was the slot duration set to 1 sec on Cardano Testnet?

I did a little bit of digging. Block 1597133, created on 2020/07/28 20:20:16 was the first block to use 1 second per slot. Epoch Slot Block Created Delta Next Slot Delta Next Created Time Per Slot ...
user avatar
  • 500
2 votes

Is there any way to connect to cardano testnet without running the cardano-node on local computer?

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.
user avatar
  • 76
2 votes

Sync Daedalus with a local testnet node

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 ...
user avatar
  • 307
2 votes

Return tAda using Cardano-CLI

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 ...
user avatar
  • 1,617
2 votes
Accepted

Good tutorials / resources for PAB (testnet)

You should read Plutus starter PAB testnet notes and Hosted PAB setup for Alonzo testnet gist.
user avatar
  • 1,617
2 votes

how does the magic number work for different era's?

The network magic is not supposed to be mutable. The only reason it's in the Shelley Genesis is because the Shelley Genesis simplified the Byron genesis file format significantly and allows the code ...
user avatar
2 votes
Accepted

How many slots did Byron era (testnet) have?

As far as I know, Shelley started at epoch 1, i.e. after a single Byron epoch 0 on Cardano Testnet. Byron started on Testnet: epoch 0 ... slot 1031 ... block 1 ... date 2019/07/25 ... time 02:03:56 ...
user avatar
  • 1,617
2 votes

How to convert posixTime to slot number on Cardano Testnet

The accepted answer already explains how the calculation must be made and provides a sample code in Haskell; however, I will also leave here a simple snippet of code in Java, removing all the Haskell ...
user avatar
2 votes

Difference when building Testnet and Mainnet addresses

If you are using cardano-cli to build the address(es), the only difference would be in specifying which network (mainnet or testnet) the address is for. This is done via the --mainnet & --testnet-...
user avatar
  • 3,111

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