Builders Guide
Quick Start Guide

Quick Start Guide

Welcome to GOAT Network! This guide will help you start building on Bitcoin's most cost efficient Layer 2 solution.

Currently on Testnet3. All examples use testnet configuration.

Network Configuration

ParameterValue
Network NameGOAT Testnet3
RPC URLhttps://rpc.testnet3.goat.network (opens in a new tab)
Chain ID48816
Currency SymbolBTC
Block Explorerhttps://explorer.testnet3.goat.network (opens in a new tab)
Bridgehttps://bridge.testnet3.goat.network (opens in a new tab)
Faucethttps://bridge.testnet3.goat.network/faucet (opens in a new tab)

Development Setup

Prerequisites

  • Node.js (v16.0.0 or later)
  • Package manager (npm, yarn, or pnpm)
  • Git
  • Code editor (VS Code recommended)
  • MetaMask or other Web3 wallet

Choose Your Framework

npx hardhat init
# Select "Create a JavaScript project"
npm install --save-dev @nomicfoundation/hardhat-toolbox

Add network config to hardhat.config.js:

module.exports = {
  networks: {
    goat: {
      url: "https://rpc.testnet3.goat.network",
      chainId: 48816
    }
  }
};

Get Test BTC

  1. Visit the GOAT Faucet (opens in a new tab)
  2. Connect your wallet
  3. Request test BTC
  4. Bridge BTC using our Bridge Interface (opens in a new tab)

Deploy Your First Contract

Test your setup with a simple deployment:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
 
contract HelloGOAT {
    string public message = "Hello, GOAT!";
}

Core Components

Development Resources

Next Steps

⚠️

Always test thoroughly on testnet before deploying to mainnet.