Open alexauroradev opened 2 years ago
Problem Web redirects from apps does not set up the correct wallet and has no ability to switch the wallet
Expected Behavior The redirect should set up the correct wallet AND user should be able to switch the signing wallet.
Steps to reproduce
Here's the screenshot:
The URL is the following: https://wallet.near.org/sign?transactions=CAAAAGFzMi5uZWFyAI1rFJM6rTTaPFh4BKcB%2Bw7DGa6KT4fiFa3IODd%2BaiJYVml%2B6g01AAAPAAAAcGl4ZWx0b2tlbi5uZWFySiTUi1PV9b7fCAsDShAAi8hurggsGIJTgrP0QDO40sgBAAAAAgsAAABjaF9idXlfaXRlbVAAAAB7InRva2VuX2lkIjoiMTIzNjk4Iiwib3duZXIiOiJyb3pib3IubmVhciIsImJ1eWVyIjoiYXMyLm5lYXIiLCJwcmljZSI6IjEwMDAwMDAifQBgt5hsiAAAAQAAAAAAAAAAAAAAAAAAAA%3D%3D&referrer=Pixelpets+Dapp%3A+Pixelpets+Dapp&callbackUrl=https%3A%2F%2Fecosystem.pixeldapps.co%2Fcallback%3Fpage%3Ditem_bought
+1 Some dapps like rainbowbridge expect the signer to be the connected account (wallet_1)
@esaminu is working on this here: https://github.com/near/near-wallet/issues/2402 :)
Problem Web redirects from apps does not set up the correct wallet and has no ability to switch the wallet
Expected Behavior The redirect should set up the correct wallet AND user should be able to switch the signing wallet.
Steps to reproduce
Here's the screenshot:
The URL is the following: https://wallet.near.org/sign?transactions=CAAAAGFzMi5uZWFyAI1rFJM6rTTaPFh4BKcB%2Bw7DGa6KT4fiFa3IODd%2BaiJYVml%2B6g01AAAPAAAAcGl4ZWx0b2tlbi5uZWFySiTUi1PV9b7fCAsDShAAi8hurggsGIJTgrP0QDO40sgBAAAAAgsAAABjaF9idXlfaXRlbVAAAAB7InRva2VuX2lkIjoiMTIzNjk4Iiwib3duZXIiOiJyb3pib3IubmVhciIsImJ1eWVyIjoiYXMyLm5lYXIiLCJwcmljZSI6IjEwMDAwMDAifQBgt5hsiAAAAQAAAAAAAAAAAAAAAAAAAA%3D%3D&referrer=Pixelpets+Dapp%3A+Pixelpets+Dapp&callbackUrl=https%3A%2F%2Fecosystem.pixeldapps.co%2Fcallback%3Fpage%3Ditem_bought