
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@svelte-on-solana/wallet-adapter-core
Advanced tools
The core of the wallet adapter is a Svelte Store which exposes methods and properties to run the wallet in your application. This allows to share this data among all components in your application.
@svelte-on-solana/wallet-adapter-core
The core of the wallet adapter is a Svelte Store which exposes methods and properties to run the wallet in your application. This allows to share this data among all components in your application.
npm install @solana/wallet-adapter-base \
@solana/wallet-adapter-wallets \
@solana/web3.js \
@svelte-on-solana/wallet-adapter-core
Once it is installed, you can use it and subscribe to its methods as an usual Svelte Store:
<script>
import { walletStore } from '@svelte-on-solana/wallet-adapter-core';
//...
</script>
{#if $walletStore?.connected}
<div>My wallet is connected</div>
{/if}
To complete the setup you will need to add some UI components which will provide the full experience to connect, disconnect and visualize address. You can choose between the Svelte Template or the SvelteKit implementation. Both are using the same packages but setup is different. The UI packages offer different implementations for Solana and Anchor.
FAQs
The core of the wallet adapter is a Svelte Store which exposes methods and properties to run the wallet in your application. This allows to share this data among all components in your application.
The npm package @svelte-on-solana/wallet-adapter-core receives a total of 53 weekly downloads. As such, @svelte-on-solana/wallet-adapter-core popularity was classified as not popular.
We found that @svelte-on-solana/wallet-adapter-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.