Restoring PeraConnect session #1349
-
How do you restore a PeraConnect session from localStorage? When using PeraConnect, it saves the session in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The example program doesn't demonstrate saving the PeraConnect session, but the exact technique would work. You create a |
Beta Was this translation helpful? Give feedback.
The example program doesn't demonstrate saving the PeraConnect session, but the exact technique would work. You create a
PeraWalletConnect
object yourself and pass it as an argument to the wallet fallback. You can see how it works right here: https://github.com/reach-sh/reach-lang/blob/master/js/stdlib/ts/ALGO_PeraConnect.ts#L8-L14