Connecting to Cardano EVM Testnet
The Cardano EVM testnet is a testnet used specifically for EVM side chain activities and is not connected to existing testnet, preprod or preview networks.
Network details
Name | Network | Chain ID | Consensus | Token | Account Model |
Cardano EVM testnet | Testnet | 7 | POS | tada | EUTXO |
cardano-node cli
- Navigate to https://github.com/input-output-hk/cardano-node/releases
- Locate the latest release of cardano-node
- In the latest release scroll to Downloads >> Static binay section
- Select your OS version for example Linux or Ubuntu
- wget https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-x.x.x.x-linux.tar.gz
- Extract cardano-node-x.x.x.x-linux.tar.gz to the local directory using tar -xzf cardano-node-x.x.x.x-linux.tar.gz
- chmod +x cardano-node
- chmod +x cardano-cli
Cardano EVM testnet config
wget https://raw.githubusercontent.com/input-output-hk/mamba-world/develop/nix/automation/jobs/cardano-node/config/alonzo-genesis.json
wget https://raw.githubusercontent.com/input-output-hk/mamba-world/develop/nix/automation/jobs/cardano-node/config/byron-genesis.json
wget https://raw.githubusercontent.com/input-output-hk/mamba-world/develop/nix/automation/jobs/cardano-node/config/node-config.json
wget https://raw.githubusercontent.com/input-output-hk/mamba-world/develop/nix/automation/jobs/cardano-node/config/shelley-genesis.json
wget https://raw.githubusercontent.com/input-output-hk/mamba-world/develop/nix/automation/jobs/cardano-node/config/topology.json
Connect to Cardano EVM Testnet
Execute
./cardano-node run --config node-config.json --database-path db --socket-path node.socket --topology topology.json
Export
export CARDANO_NODE_SOCKET_PATH=node.socket
Query
./cardano-cli query tip --testnet-magic 7
{
"block": 20119,
"epoch": 111,
"era": "Babbage",
"hash": "ee25e296bdb6ca91fb28cf66e757b9ac4ab3fd45be936aeffd45b75bdbd01c55",
"slot": 804538,
"syncProgress": "8.26"
}