NB: this is a hard fork of the @svelte-on-solana/wallet-adapter with added support for Wallet Standard and updated Anchor helper.
Modular TypeScript wallet adapter and UI components for Solana/Anchor applications using SvelteJS as framework. This package contains a solution for Svelte Template and SvelteKit, making possible to build Solana Dapps in SPA or SSR mode.
In your existing project, install:
npm install @thewuh/wallet-adapter-svelte-core \
@thewuh/wallet-adapter-svelte-ui\
@thewuh/wallet-adapter-svelte-anchor\
@solana/web3.js\
- Standard - Svelte Store that helps to manage adapters that follow the Wallet Standard
- Core - Svelte Store which exposes methods and properties to run the wallet in your application
- UI - Pre-built components for integrating with Solana wallets using Svelte
- Anchor - Helper components for working with Anchor
- Example - Example app using packages
- Clone the project:
git clone https://github.com/thewuh/wallet-adapter-svelte.git
- Install dependencies:
cd wallet-adapter-svelte
pnpm install
- Build all packages:
pnpm build
- Run locally:
cd packages/example/
pnpm start