wallet-setup
Installation
SKILL.md
Wallet Setup
Create, configure, and manage 1Sat wallets programmatically across Node.js, browser (extension / web app), or thin-client environments.
Package choice
Each package is a thin shim over a shared factory in @1sat/wallet. They differ only in what local storage they create.
| Package | Environment | Local storage |
|---|---|---|
@1sat/wallet-node |
Node.js / Bun (server, CLI) | SQLite via StorageBunSqlite or StorageKnex |
@1sat/wallet-browser |
Browser (extensions, web apps) | IndexedDB via StorageIdb |
@1sat/wallet-remote |
Any (thin client) | None — remote is the only store |
@1sat/wallet |
Core factory consumed by the above | n/a |
Pick wallet-remote only when you explicitly do not want a local store. For everything else (including extensions), pick the environment-specific package — wallet-node or wallet-browser.