lightning_create
Create a new password-protected Lightning wallet. Generates a BIP39 mnemonic, encrypts the keystore, and returns a deposit address for funding the wallet from L1 BTC.
Instructions
Create a new embedded Lightning wallet backed by the Spark SDK. Generates a fresh BIP39 mnemonic (shown once), encrypts it with the provided password, and stores it at ~/.aibtc/lightning/keystore.json. Returns the deposit address for funding the wallet from L1 BTC.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the Lightning wallet (e.g., 'main') | |
| password | Yes | Password to protect the Lightning wallet (minimum 8 characters) - WARNING: sensitive value |