Skip to content

Demo EVM ContainerChain

Introduction

A demo EVM Tanssi ContainerChain is deployed on Dancebox for testing purposes. Interact with this chain to discover the capabilities of a fully Ethereum-compatible Appchain deployed through Tanssi.

This article includes the endpoints to interact with this demo EVM ContainerChain, some block explorers, and a quick start example.

Network Endpoints

The demo EVM ContainerChain 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/

Faucet

You can access TANGO tokens at the faucet on the Tanssi dApp. You can receive up to 100 TANGO tokens every 12 hours. Please do not spam the faucet with unnecessary requests. To request tokens from the faucet, head to the Tanssi dApp and Press Add to MetaMask.

Add to MetaMask

Then, take the following steps:

  1. Press Request Tokens
  2. Select the account you'd like to receive TANGO tokens and press Next
  3. Press Connect

Request tokens

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.

Quick Start

You can interact with the EVM ContainerChain 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 the EVM ContainerChain:

import { ethers } from "ethers";

const providerRPC = {
  EvmContainer: {
    name: 'dancebox-evm-container',
    // 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.EvmContainer.rpc, 
  {
    chainId: providerRPC.EvmContainer.chainId,
    name: providerRPC.EvmContainer.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')) 

EVM Container Chain ID

The EVM ContainerChain has a chain ID of: 5678, which is 0x162E in hex.

Block Explorers

For the EVM ContainerChain, you can use any of the following explorers:

Last update: February 23, 2024
| Created: September 12, 2023