Skip to content

raj-bhadra/2base-contracts

Repository files navigation

2Base Contracts - Hardhat

This Hardhat project demonstrates the smart contracts behind 2Base, designed to help onboard Web2 creators into the Base ecosystem. It includes contract testing and deployment using the hardhat framework and deployed contract on the Base Sepolia testnet.

Prerequisites

Make sure to have the following installed:

  • Node.js (v16.x or above)
  • npm or yarn or pnpm
  • Hardhat

Setup

Clone the repository:

git clone https://github.com/yourusername/2base-contracts.git
cd 2base-contracts

Install dependencies:

npm install
# or
yarn install

Key Commands

Here are steps and Hardhat commands to get going:

Compile contracts:

npx hardhat compile

Run a local network:

npx hardhat node

Deploy the factory contract:

npx hardhat run scripts/deploy.js --network sepolia

Verify contracts (optional):

npx hardhat verify --network sepolia

Factory gets deployed on 0xe3f967438614f51D12a83db471b052eE928d9518


To Interact with Base Sepolia Testnet Deployment

2Base Factory 0xF5CD700Cb63696CAb29987AC22fd431eB8A15886

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •