@orionprotocol/orion-pool-sdk
v1.0.1
Published
🛠 An SDK for building applications on top of OrionPool.
Downloads
18
Readme
OrionPool SDK
In-depth documentation on this SDK is available at here. (see test/bsc.trade.test.ts for BSC-network example)
Running tests
To run the tests, follow these steps. You must have at least node v10 and yarn installed.
First clone the repository:
git clone https://github.com/orionprotocol/orion-pool-sdk.git
Move into the orion-pool-sdk working directory
cd orion-pool-sdk/
Install dependencies
yarn install
Run tests
yarn test
You should see output like the following:
yarn run v1.22.10
$ tsdx test
PASS test/bsc.pair.test.ts
PASS test/bsc.fetch.pair.test.ts
PASS test/bsc.trade.test.ts
PASS test/bsc.fetch.token.test.ts (5.051s)
PASS test/eth.pair.test.ts (5.06s)
PASS test/eth.trade.test.ts (6.202s)
Test Suites: 6 passed, 6 total
Tests: 10 passed, 10 total
Snapshots: 0 total
Time: 8.09s
Ran all test suites.
Done in 10.16s.