-
Notifications
You must be signed in to change notification settings - Fork 413
Update 02-use-a-custom-gas-token-rollup.mdx #2488
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
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
||
Custom gas token support for Rollups is currently limited to L2s that post data to Ethereum and have <a data-quicklook-from="bold">BoLD</a> enabled. An expected future upgrade will add support for L3s. | ||
|
||
::: |
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.
::: |
…ecause it is duplicated from the nitro codebase
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.
A few nits aside, looking good.
content_type: how-to | ||
--- | ||
|
||
import CustomDetails from '@site/src/components/CustomDetails'; |
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.
import CustomDetails from '@site/src/components/CustomDetails'; |
- Use the [createERC20Rollup.ts](https://github.com/OffchainLabs/nitro-contracts/blob/main/scripts/createERC20Rollup.ts) script, which accepts environment variables for: | ||
- `FEE_TOKEN_ADDRESS` = your `ERC-20` gas token | ||
- `FEE_TOKEN_PRICER_ADDRESS` = your deployed pricer | ||
- `ROLLUP_CREATOR_ADDRESS` = the rollup creator contract on L1 |
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.
- `ROLLUP_CREATOR_ADDRESS` = the rollup creator contract on L1 | |
- `ROLLUP_CREATOR_ADDRESS` = the Rollup creator contract on L1 |
- [fee-token-pricers](https://github.com/OffchainLabs/nitro-contracts/tree/main/test/foundry/fee-token-pricers) | ||
- [createERC20Rollup.ts](https://github.com/OffchainLabs/nitro-contracts/blob/main/scripts/createERC20Rollup.ts) | ||
|
||
You can also find more info about how Nitro manages [gas and fees](/how-arbitrum-works/09-gas-fees.mdx) here. If you’re unsure how to configure the Rollup correctly or have questions about fee pricer implementations, please get in touch with Offchain Labs or your chain’s deployment provider. |
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.
You can also find more info about how Nitro manages [gas and fees](/how-arbitrum-works/09-gas-fees.mdx) here. If you’re unsure how to configure the Rollup correctly or have questions about fee pricer implementations, please get in touch with Offchain Labs or your chain’s deployment provider. | |
You can also find more info about how Nitro manages [gas and fees](/how-arbitrum-works/09-gas-fees.mdx) here. If you’re unsure how to configure the Rollup correctly or have questions about fee pricer implementations, please get in touch with [Offchain Labs](https://discord.gg/arbitrum) or your chain’s deployment provider. |
No description provided.