Skip to content

docs(evm): fix config examples and api ref

Viet Tan Tran requested to merge github/fork/ihsraham/fix/evm-wallet-audit into develop

Created by: ihsraham

This PR addresses inaccuracies in the EVM Wallet documentation identified during verification.

Changes

  • configuration.md: Replaced the incorrect JsonRpcProvider (Ethers v6) example with a working viem createPublicClient example. The previous example caused runtime errors due to missing EIP-1193 compliance.
  • api-reference.md: Removed the "Fee Rate Constants" section (FEE_RATE_NORMAL_MULTIPLIER, FEE_RATE_FAST_MULTIPLIER). These are protected static properties and are not exposed in the public API.
  • usage.md: Included user-provided edits to align with the latest findings.

Related Task

Asana Task: EVM Standard Audit

Verification

  • Verified that the new viem configuration example matches the library's usage patterns.
  • Confirmed that the removed constants are indeed internal.

Merge request reports