Connect with MetaMask
Connect MetaMask to Injective EVM Testnet
MetaMask is a browser wallet extension that lets you connect to any EVM-compatible network, including Injective EVM.
How to Install MetaMask
Install the official MetaMask extension from the MetaMask download page.
Add Injective EVM Testnet to MetaMask
Click the MetaMask icon in your browser and unlock your wallet.
Click the network selector at the top (the default is "Ethereum Mainnet").
Select “Add Network” or “Add a network manually” to open the custom network form.
Injective EVM Testnet Parameters
Fill in the following details:
Network Name: Injective EVM Testnet
Chain ID: 1439
RPC URL: https://k8s.testnet.json-rpc.injective.network/
Currency Symbol: INJ
Block Explorer URL: https://testnet.blockscout.injective.network/blocksNote: Block Explorer URL is optional, powered by BlockScout.
Switch to Injective EVM Testnet
Once the network is added, use the network selector to switch to Injective EVM Testnet.
Fund Your Wallet (Optional)
Need Testnet INJ? Visit the Injective Testnet faucet.
Funds will appear once included in a Testnet block.
You're All Set!
MetaMask is now connected to the Injective EVM Testnet. You can:
Deploy smart contracts using tools like Foundry, Hardhat, or Remix.
Interact with Testnet dApps and contracts.
Inspect transactions via the Blockscout explorer.
Tip: Always double-check RPC URLs and Chain IDs - accuracy is crucial to avoid misconfiguration.
Connect MetaMask via ethers.js
ethers.jsYou can also connect MetaMask programmatically using ethers.
Sample Code
Using ethers.js to interact with your smart contract
ethers.js to interact with your smart contractSample code
counter contract ABI:
Using viem to interact with your smart contract
viem to interact with your smart contractSample code
Last updated
