Skip to content

neu-fi/zugift-monorepo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zugift

ENSBound Zugift NFTs for funding Zuzalu through creating an endorsement network

Development

Use Node 16+ and Yarn 3.

Tab 1

Install dependencies

yarn

Run Hardhat Chain

yarn chain

Tab 2

While keeping the yarn chain tab open, follow the instructions below in a seperate tab.

Deploy the contract

yarn deploy

While deploying if the hardhat chain crashes due to heap allocation error, please use --max-memory parameter. In order to do that, add --max-memory <memory-size> to the packages/backend/package.json. e.g.

hardhat deploy --max-memory 8192 --export-all ../frontend/contracts/hardhat_contracts.json

Run the frotnend

yarn dev

Notes

In order to run it locally with ENS, run a local ETH mainnet fork

npx hardhat node --fork https://eth-mainnet.g.alchemy.com/v2/{KEY}

Documentations

  • create-web3.xyz to view the full documentation of the boilerplate.
  • wagmi to learn more about the React Hooks for Web3 integrations library.
  • RainbowKit for the wallet connection component.

About

ENSBound Zugift NFTs for funding Zuzalu through creating an endorsement network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 49.0%
  • TypeScript 47.7%
  • CSS 3.2%
  • JavaScript 0.1%