Skip to content

Releases: ProjectOpenSea/wallet-adapters

v0.3.1

17 Jun 00:10

Choose a tag to compare

What's Changed

  • Make RPC_URL optional for signing-only workflows. The factory and the private-key adapter no longer require RPC_URL when 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

06 May 22:34

Choose a tag to compare

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 WalletInfo discriminated union exported, plus optional getWalletInfo() on the WalletAdapter interface (implemented by all four managed providers).
  • Privy adapter: optional PRIVY_AUTH_SIGNING_KEY env var enables the privy-authorization-signature header on /rpc requests, supporting the owner_id + additional_signer hardening pattern. Uses @privy-io/node (added as an optional peer dependency).
  • Privy adapter: 401 errors with Invalid app ID or app secret body now include a printf %s hint for the echo vs echo -n debugging dead-end.
  • Top-of-file security-model docstrings on all four adapters declaring signing-only intent and forbidding mutation surfaces.

Bug fixes

  • Privy personal_sign now sends params.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

04 May 22:05

Choose a tag to compare

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

04 May 21:57

Choose a tag to compare

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_KEY

Supports 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