Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Add vanilla channels and support for swaps
Browse files Browse the repository at this point in the history
Co-authored-by: Alekos Filini <[email protected]>
  • Loading branch information
danielabrozzoni and afilini committed Oct 26, 2023
1 parent 558f2be commit aab945d
Show file tree
Hide file tree
Showing 32 changed files with 1,997 additions and 452 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
shallow = true
[submodule "rust-lightning"]
path = rust-lightning
url = [email protected]:RGB-Tools/rust-lightning.git
url = [email protected]:danielabrozzoni/rust-lightning.git
shallow = true
[submodule "rgb-wallet"]
path = rgb-wallet
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,18 +223,18 @@ listchannels
```

### Sending assets
To send RGB assets over the LN network, call the `keysend` command followed by:
To send RGB assets over the LN network, call the `coloredkeysend` command followed by:
- the receiving peer's pubkey
- the bitcoin amount in satoshis
- the RGB asset's contract ID
- the RGB amount

Example:
```
keysend 03ddf2eedb06d5bbd128ccd4f558cb4a7428bfbe359259c718db7d2a8eead169fb 2000000 rgb1lfxs4dmqs7a90vrz0yaje60fakuvu9u9esx882shy437yxazmysqamnv2r 10
coloredkeysend 03ddf2eedb06d5bbd128ccd4f558cb4a7428bfbe359259c718db7d2a8eead169fb 2000000 rgb1lfxs4dmqs7a90vrz0yaje60fakuvu9u9esx882shy437yxazmysqamnv2r 10
```

At the moment, only the `keysend` command has been modified to support RGB
At the moment, only the `coloredkeysend` command has been modified to support RGB
functionality. The invoice-based `sendpayment` will be added in the future.

### Closing channels
Expand Down
Loading

0 comments on commit aab945d

Please sign in to comment.