Skip to content

Commit 40d9197

Browse files
authored
Add links to TestApp and README (coinbase#1072)
* readme * adding a button to docs page
1 parent 64f0400 commit 40d9197

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
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+
58
Coinbase Wallet SDK (formerly WalletLink) lets developers connect their dapps to Coinbase Wallet
69
on both mobile web (for iOS and Android) and desktop:
710

apps/testapp/src/components/Layout.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ export const WIDTH_2XL = '1536px';
2121

2222
export 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}`}

0 commit comments

Comments
 (0)