1.1.29 • Published 5 months ago
@gotabit/sdk v1.1.29
SDK
The package includes messages, client and wallets.
Install
npm install
npm i @gotabit/sdk
yarn install
yarn add @gotabit/sdk
import { createMsgSend, KeplrWallet, GotabitClient } from '@gotabit/sdk'
const wallet = await KeplrWallet.init('test')
const gotabit = await GotabitClient.init(wallet, 'test')
const accounts = await client.wallet.getAccounts()
const account = accounts.[0].address
const client = await gotabit.signStargateClient()
const toAddress = 'gio1qdgzfy4vta5p43l4urdtmawka3qv2ldh4h0jay'
const msgSendtoken = createMsgSend(account, toAddress, '3', 'ugtb')
const result = await client.signAndBroadcast(
account,
[msgSendtoken],
'auto',
)
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.
- @osmonauts/telescope a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs.
- osmojs makes it easy to compose and broadcast Osmosis and Cosmos messages, with all of the proto and amino encoding handled for you.
- evmosjs JS and TS libs for Evmos.
- react React is a JavaScript library for building user interfaces.
- zustand A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy api based on hooks, isn't boilerplatey or opinionated.
1.1.29
5 months ago
1.1.28
10 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
2 years 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
2 years ago
1.1.24
1 year ago
1.1.0
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago