2i2i/app_2i2i

redeem coins

Closed this issue · 1 comments

2i2i commented

if Host Algorand account has 0 ALGO, then Host cannot receive any amount less than 0.1 ALGO

if Host Algorand account is not opted into some ASA, Host cannot receive that ASA

if a Host cannot receive the coins they should, the coins stay in the smart contract

the Host should be able to redeem those coins

  • smart contract method to redeem (1m1)
  • cloud function to check whether Host got its coins; if not, update redeem db table (1m1)
  • dart transaction code to redeem coins (1m1)
  • 'redeem coins' page: shows a list of tiles, one for each ASA that is due to the user with a button that triggers the above transaction method
2i2i commented

cloud functions done
2i2i/firebase#34

smart contract done
2i2i/algorand#15