nullcount / satbounty

Open source labor market to incentivize and monetize work
MIT License
0 stars 0 forks source link

To submit the bounty, user must deposit the reward to hold in escrow #4

Open nullcount opened 2 years ago

nullcount commented 2 years ago

Currently, the only way to add to one's account balance is by winning a bounty.

Should add a flow to deposit funds to account balance using LN.

  1. In user account settings, add a link to "Deposit Funds".
  2. Similar to prepare_case.rs, the user is presented with an invoice string requesting the arbitrary amount of sats entered by user in field form.
  3. Check for payment of invoice and credit user's account balance for sats deposited.

Similar to stacker news, we will use the user's account balance to pay for fees/rewards.