Name: eth-stdlib
Owner: ConsenSys
Description: Standard Library for Ethereum
Created: 2015-09-15 16:25:20.0
Updated: 2017-12-08 20:05:50.0
Pushed: 2015-09-15 17:01:04.0
Homepage: null
Size: 93
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A standard contract library for Ethereum.
All contracts contained in the library have two forms:
./contracts
; and,Depending on your project you'll need to use both. Import the full Solidity code into your contract when you need to extend one of the Standard Library classes or you need to put a new instance of that class on the blockchain; import the contract header file when you only need to make calls on an Standard Library class that already exists on the blockchain.
Contributing classes to the Standard Library is easy.
./contracts
directory.truffle compile
. Get Truffle../make_headers.es6
to remake all the header files automatically, which includes a header file for the contract you just added../test
truffle test