MeatMask Connection
VoidChain now supports MetaMask with a virtual ERC20 adapter
VoidChain has completed its MetaMask wallet integration. Developers and users can connect to the VoidChain network through MetaMask to query and use assets on the chain.
The integration uses a virtual smart contract adapter (a precompiled adapter, not a deployed contract). It addresses the mismatch between the 9 decimal places of VoidChain’s native TC and MetaMask’s default 18-decimal wei model for native currencies.
Important information
The adapter is a native precompiled virtual address within the chain, with no independently deployed contract or contract audit risk. The underlying asset remains native VoidChain TC, with the same security as the native mainnet ledger and no additional custody or bridging logic.
How it works
- The virtual adapter exposes standard ERC20 interfaces (
balanceOfand theTransferevent), following MetaMask’s ERC20 token reading conventions. - Internally, it maps to the underlying VoidChain TC account balance and automatically converts the precision used for display.
- Users can import this ERC20 token into MetaMask to view balances and interact with DApps.
- Transactions, the ledger, and consensus continue to follow native VoidChain rules, without changing the mainnet asset model.
Network parameters (ChainID)
- Mainnet transaction ChainID: 36000
📌 Virtual adapter reference configuration (copy directly into MetaMask)
{
"token_address": "0x0000000000000000000000000000000000abcdef",
"standard": "ERC20",
"decimals": 9,
"symbol": "TCP",
"name": "VoidChain TC",
"event_topic_transfer": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
}Import into MetaMask
- Add a network in MetaMask: RPC URL
https://wallet.voidchain.net/api.
ChainID36000, currency symbolTC.
Block explorer URLhttps://explorer.voidchain.net/#/. - Go to “Tokens” → “Import tokens” and select “Custom token”.
- Copy
token_addressfrom the configuration above into the token contract address field. - MetaMask will automatically read the symbol and decimal places. Confirm to import.
- After importing, you can view your TC balance. TC and TCP are always equivalent; transfers must use TCP. DApps can use the adapter for transfers and queries.
Developer notes
- Use ChainID
36000when connecting a DApp to MetaMask. Prefer the virtual adapter’sbalanceOfto read TC balances. - The
Transferevent uses the standard ERC20 topic, so existing EVM components can listen for events.
Reminder
Tokens deployed on VoidChain must implement the following interfaces for seamless integration with MetaMask:
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns (string memory);
function supportsInterface(bytes4 interfaceId) external pure returns (bool);
function transfer(address _to, uint256 _value) external returns (bool);
function balanceOf(address _owner) external view returns (uint256);