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

docs: WalletModal for wallet aggregation #1669

Merged
merged 5 commits into from
Nov 26, 2024
Merged

Conversation

cpcramer
Copy link
Contributor

What changed? Why?

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 6:33pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 6:33pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 6:33pm

@cpcramer cpcramer changed the title Initial commit, WalletModal docs in progress 🚧 docs: WalletModal docs in progress Nov 26, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation root labels Nov 26, 2024
Comment on lines +334 to +359
const wagmiConfig = createConfig({
chains: [base, baseSepolia],
connectors: [
// Smart wallet support
coinbaseWallet({
appName: 'Your App',
preference: 'smartWalletOnly',
}),
// EOA wallet support
coinbaseWallet({
appName: 'Your App',
preference: 'eoaOnly',
}),
// Other wallets via WalletConnect
walletConnect({ // [!code focus]
projectId: process.env.WALLET_CONNECT_PROJECT_ID, // [!code focus]
showQrModal: true, // [!code focus]
metadata: { // [!code focus]
name: 'Your App', // [!code focus]
description: 'Your app description', // [!code focus]
url: 'https://your-app.com', // [!code focus]
icons: [], // [!code focus]
},
}),
],
// ... other config
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working on removing this step entirely

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

@cpcramer cpcramer merged commit edec5ac into main Nov 26, 2024
14 of 16 checks passed
@cpcramer cpcramer deleted the paul/docs-latest-modal branch November 26, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation root
Development

Successfully merging this pull request may close these issues.

3 participants