0.21.0 • Published 11 months ago

@cere/embed-wallet-inject v0.21.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

Cere Wallet Inject

The package provides API to inject Cere Wallet into global injectedWeb3 to be later accessed by DApps (eg. with @polkadot/extension-dapp package)

Installation

Using NPM:

npm install @cere/embed-wallet-inject --save

Using yarn:

yarn add @cere/embed-wallet-inject

API

inject

The SDK constructor does not accepts any arguments.

import { EmbedWallet } from '@cere/embed-wallet';
import { inject } from '@cere/embed-wallet-inject';

const wallet = new EmbedWallet();

await inject(wallet, {
  name: 'Cere Wallet',
  permissions: {
    ed25519_signRaw: {},
  },
});
0.21.0

11 months ago

0.20.1

11 months ago

0.20.0

11 months ago

0.19.0

11 months ago

0.18.1

1 year ago

0.18.2

1 year ago

0.18.0

1 year ago

0.17.1

1 year ago

0.17.0

1 year ago

0.16.0

1 year ago

0.14.0

1 year ago

0.12.2

1 year ago

0.12.1

1 year ago