Skip to content

msrijai/gasless

 
 

Repository files navigation

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://www.npmjs.com/package/gasless

Truffle Contracts

You need the Truffle Suite installed on your machine.

sudo npm i -g truffle

Development

  1. Run Truffle development environment
truffle develop
  1. Migrate contracts
migrate

Mainnet Deployment

  1. Set private key as environment variable
export PRIVKEY="YOURPRIVATEKEY"
  1. 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

  1. Set the Infura Access Key environment variable:
export INFURA_ACCESS_KEY="YOURACCESSKEYHERE"
  1. Build!
npm run build

The bundle will be placed at /app/dist

Releases

No releases published

Packages

No packages published

Languages

  • Vue 56.6%
  • JavaScript 41.6%
  • HTML 1.8%