Local Wallet
Loads or generates a local wallet on the user's device. This wallet is encrypted with a password and stored in local storage. It is meant to be used as a guest wallet, and is not recommended for long-term storage of funds.
Usage
Behavior
WebGL
Prompts the user to connect their Metamask browser extension.
Standalone
Instantiates the customizable WalletProvider_Metamask
UI prefab, displaying a QR code and deep link button. Scan the QR code with your Metamask mobile app to connect.
Mobile
Instantiates the customizable WalletProvider_Metamask
UI prefab, displaying a QR code and deep link button. Click the deep link button to connect to your Metamask mobile app.
Miscellaneous
You may export this wallet to a JSON file, which can be imported into other wallets such as the Metamask extension.
If no password is passed, it defaults to SystemInfo.deviceUniqueIdentifier
.