Network
Networks & RPC

GOAT Networks and Public RPC Endpoints

This reference guide provides configuration details for connecting to the GOAT network.

Need testnet BTC? Visit the GOAT Testnet3 Faucet (opens in a new tab) to get started.

Get Connected

GOAT Testnet Configurations

⚠️

Important: The previous Testnet (Chain ID: 48818) has been deprecated. Please use Testnet3 for all new deployments and testing.

Current Testnet (Testnet3)

ParameterValue
Network NameGOAT Testnet3
Chain ID0xBEB0 (48816)
Currency SymbolBTC
Currency Decimals18
RPC URLhttps://rpc.testnet3.goat.network
Block Explorer URLhttps://explorer.testnet3.goat.network
Bridge Interfacehttps://bridge.testnet3.goat.network

Deprecated Testnet

ParameterValue
Network NameGOAT Testnet
Chain ID48818
RPC URL(Deprecated)
Block Explorer URL(Deprecated)
⚠️

The previous Testnet (Chain ID: 48818) is deprecated and no longer supported. Please migrate to Testnet3 for the latest features and support.

The public RPC endpoints are rate-limited. For production applications, consider using a dedicated node or professional RPC provider.

Network Configurations

JavaScript (ethers.js v6)

const network = {
  name: 'GOAT Testnet3',
  chainId: 48816,
  network: 'goat-testnet3',
  rpc: 'https://rpc.testnet3.goat.network',
  explorer: 'https://explorer.testnet3.goat.network'
};

Python (web3.py)

network_config = {
    "name": "GOAT Testnet3",
    "chain_id": 48816,
    "rpc_url": "https://rpc.testnet3.goat.network",
    "explorer_url": "https://explorer.testnet3.goat.network"
}

Wallet Connection (MetaMask)

{
  "chainId": "0xBEB0", // 48816 in hexadecimal
  "chainName": "GOAT Testnet3",
  "nativeCurrency": {
    "name": "Bitcoin",
    "symbol": "BTC",
    "decimals": 18
  },
  "rpcUrls": ["https://rpc.testnet3.goat.network"],
  "blockExplorerUrls": ["https://explorer.testnet3.goat.network"]
}

Adding GOAT Testnet3 to MetaMask

You can add the GOAT Testnet3 to MetaMask programmatically using the following code:

async function addGoatTestnet3() {
  try {
    await window.ethereum.request({
      method: 'wallet_addEthereumChain',
      params: [{
        chainId: '0xBEB0', // 48816 in hexadecimal
        chainName: 'GOAT Testnet3',
        nativeCurrency: {
          name: 'Bitcoin',
          symbol: 'BTC',
          decimals: 18
        },
        rpcUrls: ['https://rpc.testnet3.goat.network'],
        blockExplorerUrls: ['https://explorer.testnet3.goat.network']
      }]
    });
  } catch (error) {
    console.error('Failed to add network:', error);
  }
}

Usage Example with ethers.js

import { ethers } from 'ethers';
 
const provider = new ethers.JsonRpcProvider('https://rpc.testnet3.goat.network');
 
async function getBlockNumber() {
  const blockNumber = await provider.getBlockNumber();
  console.log('Current block number:', blockNumber);
}
 
getBlockNumber();

GOAT Mainnet

⚠️

Coming Soon!
GOAT Mainnet is currently under development and will be launched after a successful testing phase. Stay tuned for updates and mainnet configuration details.

Deploy your Smart Contracts in preparation for Mainnet. Visit the GOAT Testnet3 Faucet (opens in a new tab) to get started.


For the latest updates and detailed documentation, visit our official documentation (opens in a new tab).