Gasless is a non-custodial wallet for MCD Dai native meta-transactions. It leverages Dai's new approve by signature feature (aka permit function).
Read more about the making of Gasless: https://medium.com/mosendo/gasless-by-mosendo-3030f5e99099
This repo contains contracts and the frontend of the Gasless wallet
See https://github.com/mosendo/gasless.js
You need the Truffle Suite installed on your machine.
sudo npm i -g truffle- Run Truffle development environment
truffle develop- Migrate contracts
migrate- Set private key as environment variable
export PRIVKEY="YOURPRIVATEKEY"- Migrate to mainnet
truffle migrate --network="live"The vue app is located at the /app directory
cd app/npm run serve- Set the Infura Access Key environment variable:
export INFURA_ACCESS_KEY="YOURACCESSKEYHERE"- Build!
npm run buildThe bundle will be placed at /app/dist