reach-sh/reach-lang

feat: integrate algorand community's use-wallet

kcelestinomaria opened this issue · 1 comments

Hi Reach Team,

Requesting to kindly integrate use-wallet here: https://github.com/TxnLab/use-wallet , to Algorand's Reach Dapps, so it is easier for any user and wallet to connect to Reach applications on Algorand.

It's complicated integrating wallets with Reach Dapps atm.

Thanks and will appreciate.

I recommend using the functions documented here --- https://docs.reach.sh/frontend/#ref-frontends-js-provider --- to provide a wallet fallback that adapts use-wallet to ARC11. The code would look something like this --- https://github.com/reach-sh/reach-lang/blob/master/js/stdlib/ts/ALGO_MakePeraConnect.ts