File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
apps/testapp/src/components Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 22
33# Coinbase Wallet SDK
44
5+ - [ Playground] ( https://coinbase.github.io/coinbase-wallet-sdk/ )
6+ - [ Developer docs] ( https://docs.cloud.coinbase.com/wallet-sdk/docs )
7+
58Coinbase Wallet SDK (formerly WalletLink) lets developers connect their dapps to Coinbase Wallet
69on both mobile web (for iOS and Android) and desktop:
710
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ export const WIDTH_2XL = '1536px';
2121
2222export function Layout ( { children } : LayoutProps ) {
2323 const { sdk, sdkVersion, setSDKVersion } = useCBWSDK ( ) ;
24+
25+ const handleClockDocs = ( ) => {
26+ window . open ( 'https://cbdev.io/walletstart' , '_blank' ) ;
27+ } ;
28+
2429 const handleDisconnect = ( ) => {
2530 if ( sdk ) {
2631 sdk . disconnect ( ) ;
@@ -34,6 +39,7 @@ export function Layout({ children }: LayoutProps) {
3439 < Flex justifyContent = "space-between" alignItems = "center" >
3540 < Heading > Coinbase Wallet SDK - Playground</ Heading >
3641 < Flex justifyContent = "space-between" alignItems = "center" gap = { 4 } >
42+ < Button onClick = { handleClockDocs } > Docs</ Button >
3743 < Menu >
3844 < MenuButton as = { Button } rightIcon = { < ChevronDownIcon /> } >
3945 { `SDK: ${ sdkVersion } ` }
You can’t perform that action at this time.
0 commit comments