1.3.8 • Published 5 months ago
@web3jskit/dapp v1.3.8
@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
5 months ago
1.3.7
7 months ago
1.3.6
8 months ago
1.3.5
8 months ago
1.3.4
8 months ago
1.3.3
10 months ago
1.3.2
11 months ago
1.3.1
11 months ago
1.3.0
11 months ago
1.2.9
11 months ago
1.2.8
11 months ago
1.2.7
11 months ago
1.2.6
12 months ago
1.2.5
12 months ago
1.2.4
12 months ago
1.2.3
12 months ago
1.2.2
12 months 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