Note: this project has been moved to the new repo at https://github.com/centrifuge/apps.
Documentation can be found in ./docs/
or at https://centrifuge.github.io/tinlake.js/.
Install dependencies with npm install
.
- DappTools (https://dapp.tools/)
- jq
dapp testnet --accounts=2
--save=name
after finishing, save snapshot
--load=name
start from a previously saved snapshot
./bin/update.sh
./bin/deploy.sh
npm run test
1. Build the docker image
docker build -t centrifugeio/tinlake-in-a-box:latest .
2. To get the contract addresses from the container, run
docker run -it --rm centrifugeio/tinlake-in-a-box:latest cat /app/test/addresses.json > ./test/addresses.json
3. Run a docker container
docker run --rm -p 8545:8545 centrifugeio/tinlake-in-a-box:latest
docker run -it --rm centrifugeio/tinlake-in-a-box:latest seth help
Create a bundle in the ./dist
folder with npm run build
.
We use TypeDoc for documentation. Run npm run generate-docs
to recreate the ./docs/
folder.
Checkout TSDoc for formatting guidelines.