-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
- Server operator deploys a docker container that's configured with their mnemonic seed, a contract genesis, and a fixed price in either BTC or USD.
- bitmaskd has a simple HTML webpage that displays a form with an input for an RGB invoice and a way to copy the contract genesis.
- User submits their invoice, which can either specify the token, or be a wildcard invoice.
- They get redirected to a page with an address to send Bitcoin to.
- We add that to our mempool monitor and create a websocket to the frontend to show when we get payment.
- Once a payment is initiated, we create a swap transaction that spends the payment using fees from the payment, and then immediately provide the txid. If their tx gets mined, their swap tx gets mined, too.