Demo EVM Network
Introduction¶
Explore the functionalities of a fully Ethereum-compatible network deployed through Tanssi by interacting with the demo EVM network on Dancebox.
This quick reference page offers all the essentials you need to interact with this demo network.
Faucet for TestNet Tokens¶
You can access TANGO tokens, the native currency of the EVM demo network, at the faucet on the Tanssi dApp. You can receive up to 100 TANGO tokens every 12 hours.
To request tokens from the faucet, head to the Tanssi dApp and press Add to MetaMask.
Then, take the following steps:
- Press Request Tokens
- Select the account you'd like to receive TANGO tokens and press Next
- Press Connect
Note
TANGO tokens have no value. Please don't spam the faucet with unnecessary requests.
Your tokens will be disbursed shortly, and you can verify your TANGO token balance by looking up your address on the explorer.
Network Endpoints¶
The demo EVM network HTTPS and WSS endpoints are as follows:
https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network/
wss://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network/
Block Explorers¶
For the demo EVM network, you can use any of the following explorers:
- Polkadot.js Apps (Substrate API)
- Blockscout (Ethereum API)
- Expedition (Ethereum API)
Chain ID¶
The demo EVM network has a chain ID of: 5678
, which is 0x162E
in hex.
Quick Start¶
You can interact with a Tanssi-powered EVM network using standard Ethereum libraries, like Ethers.js, Web3.js, and Web3.py. To quickly get started, you'll need to create a provider connected to a Tanssi EVM network:
import { ethers } from "ethers";
const providerRPC = {
evmNetwork: {
name: 'dancebox-evm-network',
// Insert your RPC URL here
rpc: 'https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network',
chainId: 5678, // 0x162E in hex,
},
};
const provider = new ethers.JsonRpcProvider(
providerRPC.evmNetwork.rpc,
{
chainId: providerRPC.evmNetwork.chainId,
name: providerRPC.evmNetwork.name,
}
);
const Web3 = require('web3');
const web3 = new Web3(
'https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network'
);
from web3 import Web3
web3 = Web3(Web3.HTTPProvider('https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network'))
| Created: September 12, 2023