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.
Make sure to have the following installed:
- Node.js (v16.x or above)
- npm or yarn or pnpm
- Hardhat
Clone the repository:
git clone https://github.com/yourusername/2base-contracts.git
cd 2base-contractsInstall dependencies:
npm install
# or
yarn installHere are steps and Hardhat commands to get going:
Compile contracts:
npx hardhat compileRun a local network:
npx hardhat nodeDeploy the factory contract:
npx hardhat run scripts/deploy.js --network sepoliaVerify contracts (optional):
npx hardhat verify --network sepoliaFactory gets deployed on 0xe3f967438614f51D12a83db471b052eE928d9518
2Base Factory
0xF5CD700Cb63696CAb29987AC22fd431eB8A15886