Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.89 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.89 KB

EIP-5806

⚠️ 🛠️ This page is work in progress. Please feel free to contribute through the issues.

What is EIP-5806?

EIP-5806 is an EIP adds a new transaction type that allows EOAs to execute arbitrary code using a delegate-call-like mechanism.

Usefull links:

Implementations effort

Clients / EVM implementations

  • go-ethereum: Prototype working + initially tested. Missing formal tests and review.
  • ethereumjs: Prototype working + initially tested. Missing formal tests and review.
  • hardhat (edr): Work in progress. Not tested. Blocked by revm. (needs to be updated to support revm 7.1 based forks)
  • revm: Work in progress. Not tested. (Based on 7.1)

Tooling

  • ethers.js: Prototype working + initially tested. Missing formal tests and review. Used for testing clients.

Wallets

waiting for contributions

Knowledge

How to make EIP-5806 available in hardhat

Install this specific version of hardahat:

npm install 'https://gitpkg.now.sh/Amxx/hardhat/packages/hardhat-core?features/eip5806/2.20.2'

and this specific version of ethers:

npm install 'github:amxx/ethers.js#features/eip-5806-transactions'

(with the normal @nomicfoundation/hardhat-ethers)

Enable Prague and 5806 in your hardhat.config.json

// ...
module.exports = {
  // ...
  networks: {
    hardhat: {
      hardfork: 'prague',
      eips: [5806],
    },
  },
  // ...
};

See packages/test and packages/test-uniswap for examples.