raydium-sdk-mjs
v1.0.1-beta.47
Published
An SDK for building applications on top of Raydium.
Downloads
4
Readme
Raydium SDK
An SDK for building applications on top of Raydium.
Installation
Yarn
$ yarn add @raydium-io/raydium-sdk
npm
$ npm install @raydium-io/raydium-sdk --save
Hosting JSON files
Tokens List
- Solana format: https://sdk.raydium.io/token/solana.mainnet.json
- Raydium format: https://sdk.raydium.io/token/raydium.mainnet.json
Token Icons
- https://sdk.raydium.io/icons/{mint}.png
Liquidity Pools List
Includes all pubkeys that build transaction need
- https://sdk.raydium.io/liquidity/mainnet.json
Farm/Staking Pools List
Includes all pubkeys that build transaction need
- https://sdk.raydium.io/farm/mainnet.json
Program IDs
| Function | Version | Mainnet | | --------------- | ------- | -------------------------------------------- | | AMM / Liquidity | 4 | 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 | | Farm / Staking | 3 | EhhTKczWMGQt46ynNeRX1WfeagwwJd7ufHvCDjRxjo5Q | | Farm / Staking | 5 | 9KEPoZmtHUrBbhWN1v1KWLMkkvwY6WLtAVUCPRtRjP4z | | AMM Route | 1 | routeUGWgWzqBWFcrCfv8tritsqukccJPu3q5GPP3xS | | Serum | 3 | 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin |
Usage
Marshmallow
Full layout type inference
Development
yarn install && yarn install-peers
Reference
- https://github.com/ethers-io/ethers.js/tree/master/packages/bignumber
- https://github.com/pancakeswap/pancake-swap-sdk
- https://github.com/project-serum/serum-ts
- https://yarnpkg.com/advanced/lifecycle-scripts