Skip to content

Latest commit

 

History

History
82 lines (54 loc) · 1.59 KB

README.md

File metadata and controls

82 lines (54 loc) · 1.59 KB

@quickdapp/contracts

Companion smart contracts template repository for QuickDapp.

  • Fully upgradeable contracts using EIP-2535 Diamond Standard
  • Full upgrade lifecycle management using Gemforge
  • Build and deploy commands already setup
  • Pre-configured config file
  • Post-deploy hook for Etherscan verification

This repo is a copy of the official Gemforge scaffold.

Deployments

  • Base Sepolia: 0x3412554e250Faaa6a94E121f9EC760E2C350aA3F (Basescan)

Requirements

Installation

Install and bootstrap:

pnpm i
pnpm bootstrap

Create .env and set the following within:

Usage

Run a local dev node in a separate terminal:

pnpm devnet

To build the code:

pnpm build

To run the tests:

pnpm build

To deploy to local testnet:

pnpm dep local

To deploy to Base Sepolia:

export PRIVATE_KEY=<your deployment wallet private key as hex>
pnpm dep baseSepolia

To verify the source code on Base Sepolia:

export BASESCAN_API_KEY=<your basescan api key>
pnpm verify baseSepolia

For verbose output simply add -v, e.g:

pnpm dep -v

License

MIT - see LICENSE.md