diff --git a/docs/_data/navigation.yml b/docs/_data/navigation.yml index 9ea292ae..554c1f5f 100644 --- a/docs/_data/navigation.yml +++ b/docs/_data/navigation.yml @@ -44,6 +44,8 @@ docs: url: /docs/bonds/ - title: '  Trade Escrow' url: /docs/escrow/ + - title: '  On-Chain Payouts' + url: /docs/on-chain-payouts/ - title: '  Prices' url: /docs/prices/ - title: '  Fees' diff --git a/docs/_pages/docs/03-understand/14-on-chain-payouts.md b/docs/_pages/docs/03-understand/14-on-chain-payouts.md new file mode 100644 index 00000000..75f6047f --- /dev/null +++ b/docs/_pages/docs/03-understand/14-on-chain-payouts.md @@ -0,0 +1,61 @@ +--- +layout: single +title: On-chain Payouts +permalink: /docs/on-chain-payouts/ +sidebar: + title: 'On-chain Payouts' + nav: docs +src: "_pages/docs/03-understand/14-on-chain-payouts.md" +--- + +Although Robosats is an exchange built on top of the lightning network, there +is an option however, for the buyer to receive their sats to an on-chain +bitcoin address. This is referred to as an on-chain payout or sometimes, +on-chain swap (not to be confused with [P2P Swaps](/docs/swaps)). On the UI, +this option is available after the taker has locked their bond. When the order +status is on "Waiting for buyer invoice", you should see two options - +"Lightning" and "Onchain": + +
+ +
+ +When you click on the on-chain address option you see the following: + +
+ +
+ +An overview of the fees is displayed and you can enter an on-chain bitcoin +address for the payout and also enter the mining fees. The *Swap fee* is an +additional fee that Robosats charges for making the on-chain payment. This does +not include the taker/maker fees. The Swap fee is charged on the amount after +deducting the taker/maker fees. In addition to the swap fee, there's also the +mining fee for the on-chain transaction. You can choose the mining fee that +suits your need of the hour. The *Mining Fee* input let's you choose the fee +rate in sats/vbyte. + +If the on-chain address is valid, then the order moves to the next stage as +usual. At the end, if the trade was successful you should see a screen +something like this with the transaction id of the payout transaction: + +
+ +
+ +### On-chain payout fees + +The on-chain payout fees (aka Swap fees) keeps changing from time to time. It +may range from 1% to 10%. To get the current on-chain fees you can check the +exchange summary by clicking on the "%" button from the home screen: + +
+ +
+ +The exchange summary dialog displays the current value of the on-chain payout fees: + +
+ +
+ diff --git a/docs/assets/images/understand/14-on-chain-payouts/contract-box-on-waiting-for-buyer-invoice.png b/docs/assets/images/understand/14-on-chain-payouts/contract-box-on-waiting-for-buyer-invoice.png new file mode 100644 index 00000000..80b4d1fc Binary files /dev/null and b/docs/assets/images/understand/14-on-chain-payouts/contract-box-on-waiting-for-buyer-invoice.png differ diff --git a/docs/assets/images/understand/14-on-chain-payouts/exchange-info-icon.png b/docs/assets/images/understand/14-on-chain-payouts/exchange-info-icon.png new file mode 100644 index 00000000..19ce35dc Binary files /dev/null and b/docs/assets/images/understand/14-on-chain-payouts/exchange-info-icon.png differ diff --git a/docs/assets/images/understand/14-on-chain-payouts/exchange-summary.png b/docs/assets/images/understand/14-on-chain-payouts/exchange-summary.png new file mode 100644 index 00000000..c70450b6 Binary files /dev/null and b/docs/assets/images/understand/14-on-chain-payouts/exchange-summary.png differ diff --git a/docs/assets/images/understand/14-on-chain-payouts/on-chain-box.png b/docs/assets/images/understand/14-on-chain-payouts/on-chain-box.png new file mode 100644 index 00000000..575acd8b Binary files /dev/null and b/docs/assets/images/understand/14-on-chain-payouts/on-chain-box.png differ diff --git a/docs/assets/images/understand/14-on-chain-payouts/successful-trade-on-chain.png b/docs/assets/images/understand/14-on-chain-payouts/successful-trade-on-chain.png new file mode 100644 index 00000000..515691a0 Binary files /dev/null and b/docs/assets/images/understand/14-on-chain-payouts/successful-trade-on-chain.png differ diff --git a/docs/assets/vector/link-solid.svg b/docs/assets/vector/link-solid.svg new file mode 100644 index 00000000..0646548a --- /dev/null +++ b/docs/assets/vector/link-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file