Releases: ProvableHQ/sdk
v0.9.15
Description
SDK release v0.9.15 fixes several high priority issues related to local proving.
Fixes
- Fixes a recursion bug in
wasmwhen resolving imports. - Fixes errors in local proving by increasing the maximum
wasmmemory to U32::MAX (~4.3gb) eliminating thread deadlocks and errors in using/inserting the inclusion prover - Changes the XmlHttpRequest polyfill from a basis on
sync-requesttoxmlhttprequest-sslsolving several typescript module resolution errors - Adds testing of
transfer_privateto the SDK CI
v0.9.14
Description
SDK release v0.9.14 is a patch release that fixes several issues and introduces a few minor features
Fixes
- Fixes an infinite recursion bug in
getProgramImportsin the case of circular program dependencies. - Fixes errors in
wasmmultithreading introduced caused by changes in newer versions of Rust nightly by reverting the Rust version to a version compatible with the features required to achievewasmbased multithreading. - Fixes a
check feebug that would check public balances erroneously when attempting to pay with a private fee. - Updates errors in Sealance merkle tree documentation
Features
- Add the ability to get address for programs by adding a
fromProgramIdfunction to theAddressobject - Adds the ability to rotate JWT tokens for provable services which require authentication tokens
v0.9.13
Description
SDK release v0.9.13 upgrades its SnarkVM version for its testnet and mainnet binaries to SnarkVM tag 4.4.0 and adds several development features for developing against a local devnet with the SDK
Features
- Upgrades the core SnarkVM dependency to v4.4.0
- Adds new methods for upgrading programs on the Aleo network
- Adds support for proofless execution transactions that can be used with Aleo Devnode
- Adds support for quick deployments to Aleo Devnode
- Adds a create-leo-app example for using Aleo Devnode with the SDK
- Adds a utility function for converting string arrays to big int arrays to SealanceMerkleTree class and adds formatting for Sealance Merkle Proofs
v0.9.12
Description
SDK release v0.9.12 is a minor release upgrading its testnet package to SnarkVM tag 4.4.0 and fixing errors in record usage for private fee transfers.
Features
- Successfully split Testnet and Mainnet to use different SnarkVM versions
- Upgrade to
SnarkVM v4.4.0for testnet - Continued usage of
SnarkVM v4.3.1for mainnet
- Upgrade to
Fixes
- Fixes bugs in record usage when paying private fees
- Fixes to
AleoKeyProviderobject
v0.9.11
Description
v0.9.11 is a patch release fixing some errors in the buildTransactionFromAuthorization function and adding encapsulated functionality to the ProgramManager for easy estimation of fees.
Changelog
- Fixes errors in the
buildTransactionFromAuthorizationfunction by adding the ability to call REST endpoints to collect data for the inclusion proof. - Encapsulates fee estimation functions in the program manager.
- Adds documentation of new fee estimation functions via docstrings.
- Adds a new
create-leo-appexample showing how to use thebuildTransactionFromAuthorizationfunction. - Removes the need to specify a fee for the
ProvingRequestfunction.
v0.9.10
Description
v0.9.10 is a release compatible with the SnarkVM v4.3.1.
Changelog
- Upgrades SnarkVM to
v4.3.1 - Add the ability to generate proofs with record inputs %100 offline by enabling the Inclusion Proving Key to be passed into
wasmexternally. - Adds the ability to set test consensus heights upon initialization of
wasmallowing the SDK to be used to test against devnets. - Adds
toBytesRaw/fromBytesRawto existingLiteralandArraytypes including arrays enabling signatures over the raw bytes of these types in order allow signing or hashing of the raw bytes that represent the type without any other bytes identifying the length. - Support for loading
mainnetandtestnetnetworks dynamically. - Support for fast fee estimation and support for estimating fees from authorizations.
- Support for building executions from authorizations, enabling signatures and authorizations to built offline.
- Integration ofSsealance compliance tools.
v0.9.10-testnet-rc
Description
v0.9.10-testnet is a release compatible with the Aleo Testnet v4.3.0 release scheduled for 10/21/2025.
NPM Links:
@provablehq/wasm
@provablehq/sdk
@provablehq/create-leo-app
Changelog
- Upgrades SnarkVM
v4.3.0-testnet. - Add the ability to generate proofs with record inputs %100 offline by enabling the Inclusion Key to be passed in.
- Adds the ability to set test consensus heights upon initialization of
wasmallowing the SDK to be used to test against devnets. - Adds
toBytesRaw/fromBytesRawto existingLiteralandArraytypes including arrays enabling signatures over the raw bytes of these types in order allow signing or hashing of the raw bytes that represent the type without any other bytes identifying the length.
v0.9.9
SDK Version v0.9.9 adds two new key features to the SDK.
Features
- Ability to Sign arbitrary Aleo records and Aleo datatypes: Adds the
sign_valuefunction which can create a valid signature of the string representation of any valid Aleo data or record type. - New RecordProvider Interface: Adds a, new robust interface for the record provider that enables finding encrypted records, records owned by a view key, and checking the spent status of records by their commitment.
v0.9.8
SDK Version v0.9.8 is a release tracking SnarkVM v4.2.0 and SnarkOS v4.2.0.
Features
- Robust Private Function Executions: Private function execution now complete at nearly %100 success rate. This is enabled via the SnapshotQuery (built by @christianwwwwwwww) that uses the new /statepaths endpoints to fetch the statepaths for all record inputs to a function with a fixed stateroot. This object stores all stateroot, statepath, and block height info within the Query object to ensure consistency of
staterootbetweenstatepathfetches. - Sender Ciphertext Decryption: Ability to decrypt sender ciphertexts within the
RecordPlaintextandEncryptionToolboxobjects, allowing SDK users a convenient way to determine the sender of transactions. - Verbose Transaction Error Handling: The
AleoNetworkClientnow has the option to setverbosemode which enables rich error information when transactions fail.
v0.10.0-testnet-rc
SDK Version v0.10.0-testnet-rc is a patch release with the following upgrades:
Fixes
- Implements the
SnarkVMQueryTraitusing theSnapshotQuery: This query calls the new/statePathsendpoint developed for SnarkOS which ensures a consistent stateroot is fetched for multiple commitments avoiding failures due to stateroots being different between iterations - Adds the ?debug=true flag to transaction broadcasts which return debug information as to why transactions failed
Note that this SDK release is a pre-release meant for testing the newest SnarkOS version and will not work in production until these changes are released to the public.