0xjac / ERC777

New Standard for Ethereum Token
Mozilla Public License 2.0
128 stars 70 forks source link
erc20 erc777 ethereum solidity token token-contract

ERC777

Build Status Coverage License npm version npm downloads Solidity version EIP logo

A New Advanced Token Standard for Ethereum

This standard defines a new way to interact with a Token Contract. This standard takes advantage of ERC820.

:warning: This code has not been reviewed or audited. :warning:

Please review all the code you use in your token-related project including the code provided here. The code here is provided "as is" without warranty of any kind and The authors are not liable as mentioned in the license.

Proposal

The official proposal can be found at: eips.ethereum.org/EIPS/eip-777.

The original submission with discussion can be found at: ethereum/eips/issues#777 (initial pull request: ethereum/eips/issues#907).

You can suggest improvements to the reference implementation by submitting pull requests to this repository with modifications to eip-777.md.

For suggestions related to the standard, please comment on the original submission at: ethereum/eips/issues#777

Specification

A copy of the specification can be found in this repository at eip-777.md.

Reference Implementation

The reference implementation is available at: contracts/examples/ReferenceToken.sol

This repository including the specification and the reference implementation can be installed via npm with:

npm install erc777

Logo

The logo MUST NOT be used to advertise, promote or associate in any way technology – such as tokens – which is not ERC777 compliant.

The official logo for the standard can be found in the official EIPs repository at: /ethereum/EIPs/assets/eip-777/logo.
Copies of the logo are provided here as well as a courtesy and can be found in the logo folder in svg and png formats.

Variations exist in 5 colors as follow:

Image
Color beige white light grey
dark grey
black
Hex #C99D66 #FFFFFF #EBEFF0 #3C3C3D #000000

Thanks to Samantha Rosso @Sauuman for creating the logo.

License

The standard definition as defined in eip-777.md and the official logo are placed in the public domain via CC0.

Apart from the standard definition (in eip-777.md) and the logo, the content of this repository is licensed under the Mozilla Public License ("MPL") 2.0, also included in this repository in the LICENSE file.

Authors