lightning_import
Import an existing Lightning wallet from a BIP39 mnemonic phrase into a locally encrypted Spark-backed store.
Instructions
Import an existing Lightning wallet into the embedded Spark-backed store from a BIP39 mnemonic phrase. Encrypted locally at ~/.aibtc/lightning/keystore.json.
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>",
"mnemonic": "<mnemonic>",
"password": "<password>"
},
"name": "lightning_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the Lightning wallet | |
| mnemonic | Yes | BIP39 mnemonic phrase - WARNING: sensitive value | |
| password | Yes | Password to protect the Lightning wallet (minimum 8 characters) - WARNING: sensitive value |