-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script for deploying ERC20 rollups #43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
let customFeeTokenAddress = process.env.FEE_TOKEN_ADDRESS | ||
if (!customFeeTokenAddress) { | ||
console.log( | ||
'FEE_TOKEN_ADDRESS env var not provided, deploying new ERC20 token' | ||
) | ||
customFeeTokenAddress = await deployERC20Token(deployer) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might want to check if the supplied value is an valid address in else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
RollupCreator supports deploying both ETH and ERC20 based rollups. This commit adds script which deploys erc20 based rollups (script will deploy basic ERC20 token to be used as fee token).