Gasless Wallet
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
Use the Gasless relayer in your own project
See https://github.com/mosendo/gasless.js
Truffle Contracts
You need the Truffle Suite installed on your machine.
sudo npm i -g truffle
Development
- Run Truffle development environment
truffle develop
- Migrate contracts
migrate
Mainnet Deployment
- Set private key as environment variable
export PRIVKEY="YOURPRIVATEKEY"
- Migrate to mainnet
truffle migrate --network="live"
Vue App
The vue app is located at the /app directory
cd app/
Development
npm run serve
Bundle
- Set the Infura Access Key environment variable:
export INFURA_ACCESS_KEY="YOURACCESSKEYHERE"
- Build!
npm run build
The bundle will be placed at /app/dist