@seams/host
v0.77.0
Published
Seams services for operators: the Wallet Gateway, its router roles, the Cloudflare Workers, migrations, the wallet origin document and the VoiceID host plugin
Maintainers
Readme
Seams Wallet Server
This package owns the reusable signer server surface: route adapters, WebAuthn verification policy, threshold signing services, signer storage adapters, and server wasm bindings.
The package version is @seams/[email protected]. Pair it with
@seams/[email protected] and matching hosted assets. Use @seams/[email protected].
The wallet iframe protocol is 25.0.0.
pnpm add @seams/[email protected]Google BYO authentication
Version 0.77.0 verifies a configured application's signed session assertion or the app's Google ID token or exchanges it for a browser-bound handoff. An environment-specific Google client configuration and an owner-approved wallet association are required. Apply the packaged signer migrations before enabling the feature. External sessions grant settings reads and remain separate from owner and signing credentials. See the Google SSO guide for configuration, backend exchange, and revocation.
Supported runtime and entry points
The packaged Wallet backend runs on Cloudflare Workers with Durable Objects, D1, role-private backup storage, and Rust/WASM protocol workers. The package does not provide a Node Gateway or an Express adapter.
| Entry point | Purpose |
| --- | --- |
| @seams/host | Shared server services, contracts, and storage adapters |
| @seams/host/router/cloudflare | Cloudflare Router adapter |
| @seams/host/router/ror | Router-of-Routers adapter |
| @seams/host/storage/tenant-route | Tenant route storage |
| @seams/host/wasm/signer | Signer WASM bindings |
| @seams/host/cloud-host | Hosted registration and authority services |
| @seams/host/hosted-wallet-gateway | Hosted Gateway composition |
| @seams/host/hosted-wallet-gateway-worker | Gateway Worker entry point |
| @seams/host/local-hosted-wallet-gateway-worker | Local Gateway Worker entry point |
| @seams/host/tenant-root | Tenant-root lifecycle and recovery contracts |
| @seams/host/local-runtime | Packaged local runtime configuration |
The package also includes artifact-manifest.json, signer D1 migrations, local
runtime scripts, and prebuilt custody Workers. Use the repository root's
pnpm router for source development. Installed consumers use
seams-wallet-server-local or the role and initialization commands described in
the repository README.
Deployment requirements
- Apply the signer D1 migrations before serving registration. A custom Gateway must schedule
resumeRegistrationDirectoryPublicationsV1from thecloud-hostentry point. - Deploy Router, Deriver A, Deriver B, and Signing Worker together. Their private object-address allocation contract uses batches.
- Renew an expired initial tenant authorization only before its creation journal starts. Retain the original authorization for an already-started ceremony.
- Verify APAC object hosts and database primaries. The
apac-sehint requests Southeast Asia placement and does not prove physical co-location.
See the server reference, hosted integration, and release notes.
Hosted product services and their operational tooling live in the private
seams-monorepo repository.
Use createApplicationAuthAssertion from @seams/mpc-wallet/server on the authenticated application backend.
Configure the issuer and public key through the existing environment trust setting.
The assertion binds the stable subject, environment, wallet, Seams attempt, purpose, and expiry.
Fresh wallet-origin owner proof remains required for identity changes and NEAR transactions.
See the application-session guide.
