Skip to content

v1.0.0

Compare
Choose a tag to compare
@arshan-ritual arshan-ritual released this 06 Jun 15:51
· 25 commits to main since this release
8e6cd6f

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