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 Testnet Faucet (opens in a new tab) to get started.

Get Connected

GOAT Testnet Configurations

⚠️

Important: The Alpha Testnet (Chain ID: 48815) has been deprecated. Please use Testnet 3 for all new deployments and testing.

Current Testnet (Testnet 3)

ParameterValue
Network NameGOAT Testnet
Chain ID48816
Currency SymbolBTC
Currency Decimals18
RPC URLhttps://rpc.testnet3.goat.network
Block Explorer URLhttps://explorer.testnet3.goat.network
Bridge Interfacehttps://bridge.testnet3.goat.network

Deprecated Alpha Testnet

ParameterValue
Network NameGOAT Testnet
Chain ID48818
RPC URLhttps://rpc.testnet.goat.network
Block Explorer URLhttps://explorer.testnet.goat.network

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 Testnet',
  chainId: 48816,
  network: 'testnet',
  rpc: 'https://rpc.testnet3.goat.network',
  explorer: 'https://explorer.testnet3.goat.network'
}
 
 
#### Python (web3.py)
```python
network_config = {
    "name": "GOAT Testnet",
    "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 Testnet",
  "nativeCurrency": {
    "name": "Bitcoin",
    "symbol": "BTC",
    "decimals": 18
  },
  "rpcUrls": ["https://rpc.testnet3.goat.network"],
  "blockExplorerUrls": ["https://explorer.testnet3.goat.network"]
}

Adding Network to MetaMask

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

async function addGoatTestnet() {
  try {
    await window.ethereum.request({
      method: 'wallet_addEthereumChain',
      params: [{
        chainId: '0xBEB0',
        chainName: 'GOAT Testnet',
        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);
}

GOAT Mainnet

⚠️

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

Deploy your Smart Contracts in preparation for Mainnet. Go Visit the GOAT Testnet 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).