Initialize ORDnet Wallet
ordnet_wallet_initInitialize a Bitcoin SV wallet from a WIF private key to enable inscription transactions and manage balances. Returns address, public key, and satoshi balance.
Instructions
Initialize wallet from WIF private key for blockchain operations.
This is the first step before creating inscriptions. The wallet will be used for:
Creating and signing inscription transactions
Paying service fees (396 sats across 11 outputs / 10 addresses)
Receiving change from transactions
Security: WIF is held in memory only, not persisted. Use ordnet_wallet_init_env for production.
Args:
wif (string): WIF private key (starts with 5, K, or L, 51-52 chars)
Returns: { address: string, publicKey: string, balanceSatoshis: number }
Example: ordnet_wallet_init({ wif: "L1a2b3c4d5..." }) → Wallet initialized at 1ABC...
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wif | Yes | WIF (Wallet Import Format) private key. Starts with 5, K, or L. |