Skip to main content

6. Block explorer Deployment

caution

The Ash Console is currently in alpha and not production-ready. It is under active development and subject to breaking changes.

In this section, we will create a Blockscout resource on our local network.

In addition to indexing blocks, this instance will be able to verify smart contracts.

Requirements

Before setting up Blockscout, we must deploy at least one local Subnet to be indexed and wait until it's ready, as described in the previous section.

Blockscout creation

From the Ash Console project overview page, navigate to the Block Explorers tab:

  • Click on the Create Block Explorer button.
  • Pick a name for your Blockscout instance, e.g., ash-blockscout.
  • Select the cloud region you added in the previous step.
  • Choose a VM size between small, medium, and large (see Resource sizes for details on available sizes).
  • Select the ash-subnet Subnet resource you created in the previous step.
  • (Optional) Configure the block explorer with custom configurations if needed.
  • Click on the Create button.
tip

The blockscoutConfig field is following the same structure as the Ansible Avalanche Collection's ash.avalanche.evm.blockscout role. See Blockscout configuration for more information on how to configure blockscout.

Ash Console block explorer create

info

Unlike other resources, there is no secrets to create here.

Blockscout endpoint

After a few minutes, we can get the details on the Blockscout, including its URL:

Ash Console block explorer URL

note

See the reference for more information about resources lifecycle management.