Starting work on HTLC commands
This commit is contained in:
13
README.md
13
README.md
@@ -72,14 +72,18 @@ Later, we will aim to remove the Side Watcher from the architecture, by (a) movi
|
||||
|
||||
## Bitcoin integration
|
||||
|
||||
There is a Bitcoin client integrated into the node, which can do simple coin transfers using esplora and the Mutinynet server's Signet (30 second blocktime).
|
||||
There is an Esplora Bitcoin client integrated into the node
|
||||
|
||||
### Simple coin transfers
|
||||
|
||||
The client can do simple coin transfers using esplora and the Mutinynet server's Signet (30 second blocktime).
|
||||
|
||||
The client's demo driver can be run by doing:
|
||||
|
||||
```
|
||||
cargo run -- init dave
|
||||
cargo run -- init sammy
|
||||
cargo run -- btc
|
||||
cargo run -- btc-transfer
|
||||
```
|
||||
|
||||
You'll need to have funded the "dave" address prior to running the `btc` command - otherwise the transfer will fail gracefully.
|
||||
@@ -88,6 +92,11 @@ I was using this primarily as a way to experiment with constructing and broadcas
|
||||
|
||||
There is a second, unused Bitcoin client in place which uses Blockstream's Electrum server, but this didn't seem to be working properly with respect to Signet Bitcoin network during my testing, so I went with the esplora / Mutiny version instead.
|
||||
|
||||
### HTLCs (in progress)
|
||||
|
||||
An experimental driver for Bitcoin Hash Time Locked Contracts (HTLCs).
|
||||
|
||||
|
||||
## Possible uses
|
||||
|
||||
### DKG
|
||||
|
||||
Reference in New Issue
Block a user