Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Latest commit

 

History

History
75 lines (53 loc) · 2.32 KB

README.md

File metadata and controls

75 lines (53 loc) · 2.32 KB

Contracts Build Status

Greenkeeper badge Neufund smart contracts

Build and test

On testrpc:

git clone https://github.com/Neufund/Contracts.git
cd Contracts
npm install
npm run testrpc &
npm run test
npm run deploy

Using solc: Truffle currently does not handler syntax errors nicely. To check the contracts for errors, you can run:

solc ./contracts/*.sol ./contracts/*/*.sol

Repositories of contracts

These are collections of contracts for reference:

Package managers

Collections

Libraries

Projects

Guidelines to writing contracts

The overall design is Multi-contract & Multi-state. Contracts have owners and owners can update references to other contracts.

https://blog.ethereum.org/2017/01/07/introduction-light-client-dapp-developers/ TODO: ERC with getLogEvents(logKeys[], uint firstBlock, uint lastBlock)

// See: https://ethereum.stackexchange.com/questions/9745/is-there-any-way-for-a-contract-to-know-when-it-gets-sent-a-token