wallet-adapter-svelte Svelte Themes

Wallet Adapter Svelte

Hard fork of @svelte-on-solana/wallet-adapter with Wallet Standard support.

@thewuh/wallet-adapter-svelte

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.

View demo / Browse demo code

Quick installation

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\

Packages

  • 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

Build from Source

  1. Clone the project:

    git clone https://github.com/thewuh/wallet-adapter-svelte.git
    
  2. Install dependencies:

    cd wallet-adapter-svelte
    pnpm install
    
  3. Build all packages:

    pnpm build
    
  4. Run locally:

    cd packages/example/
    pnpm start
    

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes