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
Parameter | Value |
---|---|
Network Name | GOAT Testnet3 |
RPC URL | https://rpc.testnet3.goat.network (opens in a new tab) |
Chain ID | 48816 |
Currency Symbol | BTC |
Block Explorer | https://explorer.testnet3.goat.network (opens in a new tab) |
Bridge | https://bridge.testnet3.goat.network (opens in a new tab) |
Faucet | https://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
- Visit the GOAT Faucet (opens in a new tab)
- Connect your wallet
- Request test BTC
- 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
Explore Advanced Features
Join the Community
- Developer Telegram (opens in a new tab)
- Discord Community (opens in a new tab)
- Technical Support (opens in a new tab)
- Developer Updates (opens in a new tab)
Consider Running a Sequencer
Learn about becoming a sequencer to earn rewards and support the network.
⚠️
Always test thoroughly on testnet before deploying to mainnet.