Skip to content

ERC20 Standard token, with utility for creating and selling url based keys

Notifications You must be signed in to change notification settings

davidmichaelakers/tokenwithkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Standard ERC20 Token contract with keys

This is standard token contract, that additionally allows token holders to create a key unique to a url, then sell those for tokens.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To run this locally you will need the Truffle framework, node.js, npm, and a local development ethereum node

Installing

Install truffle


$ npm install -g truffle

Once you have cloned the project, from inside the project directory you'll need to run npm install to get the testing libraries.


$ npm install

Start up your ethereum node then compile and deploy your contracts. You'll need two unlocked accounts on your ethereum client to be able to run the token transfer tests successfully.


$ truffle compile
$ truffle migrate

Running the tests

Once the contracts are deployed to your development ethereum node you can run the test like this.


$ truffle test

Test Overview

There are several tests that cover basic ERC20 Token functionality, and three tests that look at the Key related functionality.

Authors

Acknowledgments

About

ERC20 Standard token, with utility for creating and selling url based keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages