OffchainLabs / nitro-testnode

A complete environment for nitro-based service including sequencer, batch-poster, validator, and a coordinator.
Apache License 2.0
23 stars 57 forks source link

Add support for running erc20 rollup which uses custom fee token #5

Closed gvladika closed 1 year ago

gvladika commented 1 year ago

(Moved from PR in nitro repo) Adds support in test-node.bash to quickly spin up ERC20-based rollup - flag --erc20-rollup should be provided (without an address). Test script will then create ERC20 token and configure it as rollup's native token. Address of the new token will be written among other rollup's parameters in json config file as native-erc20-token. Ie../test-node.bash --init --dev --erc20-rollup --no-tokenbridge