Skip to content

Interacting with Your Tanssi EVM ContainerChain Using SubWallet

Introduction

Developers and users of Tanssi EVM ContainerChains have a variety of options when it comes to wallets. Thanks to their seamless Ethereum compatibility, Tanssi EVM ContainerChains support a great variety of popular wallets, including SubWallet.

SubWallet is a comprehensive Web3 wallet that natively supports Substrate (Polkadot) and Ethereum accounts. This tutorial centers on the Ethereum API, but you can check out a similar tutorial for interacting with SubWallet using the Substrate API. The SubWallet wallet browser extension can be downloaded for all supported browsers, including Chrome, Brave, Firefox, and MS Edge. SubWallet also has a mobile app for both iOS and Android, but that is beyond the scope of this guide. A complete online asset dashboard is accessible at web.subwallet.app.

This guide takes you through all the necessary steps, from installing SubWallet to setting up a wallet, connecting it to your Tanssi EVM ContainerChain, and sending funds.

Creating Your First Ethereum Account

First, download and install the SubWallet extension. Creating a new account will generate a seed phrase that can derive multiple Ethereum and Substrate accounts. By default, SubWallet will generate a single Ethereum and a single Substrate account, but you can easily derive more from the same seed phrase. Click Create a new account to get started.

Get started with SubWallet

On the following screen, you'll be prompted to create a password to secure your new wallet.

Create a password for SubWallet

You'll then be prompted to back up your seed phrase. This is an important step, especially because you have the option to later derive additional accounts from this seed phrase.

Back up your seed phrase in SubWallet

Note

You should never share your seed phrase (mnemonic) or private key with anyone. This gives them direct access to your funds. This guide is for educational purposes only.

Importing an Existing EVM Account

Of course, you can import an existing EVM account into SubWallet. To get started, take the following steps:

  1. Press the All accounts button at the top
  2. Press the Import account icon

Import account part 1

On the following screen, select the method by which you would like to import the existing account.

Import existing account part 2

On the following screen, you'll be able to provide the relevant seed phrase, private key, JSON file, or QR code, and you can begin using your new account right away.

Configuring SubWallet for Your EVM ContainerChain

To configure SubWallet for your EVM ContainerChain, press the More Options icon in the upper left corner. Then click Manage networks. Press the + icon. On the following page, you'll then be prompted to enter the network details for your ContainerChain. For demonstration purposes, the demo EVM ContainerChain is used here, but you can substitute these details for your own ContainerChain. To add your ContainerChain to SubWallet, take the following steps:

  1. Paste in the HTTPS RPC URL of your ContainerChain. The demo EVM ContainerChain's RPC URL is https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network/. Other parameters will be auto-populated
  2. Paste in the block explorer URL of your ContainerChain. The demo EVM ContainerChain's block explorer URL is https://3001-blockscout.a.dancebox.tanssi.network/
  3. Press Save

Add your ContainerChain Network Details in SubWallet

By default, all balances are hidden in SubWallet, but if you press the eye icon, you can toggle balance visibility.

Sending Assets on Your EVM ContainerChain

To transfer the native token of your ContainerChain, take the following steps:

  1. Specify the asset to send
  2. Specify the destination chain (in this case, the same chain that you're sending from)
  3. Enter the destination address
  4. Enter the number of tokens to send
  5. Look over the transaction details, then press Transfer and subsequently Approve

Send funds on your EVM ContainerChain

This guide focused specifically on configuring SubWallet to work with your EVM ContainerChain, but SubWallet is also a full-featured wallet for Substrate (Polkadot) accounts. Under the Substrate API section, you'll find a similar guide for configuring SubWallet for use with your Substrate ContainerChain.

The information presented herein has been provided by third parties and is made available solely for general information purposes. Tanssi does not endorse any project listed and described on the Tanssi Doc Website (https://docs.tanssi.network/). Tanssi Foundation does not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. Tanssi Foundation disclaims all liability and responsibility arising from any reliance placed on this information by you or by anyone who may be informed of any of its contents. All statements and/or opinions expressed in these materials are solely the responsibility of the person or entity providing those materials and do not necessarily represent the opinion of Tanssi Foundation. The information should not be construed as professional or financial advice of any kind. Advice from a suitably qualified professional should always be sought in relation to any particular matter or circumstance. The information herein may link to or integrate with other websites operated or content provided by third parties, and such other websites may link to this website. Tanssi Foundation has no control over any such other websites or their content and will have no liability arising out of or related to such websites or their content. The existence of any such link does not constitute an endorsement of such websites, the content of the websites, or the operators of the websites. These links are being provided to you only as a convenience and you release and hold Tanssi Foundation harmless from any and all liability arising from your use of this information or the information provided by any third-party website or service.
Last update: February 16, 2024
| Created: October 17, 2023