Socket
Book a DemoInstallSign in
Socket

@cere/embed-wallet-inject

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cere/embed-wallet-inject

The package provides API to inject Cere Wallet into global `injectedWeb3` to be later accessed by DApps (eg. with [@polkadot/extension-dapp](https://www.npmjs.com/package/@polkadot/extension-dapp) package)

latest
Source
npmnpm
Version
0.23.4
Version published
Weekly downloads
149
-2.61%
Maintainers
1
Weekly downloads
 
Created
Source

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()

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: {},
  },
});

FAQs

Package last updated on 31 Jan 2025

Did you know?

Socket

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.

Install

Related posts