Chain

List, Insert And Remove Orakl Network Chains

The Orakl Network state can hold information about deployments to multiple chains. The chain is a fundamental configuration which is used in all other Orakl Network settings.

The Orakl Network CLI provides commands to

List Chains

orakl-cli chain list
[
  { "id": 1, "name": "localhost" },
  { "id": 2, "name": "baobab" },
  { "id": 3, "name": "cypress" }
]

Insert New Chain

If there are not chains set, we can add a new chain using chain insert command of the Orakl Network CLI.

orakl-cli chain insert \
    --name ${chainName}
  • example

orakl-cli chain insert --name ethereum

Remove Chain Specified By id

Chains can be removed when there are no association to them yet.

orakl-cli chain remove \
    --id ${id}
  • example

orakl-cli chain remove --id 10

Last updated