3.1.0 • Published 2 years ago

@centrifuge/tinlake-js v3.1.0

Weekly downloads
22
License
MIT
Repository
github
Last release
2 years ago

Tinlake JavaScript Client

Usage

Documentation can be found in ./docs/ or at https://centrifuge.github.io/tinlake.js/.

Development

Install dependencies with yarn install.

Running tests

Pre Installed

Run a local Ethereum Node

dapp testnet --accounts=2

Additional Flags

--save=name after finishing, save snapshot --load=name start from a previously saved snapshot

Update dependencies/submodules

./bin/update.sh

Deploy Tinlake Contracts for Tests

./bin/deploy.sh

Run integration tests

yarn test

Alternatively, run a docker-based local network with all tinlake contracts deployed

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

Use the docker container to interact with the chain

docker run -it --rm centrifugeio/tinlake-in-a-box:latest seth help

Building for production

Create a bundle in the ./dist folder with npm run build.

Creating documentation

We use TypeDoc for documentation. Run npm run generate-docs to recreate the ./docs/ folder. Checkout TSDoc for formatting guidelines.

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0-develop.35

3 years ago

3.0.0-develop.34

4 years ago

3.0.0-develop.33

4 years ago

3.0.0-develop.32

4 years ago

3.0.0-develop.31

4 years ago

3.0.0-develop.30

4 years ago

3.0.0-develop.29

4 years ago

3.0.0-develop.28

4 years ago

3.0.0-develop.27

4 years ago

3.0.0-develop.26

4 years ago

3.0.0-develop.25

4 years ago

3.0.0-develop.24

4 years ago

3.0.0-develop.23

4 years ago

3.0.0-develop.22

4 years ago

3.0.0-develop.21

4 years ago

3.0.0-develop.20

4 years ago

3.0.0-develop.19

4 years ago

3.0.0-develop.18

4 years ago

3.0.0-develop.17

4 years ago

3.0.0-develop.16

4 years ago

3.0.0-develop.13

4 years ago

3.0.0-develop.12

4 years ago

3.0.0-develop.15

4 years ago

3.0.0-develop.14

4 years ago

3.0.0-develop.11

4 years ago

3.0.0-develop.10

4 years ago

3.0.0-develop.9

4 years ago

3.0.0-develop.8

4 years ago

3.0.0-develop.7

4 years ago

3.0.0-develop.6

4 years ago

3.0.0-develop.5

4 years ago

3.0.0-develop.4

4 years ago

3.0.0-develop.3

4 years ago

3.0.0-develop.2

4 years ago

3.0.0-develop.1

4 years ago

0.0.19-develop.9

4 years ago

0.0.19-develop.8

4 years ago

0.0.19-develop.7

4 years ago

0.0.19-develop.5

4 years ago

0.0.18

4 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago