Releases: ritual-net/infernet-sdk
Releases · ritual-net/infernet-sdk
v1.1.0
v1.1.0 minor release of the Infernet SDK—a way to bring off-chain compute workloads, on-chain.
Features
Fixes
Wallet
now usesSafeTransferLib
- Added validity check for
nodeWallet
param indeliverCompute
- Integrated code quality recommendations from Trail of Bits
Usability
WalletFactory::WalletCreated
now emits a newaddress indexed caller
param to track the provenance of aWallet
creator- New event logs (
Coordinator::ProofVerified
,Wallet::Withdrawl
,Wallet::Approval
,Wallet::Escrow
,Wallet::Transfer
,WalletFactory::WalletCreated
) - 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
v1.0.0 major release of the Infernet SDK—a way to bring off-chain compute workloads, on-chain.
Features
New functionality
Major
- Adds
Inbox
contract to storelazy
compute responses and enable async workflows - Adds payments functionality for
Subscription
(s):
2.1. New protocolFee
contract
2.2. NewWallet
,WalletFactory
contracts forCoordinator
-managed balances
2.3. NewIVerifier
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
- Refactors structure to an immutable
Registry
pattern allowing developers easy access to commonly-used contracts - Adds
Reader
contract for efficient off-chain batch reading ofSubscription
data - Adds
Allowlist
pattern to enable one-click restricting responding node-set to just allowed nodes - Adds new
Coordinated
utility to allow restricting function responses to justaddress(coordinator)
- Adds new
LibDeploy
utility to one-click deploy SDK contracts
Quickfixes
- Migrates
containerId
to fixed-size parameter - Removes
inputs
fromSubscription
struct, always choosing to usegetContainerInputs()
- Removes all assembly from
Coordinator.sol
- Fixes overextended visibilities across
Coordinator
,Delegator
Usability
- Updates deploy scripts to use
LibDeploy
- Changes
Subscription
,InboxItem
,DeliveredOutput
struct visibility topublic
removing need forLibStruct
helper
Removed contracts
- Removes
NodeManager
(no need forregisterNode()
,activateNode()
, simplifying node onboarding)
Additional resources
v0.1.0
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 anoutput
and a succinct ZKproof
- 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()