An organization administers other contracts. For an individual contract or a system of contracts, an organization enables limiting execution of certain functions to the organization or other accounts it authorizes (e.g., "workers").
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Project requires node and npm to be installed.
git clone git@github.com:OpenST/organization-contracts.gitInstall npm packages:
cd organization-contracts
npm installThe contracts and interfaces in this repository are primarily intended for use in other OpenST projects. Please see Related Work.
The following npm script compiles updated contracts since the last compile using truffle:
npm run compileTo compile all contracts, including the ones that haven't changed:
npm run compile-allWe use the ganache blockchain for development. Before running the tests, start ganache:
npm run ganache-cliTest the contracts using truffle:
npm testESLint is used to lint js files.
To lint all js files within the ./test and ./tool directories, run:
npm run lintOpenST uses organization contracts and interfaces in mosaic-contracts, brandedtoken-contracts, and openst-contracts to scale, create, and define blockchain token economies.
There are multiple ways to contribute to this project. However, before contributing, please first review the Code of Conduct.
We track our issues on GitHub.
To contribute code, please review our Developer Guidelines and ensure that your submissions adhere to the Style Guide; please also be aware, this project is under active development and we have not yet established firm contribution guidelines or acceptance criteria.