TL;DR: Hacking on GSN for Hack.Money
- PayMaestro is a GSN2 Paymaster: add, fund and manage your contracts, and have some gas to get you started!
- Video Demo
- Extending Austin Griffith's scaffold-eth as a Proof-of-Concept
First, you'll need NodeJS>=10 plus Yarn and Git installed.
💾 Clone/fork repo and then install:
yarn install
⛓ Start your local blockchain powered by 👷♀️Buidler:
yarn run chain
Note: You'll need to run this command in a new terminal window
Get GSN running locally
yarn gsn-start
Note: You'll need to run this command in another new terminal window
Update the packages/buidler/contracts/PayMaestro.args file with the RelayHub address
⚙️ Compile your contracts:
yarn run compile
🚢 Deploy your contracts to the frontend:
yarn run deploy
You're ready to run the frontend!
yarn start
Tip of the hat to: ⚛️ React 📱create-eth-app 🔧Ethers.js scaffold-eth antd truffle