🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@gotabit/wallet

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gotabit/wallet

Cosmos Wallets with Direct and Amino signing

latest
Source
npmnpm
Version
1.1.28
Version published
Maintainers
3
Created
Source

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:

  • WalletConnect/cosmos-wallet Cosmos Wallet with Direct and Amino signing.
  • @walletconnect/qrcode-modal QR Code Modal for WalletConnect
  • @walletconnect/sign-client Sign Client for WalletConnect Protocol
  • keplr-extension Keplr is a browser extension wallet for the Inter blockchain ecosystem.
  • cosmos/cosmjs CosmJS is the Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers in the Cosmos ecosystem.

Keywords

cosmos

FAQs

Package last updated on 21 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts