Add producer-backed outpost SDK with ethers v6 - #56
Conversation
fa6f71e to
0434d40
Compare
jglanz
left a comment
There was a problem hiding this comment.
This NEEDS to be refactored, the generated assets should not be tracked here, instead they should be published artifacts from wire-{ethereum,solana}.
Scripts need to be refactored with zx and moved to the correct repos and under a folder layout beneath scripts/
|
Waiting for Wire-Network/wire-ethereum#176 & Wire-Network/wire-solana#414 before CI built test will pass to be ready for merge |
|
Status: SDK implementation and local verification are complete; this PR remains draft. CI is waiting for wire-ethereum#176 and wire-solana#414 to publish their artifact packages, then the frozen lockfile can be refreshed. Architecture: one generic SDK facade consumes the source-owned ETH/SOL artifacts plus an immutable deployment profile. Client creation verifies the Wire chain ID, Ethereum EIP-1967 implementation/code hashes, and Solana genesis/ProgramData hashes before returning a client. Mutable RPC/explorer endpoints remain in a separate catalog. Consumer: wire-tools-ts#53 |
da7af17 to
50723c5
Compare
50723c5 to
21b358b
Compare
# Conflicts: # pnpm-lock.yaml
jglanz
left a comment
There was a problem hiding this comment.
pnpmfile.cjs- REVERT -this is the exact thing that caused a MEGA issue!
if (process.env.WIRE_USE_LOCAL_OPP_MODELS === LOCAL_OPP_MODELS_ENABLED) {
appendLocalOppModelOverrides()
}
-
should
generate.mjsstill be in this repo (and verify)? -
RELEASING.mdseems like it should belong in the repo root -
(this one I can accept knowing it can be improved) The OutpostClient shouldn't know about ethereum or solana and should rely instead on a factory pattern
jglanz
left a comment
There was a problem hiding this comment.
There are substantive issues, some pre-existing
jglanz
left a comment
There was a problem hiding this comment.
nit-pics aside from the generate.mjs and verify-package.mjs being in the wrong repos; having them in wire-libraries-ts is the same as having a verify script for lodash. They are published packages, verification should have happened already
|
Generate and verify originally converted raw producer artifacts in this consumer; both scripts are removed, and the producer packages now publish the directly consumable TypeScript libraries. |
Feature: add Ethereum BAR node-owner flow
Summary
Adds
@wireio/sdk-outpostas the chain-neutral TypeScript facade over directly importable Ethereum and Solana producer libraries.OutpostClient.create(...)Producer packages
The current branch remains pinned to the public Ethereum
0.2.2and Solana0.2.1packages. The next aligned target is0.3.0from these handoff-based producer releases:Producer repositories verify and publish the exact checksummed deployment artifacts. SDK-outpost only consumes the resulting npm libraries and composes their manifests for live deployment verification.
Repository integration
Verification
Remaining release work
0.3.0Staking remains separate follow-up work.