Package Exports
- @gotabit/wallet-gotabit
- @gotabit/wallet-gotabit/dist/cjs/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gotabit/wallet-gotabit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Gotabit-wallet-gotabit
Gotabit Gotabit Wallet with Direct and Amino signing
Install
npm install
npm i @gotabit/wallet-gotabityarn install
yarn add @gotabit/wallet-gotabitInit Gotabit wallet
const wallet = await GotabitWallet.init('test');With custom config
import { GotabitWallet } from '@gotabit/wallet-gotabit';
const wallet = await GotabitWallet.init({
rpc: 'https://rpc-testnet.gotabit.dev:443',
chainId: 'gotabit-test-1',
chainName: 'GotaBit-test',
rest: 'https://rest-testnet.gotabit.dev:443',
coinType: 118,
coinDenom: 'GTB',
coinDecimals: 6,
coinMinimalDenom: 'ugtb',
coinGeckoId: 'gotabit',
gasPriceStep: { low: 0.001, average: 0.0025, high: 0.003 },
gasPrices: '',
gasAdjustment: 0,
});Credits
Code built with the help of these related projects:
- k-extension Gotabit is a browser extension wallet for the Inter blockchain ecosystem.