3.1.0 • Published 3 years ago

@centrifuge/tinlake-js v3.1.0

Weekly downloads
22
License
MIT
Repository
github
Last release
3 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

3 years ago

3.0.1

4 years ago

3.0.0-develop.35

5 years ago

3.0.0-develop.34

5 years ago

3.0.0-develop.33

5 years ago

3.0.0-develop.32

5 years ago

3.0.0-develop.31

5 years ago

3.0.0-develop.30

5 years ago

3.0.0-develop.29

5 years ago

3.0.0-develop.28

5 years ago

3.0.0-develop.27

5 years ago

3.0.0-develop.26

5 years ago

3.0.0-develop.25

5 years ago

3.0.0-develop.24

5 years ago

3.0.0-develop.23

5 years ago

3.0.0-develop.22

5 years ago

3.0.0-develop.21

5 years ago

3.0.0-develop.20

5 years ago

3.0.0-develop.19

5 years ago

3.0.0-develop.18

5 years ago

3.0.0-develop.17

5 years ago

3.0.0-develop.16

5 years ago

3.0.0-develop.13

5 years ago

3.0.0-develop.12

5 years ago

3.0.0-develop.15

5 years ago

3.0.0-develop.14

5 years ago

3.0.0-develop.11

5 years ago

3.0.0-develop.10

5 years ago

3.0.0-develop.9

5 years ago

3.0.0-develop.8

5 years ago

3.0.0-develop.7

5 years ago

3.0.0-develop.6

5 years ago

3.0.0-develop.5

5 years ago

3.0.0-develop.4

5 years ago

3.0.0-develop.3

5 years ago

3.0.0-develop.2

5 years ago

3.0.0-develop.1

5 years ago

0.0.19-develop.9

5 years ago

0.0.19-develop.8

5 years ago

0.0.19-develop.7

5 years ago

0.0.19-develop.5

5 years ago

0.0.18

5 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago