1.1.27 • Published 10 months ago
@gotabit/messages v1.1.27
Messages
Message generator for Gotabit.
Install
npm install
npm i @gotabit/messages
yarn install
yarn add @gotabit/messages
Create a MsgSend message
import { createMsgSend } from '@gotabit/messages'
const account = 'gio1tseh0grt8j8klrdunpudflvy9lfn3rl50zdpu8'
const toAddress = 'gio1qdgzfy4vta5p43l4urdtmawka3qv2ldh4h0jay'
const msgSend = createMsgSend(account, toAddress, '3', 'ugtb')
Create a MsgGrant message
import { createMsgGrantBasicAllowance, createMsgSend } from '@gotabit/messages'
const account = 'gio1tseh0grt8j8klrdunpudflvy9lfn3rl50zdpu8'
const toAddress = 'gio1qdgzfy4vta5p43l4urdtmawka3qv2ldh4h0jay'
const msgGrant = createMsgGrantBasicAllowance(account, toAddress, [
{
amount: '3',
denom: 'ugtb',
},
])
1.1.27
10 months 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.20
1 year ago
1.1.0
2 years ago
0.1.0
2 years ago
0.2.8
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.5
2 years ago