LNP-BP / nodes

Complete LNP/BP protocol daemons suite
MIT License
18 stars 8 forks source link

Example for transfer accept #13

Closed cryptoquick closed 2 years ago

cryptoquick commented 2 years ago

Currently in the demo script, the BLINDING factor on the other machine isn't used, nor is any form of accept transfer command is called (on the other machine). It would help to have an example of how this is done.

cryptoquick commented 2 years ago

According to @crisdut, this is what's needed in the example:

The blinding factor is used to reveal Blinded UTXO in consignment file with rgb-cli transfer consume method.

For example:

rgb-cli transfer consume ./consignment.rgbc --reveal "tapret1st@$receive_txid:$receive_vout#$blind_factor"

crisdut commented 2 years ago

I add more information in rgb-demo.sh.

https://github.com/LNP-BP/nodes/pull/14