1.3.3 • Published 3 months ago

@wharfkit/wallet-plugin-cloudwallet v1.3.3

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
3 months ago

@wharfkit/wallet-plugin-cloudwallet

A Session Kit wallet plugin for the CloudWallet.

Usage

Include this wallet plugin while initializing the SessionKit.

NOTE: This wallet plugin will only work with the SessionKit and requires a browser-based environment.

import {WalletPluginCloudWallet} from '@wharfkit/wallet-plugin-cloudwallet'

const kit = new SessionKit({
    // ... your other options
    walletPlugins: [new WalletPluginCloudWallet()],
})

If you need to modify which chains are supported, modify the URLs being used, or alter the timeout, you can specify one or more of these paramaters during plugin initialization.

import {WalletPluginCloudWallet} from '@wharfkit/wallet-plugin-cloudwallet'

const kit = new SessionKit({
    // ... your other options
    walletPlugins: [
        new WalletPluginCloudWallet({
            supportedChains: [
                '1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4', // WAX (Mainnet)
            ],
            url: 'https://www.mycloudwallet.com',
            autoUrl: 'https://idm-api.mycloudwallet.com/v1/accounts/auto-accept',
            loginTimeout: 300000, // 5 minutes
        }),
    ],
})

Developing

You need Make, node.js and yarn installed.

Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.


Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.

1.3.3

3 months ago

1.3.2

3 months ago

1.3.1

3 months ago

1.3.0

3 months ago

1.2.0

4 months ago

1.1.1

4 months ago

1.1.0

6 months ago

1.0.0

9 months ago

0.5.0

12 months ago

0.5.1

12 months ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.2

1 year ago

0.3.0

1 year ago

0.3.0-ui-16

1 year ago

0.3.0-ui-14

1 year ago