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)
Parameter | Value |
---|---|
Network Name | GOAT Testnet3 |
Chain ID | 0xBEB0 (48816) |
Currency Symbol | BTC |
Currency Decimals | 18 |
RPC URL | https://rpc.testnet3.goat.network |
Block Explorer URL | https://explorer.testnet3.goat.network |
Bridge Interface | https://bridge.testnet3.goat.network |
Deprecated Testnet
Parameter | Value |
---|---|
Network Name | GOAT Testnet |
Chain ID | 48818 |
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).