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)