zksync-era icon indicating copy to clipboard operation
zksync-era copied to clipboard

feat: Use ERC20 as native token on the stack

Open jrchatruc opened this issue 1 year ago • 0 comments

What ❔

This PR aims to introduce an optional flag to the init command:

zk init --native-erc20

that will setup the stack using a custom ERC20 token as the native token of the L2.

Why ❔

Checklist

  • [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • [ ] Tests for the changes have been added / updated.
  • [ ] Documentation comments have been added / updated.
  • [ ] Code has been formatted via zk fmt and zk lint.
  • [ ] Spellcheck has been run via cargo spellcheck --cfg=./spellcheck/era.cfg --code 1.

jrchatruc avatar Dec 01 '23 21:12 jrchatruc