针对每个链提供本地、受策略控制的签名和钱包管理。
Local, policy-gated signing and wallet management for every chain.
# Everything (CLI + Node + Python bindings)
curl -fsSL https://docs.openwallet.sh/install.sh | bashOr install only what you need:
npm install @open-wallet-standard/core # Node.js SDK
npm install -g @open-wallet-standard/core # Node.js SDK + CLI (provides `ows` command)
npm install @open-wallet-standard/adapters # Framework adapters (viem, Solana, WDK)
pip install open-wallet-standard # Python
cd ows && cargo build --workspace --release # From sourceThe language bindings are fully self-contained — they embed the Rust core via native FFI. Installing globally with -g also provides the ows CLI. The @open-wallet-standard/adapters package plugs an OWS wallet into viem, @solana/web3.js, and the Tether WDK.
# Create a wallet (derives addresses for the current auto-derived chain set)
ows wallet create --name "agent-treasury"
# Sign a message (EVM)
ows sign message --wallet agent-treasury --chain ethereum --message "hello"
# Sign on Solana
ows sign message --wallet agent-treasury --chain solana --message "hello"
# Sign a Bitcoin transaction
ows sign tx --wallet agent-treasury --chain bitcoin --tx "0200000001..."
# Use a bare EVM chain ID for Base
ows sign tx --wallet agent-treasury --chain 8453 --tx "02f8..."import { createWallet, signMessage } from "@open-wallet-standard/core";
const wallet = createWallet("agent-treasury");
// => accounts for EVM, Solana, Bitcoin, Cosmos, Tron, TON, Filecoin, Sui, and XRPL
const sig = signMessage("agent-treasury", "evm", "hello");
console.log(sig.signature);from ows import create_wallet, sign_message
wallet = create_wallet("agent-treasury")
# => accounts for EVM, Solana, Bitcoin, Cosmos, Tron, TON, Filecoin, Sui, and XRPL
sig = sign_message("agent-treasury", "evm", "hello")
print(sig["signature"])…| Chain | Curve | Address Format | Derivation Path |
|---|---|---|---|
| EVM (Ethereum, Polygon, etc.) | secp256k1 | EIP-55 checksummed | m/44'/60'/0'/0/0 |
| Solana | Ed25519 | base58 | m/44'/501'/0'/0' |
| Bitcoin | secp256k1 | BIP-84 bech32 | m/84'/0'/0'/0/0 |
| Cosmos | secp256k1 | bech32 | m/44'/118'/0'/0/0 |
| Tron | secp256k1 | base58check | m/44'/195'/0'/0/0 |
| TON | Ed25519 | raw/bounceable | m/44'/607'/0' |
| Sui | Ed25519 | 0x + BLAKE2b-256 hex | m/44'/784'/0'/0'/0' |
| Spark (Bitcoin L2) | secp256k1 | spark: prefixed | m/84'/0'/0'/0/0 |
| Filecoin | secp256k1 | f1 base32 | m/44'/461'/0'/0/0 |
| XRPL | secp256k1 | base58check | m/44'/144'/0'/0/0 |
| Cardano | Ed25519-BIP32 (CIP-1852) | Shelley Bech32 base (addr1…) |
Payment m/1852'/1815'/0'/0/0 + stake m/1852'/1815'/0'/2/0 |
| Command | Description |
|---|---|
ows wallet create |
Create a new wallet with addresses for all chains |
ows wallet list |
List all wallets in the vault |
ows wallet info |
Show vault path and supported chains |
ows sign message |
Sign a message with chain-specific formatting |
ows sign tx |
Sign a raw transaction |
ows pay request |
Make a paid request to an x402-enabled API endpoint |
ows pay discover |
Discover x402-enabled services |
ows fund deposit |
Create a MoonPay deposit to fund a wallet with USDC |
ows fund balance |
Check token balances for a wallet |
ows mnemonic generate |
Generate a BIP-39 mnemonic phrase |
ows mnemonic derive |
Derive an address from a mnemonic |
ows policy create |
Register a policy from a JSON file |
ows policy list |
List all registered policies |
ows key create |
Create an API key for agent access |
ows key list |
List all API keys |
ows key revoke |
Revoke an API key |
ows update |
Update ows and bindings |
ows uninstall |
Remove ows from the system |
The full spec lives in docs/ and at openwallet.sh:
Reference implementation documentation:
MIT
暂无开放 Issues,或尚未同步最近议题。