This repository contains multiple packages for constructing and working with APL token-related programs on top of @saturnbtcio/arch-sdk.
-
@saturnbtcio/apl-token
- TypeScript SDK for constructing and serializing the APL Token Program instructions (initialize mint/account, transfer, approve, burn, freeze, thaw, checked variants, utility conversions, etc.).
- README: packages/apl-token/README.md
-
@saturnbtcio/apl-ata
- Helpers for creating Associated Token Accounts (ATA) and idempotent ATA instructions compatible with
@saturnbtcio/arch-sdk. - README: packages/ata-instructions/README.md
- Helpers for creating Associated Token Accounts (ATA) and idempotent ATA instructions compatible with
-
@saturnbtcio/apl-token-metadata
- Helpers for Token Metadata: PDAs, program constants, and instruction builders.
- README: packages/apl-token-metadata/README.md
This is a pnpm workspace. From the repo root:
pnpm install
pnpm -r buildTo work within a specific package, cd into it and run its scripts (e.g., pnpm build).
- Each package is published independently and specifies its own
buildandlintscripts. - All packages depend on
@saturnbtcio/arch-sdkfor shared primitives likeInstruction,AccountMeta, andPubkey.
- APL Token SDK: packages/apl-token/README.md
- ATA Instructions: packages/ata-instructions/README.md
- Token Metadata SDK: packages/apl-token-metadata-sdk/README.md