ldk_create_channel
Initiate a Lightning Network channel by specifying a peer node's public key, channel capacity in satoshis, and optional visibility settings using the LDK MCP Server.
Instructions
Open a Lightning channel with a peer node
Input Schema
Name | Required | Description | Default |
---|---|---|---|
capacitySats | Yes | Channel capacity in satoshis | |
isPublic | No | Whether to announce channel publicly | |
pushSats | No | Amount to push to remote side (optional) | |
remotePubkey | Yes | Remote node public key (hex encoded) |
Input Schema (JSON Schema)
{
"properties": {
"capacitySats": {
"description": "Channel capacity in satoshis",
"minimum": 20000,
"type": "number"
},
"isPublic": {
"default": false,
"description": "Whether to announce channel publicly",
"type": "boolean"
},
"pushSats": {
"default": 0,
"description": "Amount to push to remote side (optional)",
"type": "number"
},
"remotePubkey": {
"description": "Remote node public key (hex encoded)",
"type": "string"
}
},
"required": [
"remotePubkey",
"capacitySats"
],
"type": "object"
}