Releases: cascade-protocol/sati
Releases · cascade-protocol/sati
@cascade-fyi/compression-kit@0.2.0
Added
-
Web Crypto Utilities
importEd25519PublicKey()- Import Ed25519 public keys using Web Crypto API for signature verification
-
RPC Types
MemcmpFilter- Interface for memory comparison filtering in Photon RPC queries
Changed
- Upgraded TypeScript target to ES2022 with ES2023 lib for better performance
- Added DOM type definitions for Web Crypto API compatibility
- Improved npm package metadata and publishing configuration
- CHANGELOG.md now included in published npm package
npm: https://www.npmjs.com/package/@cascade-fyi/compression-kit/v/0.2.0
@cascade-fyi/sati-sdk@1.0.0-rc.1
Release candidate for SATI SDK v1.0.0 - Solana Agent Trust Infrastructure.
Highlights
- Mainnet deployment - Program deployed and verified on mainnet
- Delegation support - Delegate schemas for authorized agent actions
- Layout versioning - Universal base layout with version field for future upgrades
- SIWS signatures - Sign-In With Solana inspired counterparty signing
- E2E encryption - X25519-XChaCha20-Poly1305 content encryption
Added
createDelegateInstruction()- Create delegate authority for agentsrevokeDelegateInstruction()- Revoke delegate authority- Ed25519 precompile signature extraction from transactions
- Content encryption/decryption utilities
- Mainnet and devnet deployed configurations
Changed
- Instruction names updated for clarity (
initializeAgent→registerAgent, etc.) - Universal base layout with discriminator, layout version, authority
- Schema configs with versioned naming
Installation
# Install release candidate
npm install @cascade-fyi/sati-sdk@next
# or explicitly
npm install @cascade-fyi/sati-sdk@1.0.0-rc.1npm: https://www.npmjs.com/package/@cascade-fyi/sati-sdk/v/1.0.0-rc.1
Mainnet program: satiR3q7XLdnMLZZjgDTaJLFTwV6VqZ5BZUph697Jvz
@cascade-fyi/compression-kit@0.1.0
Initial release of @cascade-fyi/compression-kit - Solana Kit native implementation of Light Protocol compression.
Added
-
Photon RPC Client
createPhotonRpc()- Create RPC client for Light Protocol indexergetCompressedAccount()- Fetch compressed account by hashgetCompressedAccountsByOwner()- Fetch all compressed accounts for ownergetCompressedTokenAccountsByOwner()- Fetch token accountsgetCompressedTokenBalancesByOwner()- Fetch token balancesgetValidityProof()- Get validity proofs for accounts/addressesgetMultipleCompressedAccounts()- Batch fetch accountsgetCompressionSignaturesForOwner()- Get transaction signaturesgetLatestCompressionSignatures()- Get recent signaturesgetIndexerHealth()/getIndexerSlot()- Health checks
-
Address Derivation
deriveAddressSeed()/deriveAddress()- V1 address derivationderiveAddressSeedV2()/deriveAddressV2()- V2 address derivationpackNewAddressParams()- Pack address params for instructionsaddressToBytes()/bytesToAddress()- Address conversions
-
BN254 Field Operations
createBN254()- Create field element from bigintbn254FromBytes()/bn254ToBytes()- Byte conversionsbn254Add()/bn254Sub()/bn254Mul()- Field arithmeticisSmallerThanFieldSize()- Field size validationencodeBN254toBase58()/encodeBN254toHex()- Encoding utilities
-
Instruction Building
PackedAccounts- Helper class for building instruction accountsgetLightSystemAccountMetas()- Get Light system account metas (V1)getLightSystemAccountMetasV2()- Get Light system account metas (V2)createSystemAccountConfig()- Create system account configurationgetCpiSignerPda()- Derive CPI signer PDA
-
Constants
- Program IDs:
LIGHT_SYSTEM_PROGRAM,ACCOUNT_COMPRESSION_PROGRAM,COMPRESSED_TOKEN_PROGRAM - Tree addresses for mainnet and devnet
- Fee constants and configuration values
- Program IDs:
Notes
- Uses native
bigintinstead of BN.js for better performance - Uses
Addresstype from@solana/kitinstead ofPublicKey - Compatible with edge runtimes (Cloudflare Workers, Deno, browsers)
npm: https://www.npmjs.com/package/@cascade-fyi/compression-kit/v/0.1.0