Releases: ShellDAO/shell-sdk
Releases · ShellDAO/shell-sdk
v0.9.1
shell-sdk v0.8.2 — aligned with shell-chain v0.22.2
What's Changed
Compatibility
- Version bump aligned with shell-chain v0.22.2
- No breaking API changes from v0.8.1
Full Changelog: v0.8.1...v0.8.2
shell-sdk v0.8.0
shell-sdk v0.8.0 — Proof Input Decode Types
Aligned with shell-chain v0.22.0.
Added
ShellDecodedProofInputtype: structured proof amendment payload decoded fromstarkRewardsettlement transactions (requiresshell-chain v0.22+).
Fields:layer,blockNumber,startBlock,endBlock,nSigs,compressedSize,originalSize,settlementTxHash.ShellRpcTransaction.decodedInput?: ShellDecodedProofInput | null— filled by the node forstarkRewardsystem transactions;null/absent otherwise.ShellDecodedProofInputexported from the package root.
Changed
- Aligned with
shell-chain v0.22.0RPC surface.
npm install @shellprotocol/shell-sdk@0.8.0
shell-sdk v0.7.1
Added
- Typed Shell RPC reward metadata for address-history and transaction-summary responses, including block gas rewards, STARK rewards, reward layers, source hashes, and compression accounting fields.
Changed
- Preserve pq1-only compatibility from
0.7.0while aligning the SDK type surface withshell-chain v0.21.1.
shell-sdk v0.7.0
Highlights
- Breaking: SDK address handling is pq1-only; legacy 0x address helpers and normalization are removed.
- Added
pq1Address(pubkey, sigType)as the canonical address derivation helper. - Added SK-only keystore format compatibility with shell-node key generation.
- Fixed ML-DSA-65 signature type ID compatibility and uses the real FIPS 204 implementation.
Compatibility
Requires shell-chain v0.21.0+.
Validation
PR #8 passed Typecheck, Test & Build.
v0.5.0 — AA Phase 2 TypeScript SDK
What's New in v0.5.0
Adds full AA Phase 2 client support aligned with shell-chain v0.19.0.
⚠️ Breaking change:hashBatchTransactionRLP now includespaymaster_contextas the 3rd field (was 2-field). Clients on v0.4.x signing AA bundles must upgrade.
Added
Types (types.ts)
SessionAuthinterface: session PQ key authorization withsession_pubkey,session_algo,target?,value_cap,expiry_block,root_signature,session_signatureGuardianConfiginterface: on-chain guardian set descriptorRecoveryProposalinterface: active recovery proposal stateAaBundleextended with optionalpaymaster_contextandsession_authfields- Constants:
AA_MAX_PAYMASTER_CONTEXT = 256,AA_SESSION_KEY_GAS_SURCHARGE = 20_000
Transaction Builders (transactions.ts)
buildContractPaymasterTransaction: AA bundle with contract paymaster contextbuildSessionKeyTransaction: AA bundle with session key authorizationhashBatchTransaction: updated to 3-field RLP (addspaymaster_context)
System Contract Encoders (system-contracts.ts)
encodeSetGuardiansCalldata,encodeSubmitRecoveryCalldata,encodeExecuteRecoveryCalldata,encodeCancelRecoveryCalldata
Full changelog: https://github.com/ShellDAO/shell-sdk/blob/main/CHANGELOG.md
Requires: shell-chain v0.19.0+
v0.4.0 — AA Client Types + ML-DSA-65 Canonical Naming
shell-sdk 0.4.0
Consumes shell-chain v0.18.0 AA and Ops features.
Native Account Abstraction (AA) client
- New builders:
buildBatchTransaction,buildSponsoredTransaction,buildInnerTransfer,buildInnerCall - Hash function:
hashBatchTransaction— computesbatch_signing_hash(domain0x42) - New types:
AaInnerCall,AaBundle,ShellEstimateBatchResult,ShellBatchInnerGas,ShellPaymasterPolicy,ShellIsSponsoredResult,ShellWitnessRootResult - Constants:
AA_BUNDLE_TX_TYPE = 0x7e,AA_MAX_INNER_CALLS = 16
New provider methods
estimateBatch(request)→shell_estimateBatchgetPaymasterPolicy(address)→shell_getPaymasterPolicyisSponsored(txHash)→shell_isSponsoredverifyWitnessRoot(block)→shell_verifyWitnessRoot
ML-DSA-65 canonical naming
"ML-DSA-65"is now the canonicalSignatureTypeName(FIPS 204)"Dilithium3"and"MlDsa65"remain as backwards-compat aliases
Compatibility
- Fully backwards-compatible with sdk
0.3.xand chainv0.17.0