Coder Social home page Coder Social logo

davesag / erc884-reference-implementation Goto Github PK

View Code? Open in Web Editor NEW
42.0 13.0 17.0 568 KB

An Interface and Reference Implementation of the ERC-884 DGCL Token.

Home Page: https://medium.com/coinmonks/tokenising-shares-introducing-erc-884-cc491258e413

License: MIT License

JavaScript 100.00%
smart-contracts erc20 erc20-tokens erc-884 reference-implementation

erc884-reference-implementation's Introduction

ERC884-reference-implementation

Greenkeeper badge

An Interface and Reference Implementation of the ERC-884 Delaware General Corporate Law compliant (DGCL) token.

Branch Status Coverage
develop CircleCI codecov Work in progress — updating for Truffle V5
master CircleCI codecov Last stable release

Status

An ERC-884 token is an ERC-20 compatible token that is compliant with Delaware General Corporate Law.

Development

The smart contracts are implemented using Solidity 0.4.24.

Development Prerequisites

  • NodeJS, version 10 (I use nvm to manage Node versions — brew install nvm.) note does not work with Node 12.
  • truffle, which is a comprehensive framework for Ethereum development. npm install -g truffle — this should install Truffle v5.0.1 or better. Check that with truffle version.

Initialisation

npm install

Testing

Standalone

npm test

or with code coverage

npm run test:cov

From within Truffle

Run the truffle development environment

truffle develop

then from the prompt you can run

compile
migrate
test

as well as other Truffle commands. See truffleframework.com for more.

Linting

You can use the following linting options

  • npm run lint:sol — to lint the Solidity files, and
  • npm run lint:js — to lint the Javascript.

Contributing

Please see the contributing notes.

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.