GithubHelp home page GithubHelp logo

takertao2 / timev2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrono-tech/timev2

0.0 0.0 0.0 827 KB

TIME Token Contracts for the ChronoTech project

Home Page: https://chrono.tech

License: MIT License

JavaScript 31.30% Solidity 68.70%

timev2's Introduction

TIMEv2 Token Contracts Build Status

The TIMEv2 token is an EIP20 token with additional ERC677 functionality forked from LINK token by ChainLink.

To prevent accidental burns, the token does not allow transfers to the contract itself and to 0x0.

Security audit for v0.4 version of the contracts is available here.

Installation

The project contains v0.4 contracts that were used for LINK Ethereum Mainnet deployment in 2017. For deployments moving forward, we use the updated v0.6 contracts which use a more recent version of solc and the OpenZeppelin token standards. These updates include a minor ABI change around approval/allowance naming.

yarn install

Testing

Before running tests, open a new terminal and start Ganache on port 8454:

ganache-cli -l 8000000

Run tests:

yarn test

This will instruct the tests to run against your locally deployed instance of Ganache.

Or you can test specific version separately:

yarn test:v0.4

Migration

To migrate v0.4 contracts run:

yarn migrate:v0.4

To migrate v0.6 contracts run:

yarn migrate:v0.6

This will migrate the TIME Token contract to your locally deployed instance of Ganache blockchain.

timev2's People

Contributors

se3000 avatar krebernisak avatar mikefluff avatar thodges-gh avatar rupurt avatar dependabot[bot] avatar davidwparker avatar henrynguyen5 avatar j16r 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.