Skip to content

chore: migrate rust/basic_ethereum to icp-cli#1395

Draft
marc0olo wants to merge 2 commits into
masterfrom
chore/migrate-rust-basic-ethereum-to-icp-cli
Draft

chore: migrate rust/basic_ethereum to icp-cli#1395
marc0olo wants to merge 2 commits into
masterfrom
chore/migrate-rust-basic-ethereum-to-icp-cli

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

  • Replaces dfx.json with icp.yaml using @dfinity/rust@v3.3.0 recipe
  • Moves Rust source from src/ into backend/ subdirectory with workspace Cargo.toml
  • Adds evm_rpc canister in icp.yaml for local deployment (pre-built WASM from v2.2.0 release)
  • Adds Makefile with 3 tests for ethereum_address (locally testable via threshold ECDSA)
  • Updates README with icp-cli deploy instructions, preserving all Ethereum integration details (Sepolia/Mainnet configs, send_eth steps, EIP-1559 notes, replicated HTTPS outcall caveats)
  • Adds CI workflow .github/workflows/basic_ethereum.yml with icp-dev-env-rust:1.0.0
  • Deletes dfx.json, BUILD.md, basic_ethereum.did, .devcontainer/

Notes

get_balance, transaction_count, and send_eth require live HTTPS outcalls to Ethereum and cannot be tested in CI. Tests cover ethereum_address which uses threshold ECDSA (available locally). README documents mainnet-only functions clearly.

Test plan

  • icp network start -d && icp deploy succeeds in rust/basic_ethereum
  • make test passes (3 ethereum_address tests using threshold ECDSA)
  • CI workflow triggers on PR changes to rust/basic_ethereum/**

🤖 Generated with Claude Code

marc0olo and others added 2 commits June 17, 2026 18:59
Replaces dfx.json with icp.yaml using @dfinity/rust@v3.3.0 recipe.
Moves Rust source from src/ into backend/, adds workspace Cargo.toml,
Makefile with local-testable ethereum_address tests, updated README with
icp-cli deploy instructions preserving Ethereum integration details,
and CI workflow with icp-dev-env-rust:1.0.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
….0.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marc0olo marc0olo force-pushed the chore/migrate-rust-basic-ethereum-to-icp-cli branch from 2d51380 to 4a9e7a5 Compare June 17, 2026 17:00
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.

1 participant