Skip to content

Latest commit

 

History

History
87 lines (86 loc) · 2.95 KB

commands.md

File metadata and controls

87 lines (86 loc) · 2.95 KB

LikeCoin

Useful commands for LikeCoin chain. Note: 1 LIKE = 1 000 000 000 nanolike.

  1. Send tokens to another address (<destination_address> begins with like1).
liked tx bank send <key_name> <destination_address> <amount>nanolike \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Delegate tokens to validator (<validator_address> begins with likevaloper1).
liked tx staking delegate <validator_address> <amount>nanolike \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Redelegate tokens from existing validator (<existing_validator_address>) to another validator (<new_validator_address>).
liked tx staking redelegate <existing_validator_address> <new_validator_address> <amount>nanolike \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Unbond tokens.
liked tx staking unbond <validator_address> <amount>nanolike \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Withdraw delegation rewards from all validators.
liked tx distribution withdraw-all-rewards \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Withdraw validator rewards and validator commission from your validator.
liked tx distribution withdraw-rewards <your_validator_address> --commission \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Deposit funds to proposal. You can find the <proposal_ID> in explorer: https://likecoin.bigdipper.live/proposals.
liked tx gov deposit <proposal_ID> <amount>nanolike  \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Vote in proposal. You can find the <proposal_ID> in explorer: https://likecoin.bigdipper.live/proposals.
liked tx gov vote <proposal_ID> <yes/no/no_with_veto/abstain> \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Unjail your validator.
liked tx slashing unjail \
        --from <key_name> \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Edit your validator. details, identity and website parameters are optional.
liked tx staking edit-validator \
        --from <key_name> \
        --moniker="<moniker>" \
        --details="<details>" \
        --identity=<identity> \
        --website="<website>" \
        --chain-id likecoin-mainnet-2 \
        --gas-prices 10000nanolike
  1. Query address balance.
liked query bank balances <address> \
        --chain-id likecoin-mainnet-2
  1. Info about other types of commands.
liked --help

You can verify if your transaction was successful with its hash in explorer: https://bigdipper.live/likecoin/transactions.