Skip to content

Conversation

@mokita-j
Copy link
Contributor

Adds production Ethereum contracts (USDC, USDT, WETH9, XEN Crypto) to the benchmark suite for realistic EVM vs PolkaVM performance comparisons.

Changes

New Contracts

  • USDC (FiatToken) - proxy + implementation pattern
  • USDT (TetherToken) - ERC-20 with transfer operations
  • WETH9 - wrapped ETH deposit/withdraw
  • XEN Crypto + CoinTool_App - complex token with CREATE2 proxies

Infrastructure

  • Library linking support for contracts with dependencies
  • PVM code upload utility
  • Added contract setup hooks for pre-execution requirements

Usage

Build and benchmark all contracts:

# run geth
geth-dev
# or run revive dev-node
revive_dev_stack

deno task build
./benchmark/contracts.ts --build --execute --report

@mokita-j mokita-j requested a review from pgherveou January 27, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants