Monorepo for the JupUSD mint & redeem Solana program and tooling:
- Onchain program (Anchor):
jup-stable - TypeScript SDK:
jup-stable-sdk(generated + quote helpers) - CLI:
jup-stable(admin/operator workflows)
programs/jup-stable/: core stablecoin program
packages/sdk/:jup-stable-sdk(generated clients + quote utilities)cli/:jup-stable-cli(ships thejup-stablebinary)
test-utils/: shared Rust test helpers/fixturesAnchor.toml: Anchor workspace + localnet program IDs
- Node.js:
>= 24(see rootpackage.json) - pnpm:
pnpm@10.20.0 - Rust: stable toolchain
- Solana + Anchor:
solanaCLI installed and configured- Anchor
0.32.1(seeAnchor.toml)
pnpm install && pnpm buildFrom the repo root:
anchor buildThis produces artifacts under target/ including the IDL (e.g. target/idl/jup_stable.json).
The SDK’s generated clients live in packages/sdk/src/generated. Regenerate them after changing the program/IDL:
anchor build
pnpm run codama(pnpm run codama runs Codama using codama.json.)
Located at packages/sdk. It bundles:
- Generated account/instruction helpers
- Pure TS quote utilities mirroring program math
See packages/sdk/README.md for usage examples and transaction-building patterns.
Located at packages/cli. The CLI is built with oclif and exposes admin/operator commands (create/update config, operators, benefactors, vaults, etc.).
See LICENSE.