1.0.0 • Published 2 years ago

@rgottleber/svelte-wallet v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@rgottleber/svelte-wallet

npm GitHub issues GitHub license

Single component to connect web3 wallet in Svelte

Install

npm install @rgottleber/svelte-wallet-connect

Usage

<script>
    import { WalletConnect } from '@rgottleber/wallet-connect';
    export let web3Props = {
            provider: null,
            signer: null,
            account: null,
            chainId: null,
            contract: null
        };
</script>

<WalletConnect bind:web3Props />

Other Info

The button includes class="btn" for styling purposes. As well as style variable. <WalletConnect {style} bind:web3Props>

1.0.0

2 years ago