Skip to main content
The SDK provides instruction-level APIs that return instructions without sending transactions. Combine these instructions to build custom transactions with multiple instructions.
This guide demonstrates creating a token pool and compressing existing SPL tokens in a single transaction.

Full Code Example

1

Prerequisites

Make sure you have dependencies and developer environment set up!
Dependencies
Developer Environment
By default, all guides use Localnet.
2

Create Token Pool + Compress

create-pool-and-compress.ts

Next Steps

Create an Airdrop with Compressed Tokens.