-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: wallet connection via deeplink (#405)
Co-authored-by: Gancho Radkov <[email protected]>
- Loading branch information
1 parent
9d6d0ae
commit 0053f33
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Text } from '@nextui-org/react' | ||
import { Fragment } from 'react' | ||
import { useRouter } from 'next/router' | ||
import WalletConnectPage from './walletconnect' | ||
|
||
export default function DeepLinkPairingPage() { | ||
const router = useRouter() | ||
|
||
const uri = router.query.uri as string | ||
|
||
if (!uri) { | ||
return ( | ||
<Fragment> | ||
<Text css={{ opacity: '0.5', textAlign: 'center', marginTop: '$20' }}> | ||
No URI provided via `?uri=` params | ||
</Text> | ||
</Fragment> | ||
) | ||
} | ||
|
||
return <WalletConnectPage deepLink={uri} /> | ||
} |
0053f33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-auth-dapp – ./advanced/dapps/react-dapp-auth
react-auth-dapp.vercel.app
react-auth-dapp-git-main-walletconnect1.vercel.app
react-auth-dapp-walletconnect1.vercel.app
react-auth-dapp.walletconnect.com
0053f33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-wallet-v2 – ./advanced/wallets/react-wallet-v2
react-wallet-v2-git-main-walletconnect1.vercel.app
react-wallet-v2.vercel.app
react-wallet-v2-walletconnect1.vercel.app
react-wallet.walletconnect.com
react-wallet.walletconnect.org
react-web3wallet.vercel.app
0053f33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
malicious-dapp-verify-simulation – ./advanced/dapps/react-dapp-v2
malicious-dapp-verify-simulation-git-main-walletconnect1.vercel.app
malicious-app-verify-simulation.vercel.app
web-examples-eta.vercel.app
malicious-dapp-verify-simulation-walletconnect1.vercel.app
0053f33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-auth-wallet – ./advanced/wallets/react-wallet-auth
react-auth-wallet-walletconnect1.vercel.app
react-auth-wallet.walletconnect.com
react-auth-wallet-git-main-walletconnect1.vercel.app
react-auth-wallet.vercel.app
0053f33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
vue-dapp-auth – ./advanced/dapps/vue-dapp-auth
vue-dapp-auth.vercel.app
vue-dapp-auth-git-main-walletconnect1.vercel.app
vue-dapp-auth-walletconnect1.vercel.app
0053f33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-dapp-v2 – ./advanced/dapps/react-dapp-v2
react-dapp-v2.vercel.app
react-dapp-v2-walletconnect1.vercel.app
react-dapp-v2-git-main-walletconnect1.vercel.app
react-app.walletconnect.org
react-app.walletconnect.com