Skip to content

alcueca/LicenseToken

Repository files navigation

README

This is a simple contract to show how to use an ERC721 token to keep track of software licenses, using an ERC20 token to manage payments.

Installation

  • ganache app (most recent, please)
  • browser which supports metamask

Usage

For those who are not familiar with ethereum development and will not be working with it follow the steps bellow (for ethereum developers, see development):

If it's you first time

  1. download ganache ui app
  2. run the ganache ui app
  3. look at rpc server in the app, should say "http://localhost:9545". Otherwise go to options and change the port and click "save and restart"
  4. npm run dev on this folder (will migrate the contracts)
  5. install metamask extesion for your browser (one that supports metamask), and configure it
  6. add a new network to metamask (the one from ganache app "http://localhost:9545")
  7. reload browser

If it's not your first time, execute only steps 2,4,7

About

Implements an ERC721 license token with validity by top up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published