Difference between revisions of "Agd init"

From wikieduonline
Jump to navigation Jump to search
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
 +
  [[agd init --help]]
 +
Options:
 +
[[--log_level]]
 +
 +
 +
Init and generate: <code>[[$HOME/.agoric/config/genesis.json]]</code>
 +
[[agd init --chain-id]] [[agoricdev-13]] your-name
 +
{"app_message":{"auth":{"accounts":[],"params":{"max_memo_characters":"256","sig_verify_cost_ed25519":"590","sig_verify_cost_secp256k1":"1000","tx_sig_limit":"7" .../...
 +
 +
 +
 +
agd init --chain-id [[agoricdev-13]] your-name
 +
Error: [[genesis.json]] file already exists: /yourpath[[/.agoric/]]config/[[genesis.json]]
 +
 +
[[agd init --help]]
  
 
  # Replace <your_moniker> with the public name of your node.
 
  # Replace <your_moniker> with the public name of your node.
Line 5: Line 21:
 
  determines where the chain state is stored.
 
  determines where the chain state is stored.
 
  # By default, this is `$HOME/.agoric`.
 
  # By default, this is `$HOME/.agoric`.
 +
#
 
  [[agd]] init --chain-id $chainName <your_moniker>
 
  [[agd]] init --chain-id $chainName <your_moniker>
 +
 +
== Related ==
 +
* <code>[[agd unsafe-reset-all]]</code>
 +
* <code>[[agd start]]</code>
 +
* <code>[[config.toml]]</code>
 +
* [[Devnet]]: [[curl -s]] https://devnet.agoric.net/network-config
 +
* <code>[[ag0 init follow --chain-id]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{agd init}}
 
* {{agd}}
 
* {{agd}}
 +
* {{Agoric validator}}
 +
* {{agoric binaries}}
 
* {{agoric}}
 
* {{agoric}}
  
 
[[Category:Agoric]]
 
[[Category:Agoric]]

Latest revision as of 04:57, 22 August 2022

 agd init --help

Options:

--log_level


Init and generate: $HOME/.agoric/config/genesis.json

agd init --chain-id agoricdev-13 your-name
{"app_message":{"auth":{"accounts":[],"params":{"max_memo_characters":"256","sig_verify_cost_ed25519":"590","sig_verify_cost_secp256k1":"1000","tx_sig_limit":"7" .../...


agd init --chain-id agoricdev-13 your-name
Error: genesis.json file already exists: /yourpath/.agoric/config/genesis.json
agd init --help
# Replace <your_moniker> with the public name of your node.
# NOTE: The `--home` flag (or `AG_CHAIN_COSMOS_HOME` environment variable) 
determines where the chain state is stored.
# By default, this is `$HOME/.agoric`.
#
agd init --chain-id $chainName <your_moniker>

Related[edit]

See also[edit]

Advertising: