This kit is based on the started-kit-gsn
Install Ganache and Truffle
npm install -g truffle@5.0.41 ganache-cli@6.7.0
-
Start local blockchain node
ganache-cli --deterministic -
Install the dependencies
npm install -
Deploy the contract and make sure to invoke the initiate method and note down the contract address
npx @openzeppelin/cli create -
Fund the contract
npx oz-gsn fund-recipient --recipient <contract-address> -
Deploy relayHub and start the relayer
npx @openzeppelin/gsn-helpers run-relayer -
Run the frontend app
cd client && npm install && npm start