Now that users register accounts on their profile, we don't need to ask the wallet to connect every time we want to fetch the address or public key for a given chain. We can replace a lot of useWallet usages with useProfile to make the UI faster and lessen dependence on the wallet. This is especially relevant when using mobile wallets, since the UI will often randomly open the mobile wallet to connect to a chain in order to retrieve an address.
Now that users register accounts on their profile, we don't need to ask the wallet to connect every time we want to fetch the address or public key for a given chain. We can replace a lot of
useWallet
usages withuseProfile
to make the UI faster and lessen dependence on the wallet. This is especially relevant when using mobile wallets, since the UI will often randomly open the mobile wallet to connect to a chain in order to retrieve an address.