1.1.3 • Published 19 days ago

@builders-of-stuff/svelte-sui-wallet-adapter v1.1.3

Weekly downloads
-
License
-
Repository
github
Last release
19 days ago

Svelte Sui Wallet Adapter

A Sui wallet adapter for use with sveltekit and svelte 5.

Requires tailwindcss

Getting started

npm install @builders-of-stuff/svelte-sui-wallet-adapter
npx @svelte-add/tailwindcss@latest
npm install bits-ui
npm install svelte-radix
npx shadcn-svelte@latest init
// tailwind.css.ts

const config = {
...
content: [
	'./src/**/*.{html,js,svelte,ts}',
	'./node_modules/@builders-of-stuff/svelte-sui-wallet-adapter/**/*.{html,js,svelte,ts}'
],
...
}
// +page.svelte

<script lang="ts">
	import { ConnectButton, walletAdapter } from '@builders-of-stuff/svelte-sui-wallet-adapter';
</script>


<ConnectButton {walletAdapter} />

Current known issues

  • No local storage persistance
  • Switching wallets seems broken (must manually disconnect from app within wallet before connecting another account with same wallet — wallet thing?)

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

Everything inside src/lib is part of the library, everything inside src/routes can be used as a showcase or preview app.

1.1.3

19 days ago

1.1.2

26 days ago

1.1.1

1 month ago

1.1.0

2 months ago

1.0.0

3 months ago

0.7.6

5 months ago

0.6.7

5 months ago

0.7.5

5 months ago

0.6.6

5 months ago

0.6.9

5 months ago

0.7.7

5 months ago

0.6.8

5 months ago

0.6.10

5 months ago

0.6.12

5 months ago

0.6.11

5 months ago

0.6.13

5 months ago

0.3.0

5 months ago

0.7.2

5 months ago

0.6.3

5 months ago

0.7.1

5 months ago

0.6.2

5 months ago

0.7.4

5 months ago

0.6.5

5 months ago

0.7.3

5 months ago

0.6.4

5 months ago

0.5.0

5 months ago

0.4.0

5 months ago

0.7.0

5 months ago

0.6.1

5 months ago

0.6.0

5 months ago

0.2.0

7 months ago

0.1.0

8 months ago

0.0.3

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.6

9 months ago

0.0.2

10 months ago

0.0.1

10 months ago