Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EthereumAnchorValidator

Ethereum anchor service that stores root CIDs on Ethereum blockchain

Hierarchy

  • EthereumAnchorValidator

Implements

  • AnchorValidator

Index

Constructors

constructor

Properties

Readonly ethereumRpcEndpoint

ethereumRpcEndpoint: string

Methods

init

  • init(chainId: string | null): Promise<void>
  • Parameters

    • chainId: string | null

      Chain ID for ethereum chain that we need to validate, or null. If null, then the ethereumRpcEndpoint needs to be chain-id specific so there's no ambiguity as to which chain we are operating with.

    Returns Promise<void>

validateChainInclusion

  • validateChainInclusion(anchorProof: AnchorProof): Promise<void>