Skip to content

orionprotocol/orion-pool-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrionPool SDK

code style: prettier Actions Status npm version

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published