epan / fweb3.xyz

Home Page:fweb3.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website

Get a PolygonScan API key and put it in .env.local:

POLYGON_API_KEY=

Run local server:

npm run dev

Push to main branch to deploy.

Smart contract

Setup:

npm install @openzeppelin/contracts

Verify:

npx hardhat verify --network mainnet 0x95cd50f9d591630db85d95c932bbc704dc0ae92a

Testing

To run the tests using Cypress:

  1. Install dev dependencies: npm install
  2. Run local server: npm run dev
  3. Run Cypress tests in a separate terminal: npm run e2e

About

fweb3.vercel.app


Languages

Language:TypeScript 56.3%Language:JavaScript 21.3%Language:Solidity 18.0%Language:CSS 4.4%