Code Monkey home page Code Monkey logo

metacoin's Introduction

GSN-Based metacoin.

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.

Other than supporting GSN, the project added links to tenderly and etherscan, to ease seeing the various components on the blockchain

Running the project

The "TL;DR"

  1. Run yarn install
  2. Run yarn run gsn-with-ganache to run local ganache and bring up GSN contracts and relayer.
  3. In another terminal, run truffle migrate to install MetaCoin
  4. Run yarn run dev to run metacoin demo on http://localhost:8080
  5. open a browser, and you can mint, and send coins, with no eth in your (metamask) account
  6. you can also switch to ropsten/kovan/rinkeby to see it running there (or open it in http://metacoin.opengsn.org)

NOTES:

The gsn-with-ganache script above does 2 things:

  • Starts ganache with same chainId and networkId (to overcome limitation of Metamask)
  • calls npx gsn start, to start all GSN components locally.

metacoin's People

Contributors

drortirosh avatar tcoulter avatar shahafn avatar forshtat avatar onlyonejmjq avatar dougvk avatar benjamincburns avatar ltfschoen avatar bmmpxf avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.