[ADD] Avalanche C-Chain Client

Modeled off the ETH Chain Client with two important differences:

  • AVAX C-Chain has instant finality
  • AVAX C-Chain does not have re-orgs

As such:

  • Removed conf counting on inbound TXs
  • Removed Saving Blocks to Level DB in order to respond to re-orgs
  • Removed errata handling, won't be necessary without re-orgs

These aspects are the same, and where possibly execution is moved to a shared package:

  • Router spec will be the same (ABI)
  • Router tx parsing will be the same
  • Network fee calculation/reporting will be the same
  • TX construction, signing, and broadcasting will be the same

Note: This PR has pulled in the shared components work from this PR: !2306 (closed)

Edited by Eridanus

Merge request reports

Loading