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

feat: vanilla js examples (WIP) #35

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

rtomas
Copy link
Collaborator

@rtomas rtomas commented Jan 20, 2025

  • always getActiveChain() = solana (mainnet)
    - this is causing the Balance no to load.
    - For getting the Connection Object (not to straightforward) and also the activeChain
const arrayChain = store['solanaProvider'].requestedChains
const selectedChain = arrayChain.find(chain => chain.id === state.chainId);
const url = selectedChain.rpcUrls.default.http[0];
const connection = new Connection(url);
  • wagmi vanillaJS can't send tx because bringing the wrong config and also not working well.
  • bitcoin activity and balance is giving error

Copy link

vercel bot commented Jan 20, 2025

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

Name Status Preview Comments Updated (UTC)
appkit-web-examples-next-bitcoin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-next-ethers ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-next-multichain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-next-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-next-wagmi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-react-bitcoin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-react-ethers ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-react-multichain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-react-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-react-wagmi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-vue-bitcoin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-vue-ethers ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-vue-multichain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-vue-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm
appkit-web-examples-vue-wagmi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:18pm

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

Successfully merging this pull request may close these issues.

1 participant