prepare_kamino_init_user
Initialize a user on Kamino's main market by creating the user lookup table, userMetadata PDA, and obligation PDA in one transaction. Required once before supplying, borrowing, or withdrawing.
Instructions
First-time Kamino setup. Creates the user lookup table + userMetadata PDA + obligation PDA (VanillaObligation, tag 0) on Kamino's main market in a single tx. ONE-TIME — required prerequisite before prepare_kamino_supply / borrow / withdraw / repay. Refuses if userMetadata already exists (use the supply tool directly). Costs ~0.028 SOL total in rent for the three accounts (recoverable via Kamino's account-close flow when fully exiting). DURABLE NONCE REQUIRED. BLIND-SIGN on Ledger — Kamino's program isn't in the Solana app's clear-sign allowlist; match the Message Hash on-device after preview_solana_send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Solana base58 wallet — funds the LUT (~0.014 SOL rent) + obligation PDA (~0.012 SOL rent) + userMetadata PDA (~0.002 SOL rent). Must have an initialized durable-nonce account (prepare_solana_nonce_init). |