Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.19 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.19 KB

This demonstrates an ERC1155/ERC2771 semi-fungible contract with meta transactions and token metadata stored on IPFS, as well as a gasless web app to initialize, view and mint new tokens.

Only local dev works for now. The deployment to testnets is waiting for updated 3.x GSN contracts (RelayHub/Forwarder) there, see the discussion on OpenGSN Discord server.

Tech:

Local dev

Copy sol/.env.example to sol/.env and web/.env.example to web/.env and fill in the missing env vars.

  • yarn sol:node starts Hardhat Network
  • yarn sol:gsn deploys GSN contracts, and starts a relay server
  • yarn sol:deploy:localhost deploys TokenStore and WhitelistPaymaster contracts
  • yarn web:dev starts Next.js app at http://localhost:3000