Builder ToolsGX EVM Tools

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

NetworkRPC URLChain IDExplorer
Mainnethttps://rpc.gx.exchangeTBDhttps://explorer.gx.exchange
Testnethttps://testnet-rpc.gx.exchangeTBDhttps://testnet-explorer.gx.exchange

Development Frameworks

FrameworkLanguageNotes
HardhatJavaScript/TypeScriptFull support, including verification plugin
FoundrySolidityforge, cast, anvil all compatible
RemixBrowserConnect via Injected Provider (MetaMask)
TruffleJavaScriptSupported but Hardhat or Foundry preferred

Client Libraries

LibraryLanguageInstallation
ethers.js v6JavaScript/TypeScriptnpm install ethers
viemTypeScriptnpm install viem
wagmiReact hooksnpm install wagmi
web3.pyPythonpip install web3
ethers-rsRustcargo 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

WalletConnection Method
MetaMaskInjected Provider, WalletConnect
WalletConnectQR code or deep link
PrivyEmbedded wallet
Coinbase WalletWalletConnect
LedgerVia 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/api

Security Libraries

LibraryVersionUse
OpenZeppelin Contractsv5Audited token, access control, and utility contracts
OpenZeppelin DefenderLatestMonitoring and admin operations
ChainlinkLatestPrice feeds on Arbitrum (for DeFi contracts)

For full setup instructions and code examples, see Tools for GX EVM Builders.