We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://stackblitz.com/edit/vitejs-vite-i19qspur?file=src%2Fmain.js
In vanilla JS, it is currently impossible to retrieve the solana Connection object from @reown/appkit-adapter-solana.
Connection
@reown/appkit-adapter-solana
The vue and react exports specify a useAppKitConnection hook to retrieve that connection, but it's unavailable in vanilla JS.
useAppKitConnection
Even the SolStoreUtil cannot be imported from @reown/appkit-adapter-solana because it's only exported as a type here:
SolStoreUtil
appkit/packages/adapters/solana/src/index.ts
Line 8 in 4d3dd28
@reown/appkit-adapter-solana v1.6.2
v22
pnpm 9.15.1
The text was updated successfully, but these errors were encountered:
APKT-1845 [bug] Impossible to use solana connection in vanilla JS
Sorry, something went wrong.
Thanks for reporting the issue ... we are working to solve it as soon as possible.
Thx for reporting @beeb - curious - what are you building?
@arein just trying to find the best way to integrate with Svelte. No particular project in mind.
Yep, I have also filed a bug report for the doc here: reown-com/reown-docs#230
No branches or pull requests
Link to minimal reproducible example
https://stackblitz.com/edit/vitejs-vite-i19qspur?file=src%2Fmain.js
Summary
In vanilla JS, it is currently impossible to retrieve the solana
Connection
object from@reown/appkit-adapter-solana
.The vue and react exports specify a
useAppKitConnection
hook to retrieve that connection, but it's unavailable in vanilla JS.Even the
SolStoreUtil
cannot be imported from@reown/appkit-adapter-solana
because it's only exported as a type here:appkit/packages/adapters/solana/src/index.ts
Line 8 in 4d3dd28
List of related npm package versions
@reown/appkit-adapter-solana v1.6.2
Node.js Version
v22
Package Manager
pnpm 9.15.1
The text was updated successfully, but these errors were encountered: