Skip to content
/ guides Public
forked from berachain/guides

A demonstration of different contracts, languages, and libraries that work with Berachain EVM.

Notifications You must be signed in to change notification settings

Nealsen/guides

 
 

Repository files navigation

Berachain Guides

A collection of Berachain EVM example code, frameworks, languages, contracts, and more.

Requirements

  • NVM or Node v18.18.2+
  • pnpm (recommended)

Turborepo Folder Structure

This Turborepo includes the following packages/apps:

Apps

  • apps/ethers6-solc-helloworld - Deploy HelloWorld contract with ethers6
  • apps/viem-solc-helloworld - Deploy HelloWorld contract with viem
  • apps/foundry-erc20 - Deploy ERC20 contract with foundry
  • apps/hardhat-ethers6-erc1155 - Deploy ERC1155 contract with hardhat ethers6
  • apps/hardhat-viem-helloworld - Deploy HelloWorld contract with hardhat viem
  • apps/walletconnect-nextjs - WalletConnect Web3Modal frontend contract deployment

Quick Start

Install dependencies for all apps and packages.

# FROM: ./

pnpm install;

Create and modify your .env and make the modifications you need to it.

cp .env.example .env;

If you'd like to deploy to the chain:

# FROM: ./

# IMPORTANT: --no-cache is important to avoid caching the result of the deployments
pnpm deploy:berachain --filter foundry-erc20 --no-cache;

About

A demonstration of different contracts, languages, and libraries that work with Berachain EVM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 60.3%
  • JavaScript 30.5%
  • Ruby 7.4%
  • TypeScript 1.3%
  • Shell 0.2%
  • Python 0.2%
  • Other 0.1%