Builders Guide
Quick Start Guide

Quick Start Guide

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

Currently operating on Testnet3. All examples provided use testnet3 configurations.

Network Configuration

Use the following parameters to connect your wallet or development environment to the GOAT Network:

ParameterValue
Network NameGOAT Testnet3
RPC URLhttps://rpc.testnet3.goat.network
Chain ID0xBEB0 (48816)
Currency SymbolBTC
Block Explorerhttps://explorer.testnet3.goat.network
Bridgehttps://bridge.testnet3.goat.network
Faucethttps://bridge.testnet3.goat.network/faucet

Development Setup

Step 1: Prerequisites

Ensure the following tools are installed and ready:

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

Step 2: Choose Your Framework

Select your preferred framework to start building:

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

Add the GOAT Network configuration to your hardhat.config.js:

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

Step 3: Get Test BTC

Follow these steps to obtain test BTC for your projects:

  1. Visit the GOAT Faucet (opens in a new tab).
  2. Connect your Web3 wallet.
  3. Request test BTC.
  4. Use the Bridge Interface (opens in a new tab) to bridge assets.

Step 4: Deploy Your First Contract

Test your setup by deploying a simple smart contract:

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

Deploy using your selected framework to ensure everything is configured correctly.


Core Concepts

Learn more about the GOAT Network's foundational components:


Development Resources

Access additional tools and guides to accelerate your development:


Next Steps

Explore Advanced Features

Expand your knowledge with in-depth guides:


Join the Community

Connect with other developers and receive updates:


Consider Running a Sequencer

Learn how to become a Sequencer Node to contribute to network efficiency and earn rewards.

⚠️

Always thoroughly test your dApps on Testnet3 before deploying to mainnet.