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/...
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 ...
12
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
12
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. ...
12
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 ( ...
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 ...
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.
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 ...
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/...
6
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(
...
6
votes
Accepted
What are the protocol magic values for the preview and preprod test networks?
You can check the byron or shelley genesis files for protocolMagic or networkMagic respectively.
Genesis files for each network can be found here: https://book.world.dev.cardano.org/environments.html
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 ...
5
votes
Accepted
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 ...
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)
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 ...
4
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 ...
4
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
...
4
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 ...
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 ...
3
votes
What tools do I have for building a Cardano Dapp 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 ...
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 ...
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.
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
...
3
votes
Accepted
Preview and Pre-Production Testnet Configs
Pre-production:
[chain]
byron_epoch_length = 432000
byron_slot_length = 20
byron_known_slot = 0
byron_known_hash = "9ad7ff320c9cf74e0f5ee78d22a85ce42bb0a487d0506bf60cfb5a91ea4497d2"
...
3
votes
Accepted
Unable to run cardano-node on Preview and Pre-Production Testnet
When I copied and pasted text, I faced the similar problem. May be formatting matters. Try getting raw files directly from github like:
curl -O -J https://raw.githubusercontent.com/input-output-hk/...
2
votes
How to convert a cardano address into a public key hash?
I am working on this as well... I am not sure but this seems quite promising
https://input-output-hk.github.io/cardano-addresses/demo/
Maybe this is usefull as well
https://cips.cardano.org/cips/cip19/...
2
votes
How to convert a cardano address into a public key hash?
You can use the "cardano-address address inspect" syntax to get the public key hash from an address without requiring the verification key. Requiring the verification key assumes having ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
testnet × 74cardano-node × 14
cardano-cli × 12
plutus × 11
wallet × 10
mainnet × 8
plutus-pioneer-program × 6
smart-contract × 6
pab × 6
transaction × 4
stake-pool × 4
address × 4
cardano-faucet × 4
daedalus × 3
slottime × 3
native-assets × 2
haskell × 2
blockfrost × 2
fee × 2
documentation × 2
nami × 2
preprod × 2
nft × 1
plutus-playground × 1
blockchain × 1