GX EVM Tools
Overview
GX EVM is fully compatible with the Ethereum developer ecosystem. Any tool that works with EVM chains works with GX Chain.
Network Configuration
| Network | RPC URL | Chain ID | Explorer |
|---|---|---|---|
| Mainnet | https://rpc.gx.exchange | TBD | https://explorer.gx.exchange |
| Testnet | https://testnet-rpc.gx.exchange | TBD | https://testnet-explorer.gx.exchange |
Development Frameworks
| Framework | Language | Notes |
|---|---|---|
| Hardhat | JavaScript/TypeScript | Full support, including verification plugin |
| Foundry | Solidity | forge, cast, anvil all compatible |
| Remix | Browser | Connect via Injected Provider (MetaMask) |
| Truffle | JavaScript | Supported but Hardhat or Foundry preferred |
Client Libraries
| Library | Language | Installation |
|---|---|---|
| ethers.js v6 | JavaScript/TypeScript | npm install ethers |
| viem | TypeScript | npm install viem |
| wagmi | React hooks | npm install wagmi |
| web3.py | Python | pip install web3 |
| ethers-rs | Rust | cargo add ethers |
Contract Standards
All standard Ethereum contract standards are supported:
- ERC-20 (fungible tokens)
- ERC-721 (NFTs)
- ERC-1155 (multi-token)
- ERC-4626 (tokenized vaults)
- EIP-2612 (permit / gasless approvals)
- EIP-712 (typed data signing)
Wallet Support
| Wallet | Connection Method |
|---|---|
| MetaMask | Injected Provider, WalletConnect |
| WalletConnect | QR code or deep link |
| Privy | Embedded wallet |
| Coinbase Wallet | WalletConnect |
| Ledger | Via MetaMask or direct |
Contract Verification
Verify contracts on the GX Explorer:
# Hardhat
npx hardhat verify --network gx <contract-address> <constructor-args>
# Foundry
forge verify-contract <address> src/Contract.sol:Contract \
--verifier-url https://explorer.gx.exchange/apiSecurity Libraries
| Library | Version | Use |
|---|---|---|
| OpenZeppelin Contracts | v5 | Audited token, access control, and utility contracts |
| OpenZeppelin Defender | Latest | Monitoring and admin operations |
| Chainlink | Latest | Price feeds on Arbitrum (for DeFi contracts) |
For full setup instructions and code examples, see Tools for GX EVM Builders.