SDKs and Examples
Overview
Each of the 5 programs has a JavaScript SDK and a Rust Client.
All JavaScript SDKs can be installed via npm, while all Rust Clients are live on crates.
Additionally, we've prepared JavaScript examples to demonstrate how to interact with the new programs from the client-side (eg in a React app, or on a backend server).
Program | JavaScript | Rust | Examples |
---|---|---|---|
Marketplace | Source Code | SDK | Source Code | SDK | JS Examples |
AMM | Source Code | SDK | Source Code | SDK | JS Examples |
Whitelist | Source Code | SDK | Source Code | SDK | JS Examples |
Escrow | Source Code | SDK | Source Code | SDK | JS Examples |
If you plan on using our JavaScript SDKs, make sure to read Breaking JS SDK Changes.
The old SDKs will not be supported going forward and will partially lose their functionality. For the timeline and more information regarding the deprecation process of existing SDKs, please take a look at this announcement!
Updated about 2 months ago