Releases: ProjectOpenSea/wallet-adapters
v0.3.1
What's Changed
- Make
RPC_URLoptional for signing-only workflows. The factory and the private-key adapter no longer requireRPC_URLwhen an adapter is only used to sign (not broadcast) transactions, so a key configured purely for signing no longer fails to initialize. A read provider is created lazily, only when a chain operation actually needs one. (#436)
Full Changelog: ProjectOpenSea/opensea-devtools@wallet-adapters-v0.3.0...wallet-adapters-v0.3.1
v0.3.0
What's Changed
Provider-aware wallet hardening across Privy, Turnkey, Fireblocks, and Bankr. Closes the structural gap where the credentials in an agent's environment could rewrite the same policy meant to constrain it.
Adapter API
- New
WalletInfodiscriminated union exported, plus optionalgetWalletInfo()on theWalletAdapterinterface (implemented by all four managed providers). - Privy adapter: optional
PRIVY_AUTH_SIGNING_KEYenv var enables theprivy-authorization-signatureheader on/rpcrequests, supporting theowner_id+additional_signerhardening pattern. Uses@privy-io/node(added as an optional peer dependency). - Privy adapter: 401 errors with
Invalid app ID or app secretbody now include aprintf %shint for theechovsecho -ndebugging dead-end. - Top-of-file security-model docstrings on all four adapters declaring signing-only intent and forbidding mutation surfaces.
Bug fixes
- Privy
personal_signnow sendsparams.encoding("utf-8" / "hex") to satisfy Privy's RPC schema. The previous body shape produced 400s on owner-gated wallets.
Full Changelog: ProjectOpenSea/opensea-devtools@wallet-adapters-v0.2.1...wallet-adapters-v0.3.0
v0.2.1
What's Changed
Patch fix for the v0.2.0 npm publish failure: adds the repository, homepage, and top-level license fields to package.json so sigstore provenance verification matches the GitHub Actions workflow (https://github.com/ProjectOpenSea/wallet-adapters).
No code changes — same surface as 0.2.0 (BankrAdapter, etc.). v0.2.0 never reached npm; consumers should pin to ^0.2.1.
Full Changelog: ProjectOpenSea/opensea-devtools@wallet-adapters-v0.2.0...wallet-adapters-v0.2.1
v0.2.0
What's Changed
Bankr wallet adapter
New BankrAdapter for Bankr's managed agent wallet service. Auth is a single API key (BANKR_API_KEY); the provider handles gas, nonce, and broadcast.
import { BankrAdapter } from "@opensea/wallet-adapters"
const wallet = BankrAdapter.fromEnv()
// Requires: BANKR_API_KEYSupports getAddress, sendTransaction, signMessage, and signTypedData. Auto-detected by createWalletFromEnv() between Turnkey and PrivateKey in the priority order: Privy > Fireblocks > Turnkey > Bankr > PrivateKey.
Full Changelog: ProjectOpenSea/opensea-devtools@26ea25d...wallet-adapters-v0.2.0