The repository contains Ethereum Smart Contracts implementing core SignHash functionality, identity management and donations. You can read more about SignHash project in the whitepaper.
The project uses NPM and Truffle Framework.
Contracts are written in Solidity. Everything else (migrations, tests, scripts) is written in TypeScript.
Contracts code resides in contracts directory.
You can find compiled ABI and network addresses in build directory.
Clone repository and install dependencies
git clone https://github.com/SignHash/signhash-contracts.git
cd signhash-contracts
npm install
Compile contracts
npm run compile
Run tests
npm test
Run linters
npm run lint
Run migrations on testrpc
npm run migrate
Setup testrpc with deployed contracts
npm run seed
Configuration is documented in Truffle docs.
Significant changes to SignHash smart contracts, architecture or functionality should be proposed in the proposals repository.
Please follow tslint and solhint configurations. TypeScript code is auto-formatted in git pre-commit hook and follow prettier configuration.
The code in this project is licensed under the MIT license.