Skip to content

Releases: ritual-net/infernet-sdk

v1.1.0

28 Oct 17:03
b183dc3
Compare
Choose a tag to compare

v1.1.0 minor release of the Infernet SDK—a way to bring off-chain compute workloads, on-chain.

Features

Fixes

  1. Wallet now uses SafeTransferLib
  2. Added validity check for nodeWallet param in deliverCompute
  3. Integrated code quality recommendations from Trail of Bits

Usability

  1. WalletFactory::WalletCreated now emits a new address indexed caller param to track the provenance of a Wallet creator
  2. New event logs (Coordinator::ProofVerified, Wallet::Withdrawl, Wallet::Approval, Wallet::Escrow, Wallet::Transfer, WalletFactory::WalletCreated)
  3. Updated deployment instructions

Audits

Infernet SDK v1.1.0 has been audited in full by Trail of Bits and Zellic.

Additional resources

v1.0.0

06 Jun 15:51
8e6cd6f
Compare
Choose a tag to compare

v1.0.0 major release of the Infernet SDK—a way to bring off-chain compute workloads, on-chain.

Features

New functionality

Major

  1. Adds Inbox contract to store lazy compute responses and enable async workflows
  2. Adds payments functionality for Subscription(s):
    2.1. New protocol Fee contract
    2.2. New Wallet, WalletFactory contracts for Coordinator-managed balances
    2.3. New IVerifier interface for proof verifier contracts to offer verification services
    2.4. Enables net new flows: payments w/o proofs, payments w/ atomic proofs, payments w/ optimistic proofs

Minor

  1. Refactors structure to an immutable Registry pattern allowing developers easy access to commonly-used contracts
  2. Adds Reader contract for efficient off-chain batch reading of Subscription data
  3. Adds Allowlist pattern to enable one-click restricting responding node-set to just allowed nodes
  4. Adds new Coordinated utility to allow restricting function responses to just address(coordinator)
  5. Adds new LibDeploy utility to one-click deploy SDK contracts

Quickfixes

  1. Migrates containerId to fixed-size parameter
  2. Removes inputs from Subscription struct, always choosing to use getContainerInputs()
  3. Removes all assembly from Coordinator.sol
  4. Fixes overextended visibilities across Coordinator, Delegator

Usability

  1. Updates deploy scripts to use LibDeploy
  2. Changes Subscription, InboxItem, DeliveredOutput struct visibility to public removing need for LibStruct helper

Removed contracts

  1. Removes NodeManager (no need for registerNode(), activateNode(), simplifying node onboarding)

Additional resources

v0.1.0

27 Nov 21:35
2d04a7f
Compare
Choose a tag to compare

Initial release of the Infernet SDK—a way to bring off-chain compute workloads, on-chain.

Features

  • Support for arbitrary compute workloads (via Ritual ML Workflows)
  • On-chain compute request origination via the Coordinator
  • Off-chain compute request origination, fulfilled on-chain, via the EIP712Coordinator
  • Compute workloads that track their input and generate an output and a succinct ZK proof
  • One-time requests (receive callback response) via CallbackConsumer
  • Recurring requests (subscriptions with versatile parameterization) via SubscriptionConsumer
  • Exposing dynamic input parameters or model features on-chain via getContainerInputs()

Additional resources