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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"password": "<password>"
},
"name": "lightning_create"
}
}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 |