Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add "Connect Wallet" Pop-up Reminder for Unconnected Wallets #1329

Open
reva-jariwala2 opened this issue Sep 30, 2024 · 1 comment

Comments

@reva-jariwala2
Copy link

Describe the solution you'd like

it would be helpful to have a pop-up reminder on the landing page prompting users to connect their wallets (if they have not already) connecting the wallet brings the site to life + shows the power of OnchainKit!! so, this would really help users who are less familiar with the components.

Describe alternatives you've considered.

No response

@ElizabethLov3
Copy link

import { Coinbase, Wallet } from "@coinbase/coinbase-sdk";

let coinbase = Coinbase.configureFromJson({ filePath: '~/Downloads/cdp_api_key.json' });

// Create a Wallet
let wallet = await Wallet.create();
console.log(Wallet successfully created: , wallet.toString());

// Wallets come with a single default Address, accessible via getDefaultAddress:
let address = await wallet.getDefaultAddress();
console.log(Default address for the wallet: , address.toString());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants