-
Notifications
You must be signed in to change notification settings - Fork 3
Description
it's deployed at @h1walletbot . There are also a few bugs that need to be addressed
a few features not completed: send money by telegram id; more buttons in bot reply message; some direct commands
bug: if you have at least two Telegram accounts logged in and interacted with @h1walletbot on both of them , you will be able to access wallet tied to the other account instead of your own. The code should use the userId in query string and load the wallet corresponding to that userId instead of just retrieving the first one from the store
bug: logout would lead the user to the normal signup screen (with phone number), instead of a logout page dedicated to Telegram users
buttons should have Open, Recover, Send Money. Later on we can add (.country) Domains, Transactions, Contract Interaction
Commands should have
/balance
/balance
/send
/send <token / token label> (token label is a string, e.g. usdc, we should support common ones)
/tokenaddress
/open (prompt single button)
/recover (prompt single button)
/lookup (find someone's address)
Later on we can add:
/setaddress
/domains (domains you own)
/sendnft <token / token label>
/nftaddress
https://h1wallet.country
https://smswallet.xyz/