@astonic-io/astonic-sdk
Version:
Official SDK for interacting with the Astonic Protocol
24 lines (15 loc) • 651 B
Markdown
The official Astonic Protocol SDK for interacting with Multi-Collateral Astonic smart contracts on the Planq network.
```sh
npm install @astonic-io/astonic-sdk
yarn add @astonic-io/astonic-sdk
```
Anytime we launch a new stable token, we need to update the tradable pairs cache.
The `yarn cacheTradablePairs` script generates a TypeScript file containing a list of all tradable pairs on the Astonic protocol. This file is used to cache the tradable pairs in the SDK and avoid costly re-fetching from the network.
```sh
yarn cacheTradablePairs
```