1.1.1 • Published 1 year ago

@jsweb3/dapp v1.1.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

JSWeb3-Dapp

Introduction

JSWeb3-Dapp is an interface layer that communicates with DID.PUT. By integrating JSWeb3-Dapp, web2 and web3 developers can easily use multi-chain wallets.

Usage

import { Jsweb3 } from "@jsweb3/dapp";
import type { ChainType } from "jsweb3/dapp";

// Jsweb3 uses a singleton, multiple instances of new Jsweb3() will not cause memory consumption

// Example of getting user balance
function example() {
  const jsweb3 = new Jsweb3();
  jsweb3.request({
    chainType: ChainType.PUT,
    methodName: "connect",
  });
}
1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago