Skip to content

Releases: ProvableHQ/sdk

v0.9.15

16 Jan 04:35
0f7f98f

Choose a tag to compare

Description

SDK release v0.9.15 fixes several high priority issues related to local proving.

Changelog

Fixes

  • Fixes a recursion bug in wasm when resolving imports.
  • Fixes errors in local proving by increasing the maximum wasm memory 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-request to xmlhttprequest-ssl solving several typescript module resolution errors
  • Adds testing of transfer_private to the SDK CI

v0.9.14

12 Dec 17:24
99400d9

Choose a tag to compare

Description

SDK release v0.9.14 is a patch release that fixes several issues and introduces a few minor features

Changelog

Fixes

  • Fixes an infinite recursion bug in getProgramImports in the case of circular program dependencies.
  • Fixes errors in wasm multithreading introduced caused by changes in newer versions of Rust nightly by reverting the Rust version to a version compatible with the features required to achieve wasm based multithreading.
  • Fixes a check fee bug 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 fromProgramId function to the Address object
  • Adds the ability to rotate JWT tokens for provable services which require authentication tokens

v0.9.13

25 Nov 16:26
8801114

Choose a tag to compare

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

18 Nov 02:41
75c753c

Choose a tag to compare

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.0 for testnet
    • Continued usage of SnarkVM v4.3.1 for mainnet

Fixes

  • Fixes bugs in record usage when paying private fees
  • Fixes to AleoKeyProvider object

v0.9.11

31 Oct 02:05

Choose a tag to compare

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 buildTransactionFromAuthorization function 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-app example showing how to use the buildTransactionFromAuthorization function.
  • Removes the need to specify a fee for the ProvingRequest function.

v0.9.10

30 Oct 05:02

Choose a tag to compare

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 wasm externally.
  • Adds the ability to set test consensus heights upon initialization of wasm allowing the SDK to be used to test against devnets.
  • Adds toBytesRaw/fromBytesRaw to existing Literal and Array types 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 mainnet and testnet networks 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

21 Oct 17:04

Choose a tag to compare

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 wasm allowing the SDK to be used to test against devnets.
  • Adds toBytesRaw/fromBytesRaw to existing Literal and Array types 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

29 Sep 19:36
7d451a7

Choose a tag to compare

SDK Version v0.9.9 adds two new key features to the SDK.

Diff

Features

  1. Ability to Sign arbitrary Aleo records and Aleo datatypes: Adds the sign_value function which can create a valid signature of the string representation of any valid Aleo data or record type.
  2. 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

09 Sep 03:13
8e56de5

Choose a tag to compare

SDK Version v0.9.8 is a release tracking SnarkVM v4.2.0 and SnarkOS v4.2.0.

Full Diff

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 stateroot between statepath fetches.
  • Sender Ciphertext Decryption: Ability to decrypt sender ciphertexts within the RecordPlaintext and EncryptionToolbox objects, allowing SDK users a convenient way to determine the sender of transactions.
  • Verbose Transaction Error Handling: The AleoNetworkClient now has the option to set verbose mode which enables rich error information when transactions fail.

v0.10.0-testnet-rc

30 Aug 00:52

Choose a tag to compare

v0.10.0-testnet-rc Pre-release
Pre-release

SDK Version v0.10.0-testnet-rc is a patch release with the following upgrades:

Fixes

  • Implements the SnarkVM QueryTrait using the SnapshotQuery: This query calls the new /statePaths endpoint 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.