@wireio/outpost-solana-artifacts
v0.3.0
Published
Canonical Solana outpost interfaces generated by wire-solana.
Readme
@wireio/outpost-solana-artifacts
Canonical, deployment-independent Solana outpost interfaces generated from
wire-solana Anchor artifacts.
The package contains the directly importable LiqsolCore TypeScript type and
runtime IDL, the deployable program binary required by @wireio/sdk-outpost,
and a manifest with their source revision, toolchain versions, byte lengths,
and checksums. It deliberately contains no deployed program IDs, accounts, RPC
endpoints, or private keys.
import {
liqsolCoreIdl,
SolanaOutpostArtifactManifest,
type LiqsolCore
} from "@wireio/outpost-solana-artifacts"Generate and inspect the package from the repository root:
anchor build
node scripts/opp/patch-idl-errors.js
npm run build:outpost-artifacts
npm pack ./build/sdk-artifacts --dry-runPublish a new immutable package version whenever the IDL or deployable program
binary changes. A deployment or upgrade records its live program, ProgramData
account, and runtime checksum in the environment's deployment profile.
Re-spinning the same build therefore requires a new profile, not a new artifact
package. Every new binary artifact version also requires a matching
@wireio/sdk-outpost release so live code remains bound to its source package.
