1.3.8 • Published 6 months ago

@web3jskit/dapp v1.3.8

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

@web3jskit/dapp

Introduction

@web3jskit/dapp is an interface layer that communicates with Gel.Wallet. By integrating @web3jskit/dapp, web2 and web3 developers can easily use multi-chain wallets.

Documentation

Full documentation

Usage

import { Web3Kit, ChainType } from "@web3jskit/dapp";

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

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

// Send Connect And SignMessage
function multiple() {
  const web3Kit = new Web3Kit();
  const response = await web3Kit.multipleRequest({
    chainType: ChainType.PUT,
    events: [
      {
        methodName: "connect",
      },
      {
        methodName: "signMessage",
        params: {
          message: "", // base58
          display: "utf8",
        },
      },
    ],
  });
}
1.3.8

6 months ago

1.3.7

8 months ago

1.3.6

9 months ago

1.3.5

9 months ago

1.3.4

9 months ago

1.3.3

11 months ago

1.3.2

12 months ago

1.3.1

12 months ago

1.3.0

12 months ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago