1.1.28 • Published 5 months ago

@gotabit/wallet v1.1.28

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Gotabit-wallet

Gotabit Wallet with Direct and Amino signing

Install

npm install

npm i @gotabit/wallet

yarn install

yarn add @gotabit/wallet

Connect wallet

import { KeplrWallet, Walletconnect, LocalWallet } from '@gotabit/wallet';

const keplrWallet = await KeplrWallet.init('test');

const walletconnect = await Walletconnect.init('test', {
  logger: 'debug',
  relayUrl: 'wss://relay.gotabit.dev',
  projectId: '2c921904d8ebc91517cd11c1cc4a267f',
  metadata: {
    name: 'Gotabit SDK WalletConnect test',
    description: 'Gotabit SDK WalletConnect test',
    url: 'https://sdk.gotabit.dev',
    icons: [`https:\/\/res.gotabit.io\/svg\/icon.svg`],
  },
});

// local wallet with mnemonic
const localWallet = await LocalWallet.init({
  mnemonic: 'your mnemonic',
});

// local wallet with privateKey
const localWallet = await LocalWallet.init({
  privateKey: 'your privateKey',
});

// local wallet with password
const localWallet = await LocalWallet.init({
  password: 'your password',
  serialization: 'your encrypted serialization',
});

Credits

Code built with the help of these related projects:

1.1.28

5 months ago

1.1.27

10 months ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.1

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.19

1 year ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.24

1 year ago

1.1.0

2 years ago

0.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago