cketh
Installation
SKILL.md
ckETH and ckERC20 Integration
What This Is
ckETH (1:1 ETH) and ckERC20 tokens (1:1 ERC-20, e.g. ckUSDC) are ICRC-1/ICRC-2 tokens on ICP. One minter canister handles ETH and every ERC-20. It holds the Ethereum funds at addresses derived from its threshold-ECDSA key, talks to Ethereum through the EVM RPC canister, mints after a deposit is final on Ethereum, and burns via an ICRC-2 allowance before it sends a withdrawal. Every ckERC20 token has its own ledger and index. Gas for ERC-20 withdrawals is paid in ckETH.
Plain transfers between ICP accounts are ordinary ICRC-1 calls: load icrc-ledger for those. This skill covers conversion and token discovery.
Canister IDs and Ethereum addresses
| Ethereum Mainnet | Sepolia testnet | |
|---|---|---|
| Minter (ETH + all ckERC20) | sv3dd-oaaaa-aaaar-qacoa-cai |
jzenf-aiaaa-aaaar-qaa7q-cai |
| ckETH ledger | ss2fx-dyaaa-aaaar-qacoq-cai (ckETH) |
apia6-jaaaa-aaaar-qabma-cai (ckSepoliaETH) |
| ckETH index | s3zol-vqaaa-aaaar-qacpa-cai |
sh5u2-cqaaa-aaaar-qacna-cai |
| ckERC20 ledger suite orchestrator | vxkom-oyaaa-aaaar-qafda-cai |
2s5qh-7aaaa-aaaar-qadya-cai |
Helper contract (deposit_with_subaccount_helper_contract_address) |
0x18901044688D3756C35Ed2b36D93e6a5B8e00E68 |
0x2D39863d30716aaf2B7fFFd85Dd03Dda2BFC2E38 |
| Minter main address (holds funds, sends withdrawals) | 0xb25eA1D493B49a1DeD42aC5B1208cC618f9A9B80 |
0x1789F79e95324A47c5Fd6693071188e82E9a3558 |