antliacliis the tool that enables you to interact with the node that runs on the Antlia network, whether you run it yourself or not. Let us set it up properly. In order to install it, follow the installation procedure.
antliacliis the following:
tcp://localhost:26657as the address. Then, let us set the default value of the
chain-idof the blockchain we want to interact with:
antliad tendermint show-validator
pkrespectively) to be able to receive funds, send txs, bond tx, etc. To generate a new
Kis the minimum number of private keys that must have signed the transactions that carry the public key's address as signer.
--multisig flagmust contain the name of public keys that will be combined into a public key that will be generated and stored as
new_key_namein the local database. All names supplied through
--multisigmust already exist in the local database. Unless the flag
--nosortis set, the order in which the keys are supplied on the command line does not matter, i.e. the following commands generate two identical keys:
--broadcast-modeflag. This flag can have a value of
block, where sync makes the client return a
asyncmakes the client return immediately, and block makes the client wait for the tx to be committed (or timing out). It is important to note that the
blockmode should not be used in most circumstances. This is because broadcasting can timeout but the tx may still be included in a block. This can result in many undesirable situations. Therefore, it is best to use
asyncand query by tx hash to determine when the tx is included in a block.
gasPrices >= minGasPrices. Note, your transaction must supply fees that are greater than or equal to any of the denominations the validator requires.
--dry-runflag to the command line:
--generate-onlyto the list of the command line arguments:
<tag>:<value>Tags can also be combined to query for a more specific result using the & symbol. The command for querying transactions using a
tagis the following:
<validator>is the operator address of the validator to which you intend to delegate. If you are running a local testnet, you can find this with:
[name]is the name of the key you specified when you initialized
antliad. While tokens are bonded, they are pooled with all the other bonded tokens in the network. Validators and delegators obtain a percentage of shares that equal their stake in this pool.
--proposalflag which points to a JSON file containing the proposal.
proposal.jsoncontains the following:
minDeposit value(initial value: 512000000antlia). If the proposal you previously created didn't meet this requirement, you can still increase the total amount deposited to activate it. Once the minimum deposit is reached, the proposal enters voting period:
p3each of which is held by a distinct party, the user holding
p1would require to import both
p3in order to generate the multisig account public key:
p1p2p3has been stored, and its address will be used as signer of multisig transactions:
unsignedTx.jsoncontains the unsigned transaction encoded in JSON.
p1can now sign the transaction with its own private key:
p3, which in turn will generate their respective signature:
p1p2p3is a 2-of-3 multisig key, therefore one additional signature is sufficient. Any the key holders can now generate the multisig transaction by combining the required signature files:
Zshcan be generated through the completion command, which is available for both
Zshcompletion scripts run the following command: