Skip to main content

Documentation Index

Fetch the complete documentation index at: https://berachain-422fce37-feat-nodes-section-reno.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Use this guide when you want to create and deploy an ERC20 token on Berachain using Foundry (Forge for build/deploy, Cast for calls).

Repository

Requirements

Stack

Foundry, Solidity, ERC20.

Quick start

  1. Clone and install
    git clone https://github.com/berachain/guides.git && cd guides/apps/foundry-erc20
    forge build
    
  2. Set PRIVATE_KEY and RPC (e.g. https://bepolia.rpc.berachain.com/) in env or --rpc-url.
  3. Deploy with forge create or a script; use cast to interact. Exact commands are in the README.
For full deploy and test commands, fetch the raw README.