Connecting Your Wallet to the Toto Chain

To interact with the Toto Chain, you'll need a browser-based wallet. However, because the Toto Chain supports both its native Substrate environment and an Ethereum-compatible environment (EVM), it's crucial to use the right type of wallet for the task you want to perform.

This guide will walk you through connecting the two primary types of wallets:

  • Talisman: A Polkadot-native wallet, recommended for most core chain interactions.

  • MetaMask: An EVM wallet, used specifically for interacting with Ethereum-style smart contracts deployed on the Toto Chain.

Understanding the Difference: Talisman vs. MetaMask

The most important concept to understand is that the Toto Chain has two kinds of accounts: native Substrate accounts and EVM accounts.

Wallet Type

Talisman (and other Polkadot wallets)

MetaMask (and other EVM wallets)

Primary Use Case

Interacting with all native Toto Chain features: governance, handshakes, staking, fNFTs, etc.

Interacting with Solidity smart contracts and dApps deployed on the EVM pallet.

Address Format

Standard Substrate SS58 format

(e.g., 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY)

Standard Ethereum format

(e.g., 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B)

Can it interact with EVM?

No.

No, it cannot interact with native Substrate features like governance.

Rule of Thumb: When in doubt, start with Talisman. You only need MetaMask if you are specifically developing or using an Ethereum-style dApp on the Toto Chain.

Talisman is a user-friendly wallet for the Polkadot and Substrate ecosystem.

1.1 Step-by-Step Guide

  1. Install the Wallet: Install the Talisman browser extension from the official Talisman website or your browser's extension store.

  2. Navigate to a Toto Chain App: Open an application that connects to the Toto Chain, such as the Polkadot-JS Apps UI.

  3. Connect to the Network: Ensure the app is connected to the correct Toto Chain network endpoint (e.g., for the local QA environment, this is typically ws://127.0.0.1:9944).

  4. Authorize the Connection: The Talisman extension will pop up and ask you to authorize the connection between the application and your wallet. Click "Connect" for the accounts you wish to use.

  5. Ready to Use: Your Talisman accounts will now be visible in the application, and you can use them to sign transactions for native features like governance, handshakes, and more.

1.2 Importing Pre-Funded QA Accounts

When using the local QA environment, you can import the pre-funded test accounts (Alice, Bob, etc.) into Talisman using their mnemonic phrases, which are available in the testkeys file.

2.0 Connecting MetaMask (For EVM Use Only)

If you need to interact with Solidity smart contracts deployed on the Toto Chain's EVM pallet, you will need to configure MetaMask.

2.1 Step-by-Step Guide

  1. Install the Wallet: Install the MetaMask browser extension from the official MetaMask website.

  2. Add a New Network:

    • Click the network dropdown at the top of the MetaMask window.

    • Select "Add network".

    • Choose "Add a network manually".

  3. Enter Network Details: Fill in the configuration for the Toto Chain network. For the local QA environment, use the following:

    • Network Name: Toto Chain QA

    • New RPC URL: http://127.0.0.1:9933

    • Chain ID: 1337 (This is a common default for local development networks; check your specific network's configuration if this doesn't work).

    • Currency Symbol: TOTO

    • Block Explorer URL (Optional): Leave blank for local testing.

  4. Save the Network: Click "Save". MetaMask is now connected to the Toto Chain's EVM.

  5. Import an Account: You will need to import an EVM-compatible account that is funded on the chain. You can do this by clicking the circle icon in the top right, selecting "Import account," and pasting the account's private key.

Last updated