Svelteth is an open-source library designed to simplify and amplify Web3 adoption in Svelte 5 projects. By leveraging Svelte's reactivity, Svelteth makes it easy to connect, manage, and interact with Ethereum wallets and providers in your Svelte applications.
npm install svelteth
Import the Wallet
component and add it to your Svelte page:
<script lang="ts">
import { Wallet } from 'svelteth';
</script>
<Wallet theme={'dark'}/>
Or use the reactive wallet state and actions directly:
import { wallet, connectWallet, disconnectWallet } from 'svelteth';
MIT
Made with ❤️ for the Svelte and Web3 communities.