add pics
BIN
docs/liquid/2-part3-swaptool.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/liquid/2b-part3-swappropose.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
docs/liquid/2c-part3-swappropose.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
docs/liquid/2d-part3-swapfinalize.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
docs/liquid/2e-part3-swapexecute.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
docs/liquid/2f-part3-swaptransid.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
docs/liquid/3-part3-swapfinalize.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
@ -38,4 +38,56 @@ asset issued 10 0 false (10 tokens / 0 re-issuance / not confidential)
|
|||||||
Green wallet address
|
Green wallet address
|
||||||
VJLJZQ2Du4natCvJuhNQTH7tHnphsofPoW8aZtgsnmPaihuqt4MpsujPxYTiy5WHVuJdpRQAcF9oTMAd
|
VJLJZQ2Du4natCvJuhNQTH7tHnphsofPoW8aZtgsnmPaihuqt4MpsujPxYTiy5WHVuJdpRQAcF9oTMAd
|
||||||
|
|
||||||
|
Swap Pre-Proposal Node1
|
||||||
|
"balance": {
|
||||||
|
"bitcoin": 0.00010623,
|
||||||
|
"3e62af3c80c56ab6fec3d1e5646637152afebaf2a86ace075bbb7a88702e1fe5": 1.00000000
|
||||||
|
},
|
||||||
|
|
||||||
|
Swap Pre-Proposal Node2
|
||||||
|
"balance": {
|
||||||
|
"bitcoin": 0.00131755,
|
||||||
|
"3e62af3c80c56ab6fec3d1e5646637152afebaf2a86ace075bbb7a88702e1fe5": 8.00000000
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWAP Propsal info
|
||||||
|
|
||||||
|
$ liquidswap-cli -u http://$E_RPCUSER:$E_RPCPASS@localhost:7041 info proposal.txt
|
||||||
|
{
|
||||||
|
"status": "proposed",
|
||||||
|
"legs": [
|
||||||
|
{
|
||||||
|
"incoming": true,
|
||||||
|
"funded": true,
|
||||||
|
"asset": "3e62af3c80c56ab6fec3d1e5646637152afebaf2a86ace075bbb7a88702e1fe5",
|
||||||
|
"amount": 1.0,
|
||||||
|
"fee": 2.67e-06
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"incoming": false,
|
||||||
|
"funded": false,
|
||||||
|
"asset": "6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d",
|
||||||
|
"amount": 2.3e-05,
|
||||||
|
"fee": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
Swap - Accept
|
||||||
|
liquidswap-cli -u http://$E_RPCUSER:$E_RPCPASS@localhost:7041 accept -o accept.txt proposal.txt
|
||||||
|
|
||||||
|
|
||||||
|
Swap - After finalize Node1
|
||||||
|
"balance": {
|
||||||
|
"bitcoin": 0.00012656
|
||||||
|
},
|
||||||
|
|
||||||
|
Swap - After finalize Node2
|
||||||
|
"balance": {
|
||||||
|
"bitcoin": 0.00129180,
|
||||||
|
"3e62af3c80c56ab6fec3d1e5646637152afebaf2a86ace075bbb7a88702e1fe5": 9.00000000
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||