Skip to content

Commit adbe634

Browse files
ShahanaFarooquirustyrussell
authored andcommitted
doc: Update Commando plugin details and link
1 parent 2d73186 commit adbe634

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

doc/developers-guide/app-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ There are several ways to connect and interact with a Core Lightning node in ord
99
- Using **[JSON-RPC commands](doc:json-rpc)** if you're building an application in the same system as the CLN node.
1010
- Using **[REST APIs](doc:rest)** if you're building an application in a remote client and want to connect to the CLN node over a secure network using REST interface.
1111
- Using **[gRPC APIs](doc:grpc)** if you're building an application in a remote client and want to connect to the CLN node over a secure network using gRPC interface.
12-
- Using **[Commando](doc:commando)** to connect to a CLN node over the lightning network and issue commands.
12+
- Using **[Commando Plugin](doc:commando-plugin)** to connect to a CLN node over the lightning network and issue commands.
1313
- Using **[WSS Proxy](doc:wss-proxy)** to connect to a CLN node over web secure socket proxy.
1414
- Third-party libraries that offer **[JSON over HTTPS](doc:third-party-libraries#json-over-https)** or **[GraphQL](doc:third-party-libraries#graphql)** (deprecated) frameworks to connect to a CLN node remotely.
1515

doc/developers-guide/app-development/commando.md renamed to doc/developers-guide/app-development/commando-plugin.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Commando"
3-
slug: "commando"
3+
slug: "commando-plugin"
44
hidden: false
55
createdAt: "2023-02-08T09:54:01.784Z"
66
updatedAt: "2023-09-05T13:55:16.224Z"
@@ -9,13 +9,11 @@ updatedAt: "2023-09-05T13:55:16.224Z"
99
>
1010
> Used for applications that want to connect to a CLN node over the lightning network in a secure manner.
1111
12-
Commando is a direct-to-node plugin that ships natively with Core Lightning. It lets you set _runes_ to create fine-grained access controls to a CLN node's RPC , and provides access to those same RPCs via Lightning-native network connections.
12+
Commando is a direct-to-node plugin that ships natively with Core Lightning. It lets you set _runes_ to create fine-grained access controls to a CLN node's RPC and provides access to those same RPCs via Lightning-native network connections.
1313

14-
The commando plugin adds some cool RPC methods like: `commando`, `commando-rune`, `commando-blacklist` and `commando-listrunes`.
14+
The commando plugin uses RPC method `commando` which allows you to send a directly connected peer an RPC request. In turn, it will run and send the result to you. This uses the secure connections that Lightning nodes establish with each other on connect. As arbitrary RPC executions by any connected node can be dangerous, generally, the peer will only allow you to execute the command if you've also provided a `rune`.
1515

16-
`commando` RPC allows you to send a directly connected peer an RPC request, who, in turn, will run and send the result to you. This uses the secure connections that Lightning nodes establish with each other on connect. As arbitrary RPC executions by any connected node can be dangerous, generally, the peer will only allow you to execute the command if you've also provided a `rune`.
17-
18-
For more details on using runes, read through the docs for [commando](ref:lightning-commando).
16+
For more details on using runes, read through the docs for [commando](ref:commando).
1917

2018
Check out [this](https://www.youtube.com/watch?v=LZLRCPNn7vA) video of William Casarin (@jb55) walking through how to create runes and connect to a Lightning node via [lnsocket](https://github.com/jb55/lnsocket).
2119

0 commit comments

Comments
 (0)