feat(sdk-outpost): add native operator collateral clients - #85
Open
joshglogau wants to merge 3 commits into
Open
joshglogau wants to merge 3 commits into
joshglogau wants to merge 3 commits into
Conversation
siliconswampio
force-pushed
the
feature/operator-collateral
branch
from
September 24, 2026 18:28
edbf046 to
d8c3859
Compare
joshglogau
marked this pull request as ready for review
September 24, 2026 19:21
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Operators need a supported custody API for Hub registration → collateralization → rewards. This adds native collateral methods to verified outpost clients through the existing
OutpostClient.createfacade. Wire registration, AuthEx, operator standing, withdrawal queues, and reward claims keep their existing owners.Behavior
2^62 - 1ceiling. Amounts remain raw wei/lamports.onSubmitteddelivers the source hash/signature before confirmation. Neither submission nor confirmation certifies depot acceptance, withdrawal queue allocation, or final payout.Public SOL operator withdrawal and generic ERC20/SPL collateral ingress remain unavailable. These clients do not substitute liquid-staking exits or handle Wire reward claims.
Scope
Producer ABIs/IDLs/runtime artifacts remain in the chain repositories. This PR changes no dependency pins, lockfile, generated bindings, publication scripts, workflows, or SDK Core code.
AGENTS.mdremains a symlink toCLAUDE.md.The existing Solana reserve clients share configuration/message-buffer PDA derivation and signature-status/error/expiry checks with collateral. These small extractions avoid duplicate helpers; reserve custody instructions, transaction-log lookup, and polling cadence are preserved. Shared chain-error messages now identify a Solana transaction/signature. Public request, receipt, and capability fields are documented.
Validation
SDK revision:
d8c38592944198cdee9927a208f71e72b0cc4d11, rebased ontomasteratf1b70079b294eb200d1bb7c0b3b64e777eda578a.b7978529eedd4e41b858e089557cb834e03958d1. Recorded SYSIO/Ethereum/Solana/Tools revisions:a8a13405/8408cc7b/e6ea6adf/6269a2dc. Build validation included 976 SDK tests and 2,104 Wire Tools tests. The run’s resolved manifest records all eleven revisions.Known baseline limitation: native Node ESM import fails in unchanged SDK Core
crypto/Curves.tsat theellipticnamed import. Direct Core import reproduces it, andmasteralready loads that entrypoint through its node-owner client. It is outside this collateral change; compiling ESM output is not a claim that native ESM loading passed.Integration and remaining work
Companion Hub: Wire-Network/wire-hub-webapp#181. Producer-artifact/SDK publication and a locked consumer install remain release gates. SDK verification must use artifacts for the binaries actually deployed.
Wire-Network/wire-ethereum#205 and Wire-Network/wire-solana#544 are merged. September 22 Nextbox evidence in the Hub PR records registration for all three roles, ETH/SOL deposits, producer/batch
claimpaytransfers, and an underwriter ETH withdrawal/cancel/remit cycle. That sandbox used an earlier SDK overlay and unpublished matching artifacts; it does not certify this final SDK revision or current heads.Remaining backend/consumer acceptance: public SOL collateral exit; generic-token exit before generic ingress; end-to-end acceptance of oversized direct calls and concurrent deposits; actual underwriter fee accrual/
claimuwfee; SDK Core authority decoding and Solana-only account discovery. Source custody receipts remain separate from depot settlement and rewards.