Skip to content

Releases: cascade-protocol/sati

@cascade-fyi/compression-kit@0.2.0

04 Jan 14:04
6c01b00

Choose a tag to compare

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

04 Jan 14:18
c56ad2c

Choose a tag to compare

Pre-release

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 agents
  • revokeDelegateInstruction() - Revoke delegate authority
  • Ed25519 precompile signature extraction from transactions
  • Content encryption/decryption utilities
  • Mainnet and devnet deployed configurations

Changed

  • Instruction names updated for clarity (initializeAgentregisterAgent, 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.1

npm: 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

04 Jan 14:05
27f6fca

Choose a tag to compare

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 indexer
    • getCompressedAccount() - Fetch compressed account by hash
    • getCompressedAccountsByOwner() - Fetch all compressed accounts for owner
    • getCompressedTokenAccountsByOwner() - Fetch token accounts
    • getCompressedTokenBalancesByOwner() - Fetch token balances
    • getValidityProof() - Get validity proofs for accounts/addresses
    • getMultipleCompressedAccounts() - Batch fetch accounts
    • getCompressionSignaturesForOwner() - Get transaction signatures
    • getLatestCompressionSignatures() - Get recent signatures
    • getIndexerHealth() / getIndexerSlot() - Health checks
  • Address Derivation

    • deriveAddressSeed() / deriveAddress() - V1 address derivation
    • deriveAddressSeedV2() / deriveAddressV2() - V2 address derivation
    • packNewAddressParams() - Pack address params for instructions
    • addressToBytes() / bytesToAddress() - Address conversions
  • BN254 Field Operations

    • createBN254() - Create field element from bigint
    • bn254FromBytes() / bn254ToBytes() - Byte conversions
    • bn254Add() / bn254Sub() / bn254Mul() - Field arithmetic
    • isSmallerThanFieldSize() - Field size validation
    • encodeBN254toBase58() / encodeBN254toHex() - Encoding utilities
  • Instruction Building

    • PackedAccounts - Helper class for building instruction accounts
    • getLightSystemAccountMetas() - Get Light system account metas (V1)
    • getLightSystemAccountMetasV2() - Get Light system account metas (V2)
    • createSystemAccountConfig() - Create system account configuration
    • getCpiSignerPda() - 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

Notes

  • Uses native bigint instead of BN.js for better performance
  • Uses Address type from @solana/kit instead of PublicKey
  • Compatible with edge runtimes (Cloudflare Workers, Deno, browsers)

npm: https://www.npmjs.com/package/@cascade-fyi/compression-kit/v/0.1.0