MetaMask Setup
You can use MetaMask to interact with your ink! smart contracts via the Solidity ABI. This guide shows you how to configure MetaMask to connect to Polkadot networks.
Quick Setup
To set up your wallet and connect to the appropriate network, follow this quick start guide: Connect MetaMask to Polkadot Hub Testnet
Network Configuration
Polkadot Hub Testnet
Use these network details to configure MetaMask for Polkadot Hub Testnet:
Network name: Polkadot Hub TestNet
Currency symbol: PAS
Chain ID: 420420422
RPC URL: https://testnet-passet-hub-eth-rpc.polkadot.io
Block explorer URL: https://blockscout-passet-hub.parity-testnet.parity.io/
Adding the Network to MetaMask
- Open MetaMask and click on the network dropdown
- Click "Add Network" at the bottom of the list
- Select "Add a network manually"
- Enter the network details from the info box above
- Click "Save" to add the network
Detailed Setup Guide
For more comprehensive configuration steps including other networks and detailed troubleshooting, see the complete guide: Connect to Polkadot - Full Guide
Getting Test Tokens
Once connected to the testnet, you'll need test tokens to interact with contracts. Visit the appropriate faucet for the network you're using.
Next Steps
With MetaMask configured, you can now:
- Deploy contracts using Hardhat
- Build frontend applications with Wagmi
- Use any Ethereum-compatible wallet interface to interact with your ink! contracts
Troubleshooting
If you encounter issues:
- Ensure you're using the correct network details
- Check that the RPC endpoint is accessible
- Verify your MetaMask version is up to date
- Clear MetaMask cache if experiencing connection issues