Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QRCodeView is now QrCodeGenerator
Browse files Browse the repository at this point in the history
Co-authored-by: Can Berk T. <[email protected]>
timothymcmackin and oskar-ziller authored Jan 25, 2024
1 parent 376e2ea commit a08180e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/unity/connecting-accounts.md
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ This method generates a QR code that a user scans with their wallet application:
1. The Unity application calls the [`Wallet.Connect()`](./reference/Wallet#connect) method with the `walletProvider` parameter set to `WalletProviderType.beacon` to send a connection request to a wallet application via the [TZIP-10 protocol](https://gitlab.com/tezos/tzip/-/tree/master/proposals/tzip-10).
1. The wallet returns a handshake that includes pairing information for the wallet, which triggers the `HandshakeReceived` event.
1. From the handshake information, the SDK generates a QR code.
The `TezosAuthenticator` prefab handles the QR code generation with the `TezosSDK.View.QRCodeView` class.
The `TezosAuthenticator` prefab handles the QR code generation with the `QrCodeGenerator` class.
1. The user scans the QR code with their wallet app and approves the connection.
1. The SDK receives the connection approval, which triggers the `WalletConnected` event and includes information about the connected account.

0 comments on commit a08180e

Please sign in to comment.