polkadot-runtime-template icon indicating copy to clipboard operation
polkadot-runtime-template copied to clipboard

assets-erc20 precompile

Open 4meta5 opened this issue 1 year ago • 1 comments

templates

  • [ ] Generic Runtime Template
  • [X] Evm Template

What is the feature you would like to see?

add precompile to use pallet-assets to implement ERC20 precompile interface

Possible solutions:

  1. Inherit Moonbeam assets-erc20 precompile. Requires maintaining an additional fork to Moonbeam, but benefits from existing precompile maintained by Moonbeam team.
  2. Write custom pallet to implement functionality fulfilled by (1). Requires writing and maintaining separate custom precompile for the custom pallet. This solution could be upstreamed to Frontier.

Contribution Guidelines

  • [X] I agree to follow this project's Contribution Guidelines

4meta5 avatar Jun 04 '24 00:06 4meta5

RFC, before creating an ERC20 precompile should create an EVM stateful precompiled template?

MASDXI avatar Aug 22 '24 11:08 MASDXI