This a basic metacoin, with minimal modifications to support working through GSN, without the client paying for gas. You still need a wallet, but only for signing transactions, not paying for them.
See https://github.com/opengsn/gsn for the GSN project.
The Metacoin itself pays for all transactions.
Running the project
yarn run gsn-with-ganacheto run local ganache and bring up GSN contracts and relayer.
- In another terminal, run
truffle migrateto install MetaCoin
yarn run devto run metacoin demo on
- open a browser, and you can mint, and send coins, with no eth in your (metamask) account
- you can also switch to
rinkebyto see it running there (or open it in http://metacoin.opengsn.org)
gsn-with-ganache script above does 2 things:
ganachewith same chainId and networkId (to overcome limitation of Metamask)
npx gsn start, to start all GSN components locally.