0.0.19 • Published 2 years ago

@nexus-wallet/detect-ckb v0.0.19

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

@nexus-wallet/detect-ckb

A simple library to detect if the ckb object is injected into the browser.

Quick Start

import { detectCkb } from '@nexus-wallet/detect-ckb';

async function main() {
  const ckb = await detectCkb();
  ckb.request({ method: 'wallet_enbable' });
}