Skip to content

eToken is stablecoin implementation by eToro targeting the Ethereum platform

License

Notifications You must be signed in to change notification settings

etoroxlabs/eToken

Repository files navigation

eToken - an eToro stablecoin

Build Status Coverage Status

eToken is stablecoin implementation by eToro targeting the Ethereum platform.

USAGE

To test the library and setup the development environment, issue the following commands in a shell:

  yarn install
  yarn test # compile and test

Prerequisites

You need to have yarn and node installed. This repository has only been tested on UNIX-derived systems.

Design overview

See separate document.

FILES

Path Description
contracts/ All the solidity files making up the implementation
contracts/token Contains the eToken implementation
contracts/token/ERC20 ERC20 implementation using an external storage
contracts/roles Defines the roles implementation, i.e. whitelisting, blacklisting, miners etc.
contracts/lifecycle Implements lifecycle behaviors. Taken from OpenZeppelin
contracts/mocks Contracts used specifically for testing purposes
test/ Contains testing code in JavaScript
scripts/  Specific scripts for testing, coverage & upgrading tokens