6.0.0 • Published 5 years ago

@keydonix/liquid-long-client-library v6.0.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
5 years ago

Building Contracts

cd contracts
npm install
npm run build

Deploying the Contracts

cd contracts
docker image build -f Dockerfile-Parity -t parity-liquid-long .
docker image build -f Dockerfile-Geth -t geth-liquid-long .

or

cd contracts
npm install
# set environment variables according to your environment
ETHEREUM_HTTP=http://localhost:8545
ETHEREUM_GAS_PRICE_IN_NANOETH=1
ETHEREUM_PRIVATE_KEY=fae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a
ETHEREUM_OASIS_ADDRESS=0x3c6721551c2ba3973560aef3e11d34ce05db4047
ETHEREUM_MAKER_ADRESS=0x93943fb2d02ce1101dadc3ab1bc3cab723fd19d6
npx ts-node --project deployment/tsconfig.json deployment/scripts/deploy.ts

Building Client Library

Note: You must first build the contracts to generate

cd client-library
docker image build -t liquid-long-client .

or

cd client-library/library
npm install
npm run build

Testing and Using with a UI

docker-compose up --build --force-recreate --renew-anon-volumes

then point your UI that uses the library at http://localhost:1235 (Parity) or http://localhost:1236 (Geth) and the Liquid Long contract at 0xB03CF72BC5A9A344AAC43534D664917927367487

6.0.0

5 years ago

5.1.0

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.0.0

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago