client/container: ethereum-based: support Etherscan V2, add more L2 chains, add/update L2 mockups, add/update L2 spam rules, support non-alpha chars (currency) #201

Merged
AaronFiore merged 0 commits from refs/pull/201/head into master 2025-08-05 17:14:45 +00:00
AaronFiore commented 2025-08-01 23:56:37 +00:00 (Migrated from gitea.com)

Description

⚠️ BREAKING CHANGE ⚠️

REQUIRES running client-side gen for fetch and subsequent manual adjustment (update any API keys)


  • Implements support for unified API via Etherscan V2 (ethereum-based)

    • All ethereum-based L2s are now accessed via single API endpoint
      • Chains are now available via chain ID
    • Updates API key requirement for fetch ethereum-based subaccounts
      • The API key's value must now be prepended with "etherscan"
        • Previously was prepended per-chain ("ethereum" or "polygon")
      • The API key is now required (can be generated at etherscan.io)
        • Resolves fatal error in Etherscan::parse_response()
        • Impl will now handle if:
          • Config's API key/value is malformed
          • Etherscan API key was not given
          • Etherscan response is fatal
  • Adds support for more L2s

    • Arbitrum (One)
    • Optimism
    • Base
  • Adds more L2s to existing accounts

    • Coinbase Wallet
    • Ledger Live
    • MetaMask
  • Updates documentation

    • Update default generated fetch config
    • Update fetch usage help
    • Update README
  • Adds/updates mockups

  • Adds/updates spam rules

  • Support non-alpha chars (currency)

Agreement

### Description ⚠️ **BREAKING CHANGE** ⚠️ **REQUIRES** running client-side `gen` for `fetch` and subsequent manual adjustment (update any API keys) --- - Implements support for unified API via Etherscan V2 (ethereum-based) * All ethereum-based L2s are now accessed via single API endpoint - Chains are now available via chain ID * Updates API key requirement for `fetch` ethereum-based subaccounts - The API key's value must now be prepended with "etherscan" * Previously was prepended per-chain ("ethereum" or "polygon") - The API key is now *required* (can be generated at etherscan.io) * Resolves fatal error in Etherscan::parse_response() * Impl will now handle if: - Config's API key/value is malformed - Etherscan API key was not given - Etherscan response is fatal - Adds support for more L2s * Arbitrum (One) * Optimism * Base - Adds more L2s to existing accounts * Coinbase Wallet * Ledger Live * MetaMask - Updates documentation * Update default generated `fetch` config * Update `fetch` usage help * Update README - Adds/updates mockups - Adds/updates spam rules - Support non-alpha chars (currency) ### Agreement - [x] I have read and understood the [Development](https://gitea.com/EvergreenCrypto/docker-finance#development) and [License](https://gitea.com/EvergreenCrypto/docker-finance#license-and-disclaimer) documentation
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Reference: EvergreenCrypto/docker-finance#201