SkillAgentSearch skills...

Gasless

Send DAI without ETH in your wallet

Install / Use

/learn @mosendo/Gasless
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

  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

View on GitHub
GitHub Stars41
CategoryDevelopment
Updated1y ago
Forks11

Languages

Vue

Security Score

60/100

Audited on Nov 24, 2024

No findings