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

@gotabit/wallet-local

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gotabit/wallet-local

Cosmos local Wallet with Direct and Amino signing

latest
Source
npmnpm
Version
1.1.28
Version published
Maintainers
3
Created
Source

Gotabit-wallet-local

Gotabit Local Wallet with Direct and Amino signing

Install

npm install

npm i @gotabit/wallet-local

yarn install

yarn add @gotabit/wallet-local

Init Local wallet

import { LocalWallet } from '@gotabit/wallet-local';

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

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

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

// generate a wallet account
const wallet = await LocalWallet.init({
  walletGenerateLength: 12,
});

Credits

Code built with the help of these related projects:

  • 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