address = ripemd160(sha256(pubKey))
, encoded by bech32 with cosmos
as prefix.liked
command. You may modify .liked/config/app.toml
for enabling the RESTful API if needed./auth/accounts/{address}
API./auth/accounts/{address}
API.amount
and denom
.amount
is the number of coins, while denom
is the identifier of the coins.denom
, which is nanolike
. 1 LikeCoin = 1000000000nanolike
.${amount}${denom}
, e.g. 1000000000nanolike
.gas
, which is similar to the concept of gas
in Ethereum.gas_price = fee / gas
, and may reject transactions with gas price lower than their expectation.1.0nanolike
. For a typical coin sending transaction, it consumes about 44000 gas, which means the transaction fee is 0.044 LikeCoin.r
and s
values, 256 bites each, concatenated.msgs
are the msg
objects of the transactions. For a typical Send
transaction, it will look like this:amount
, sequence
, account_number
) are encoded as string
in the sign bytes.null
value.