Skip to content

Commit

Permalink
docs: use allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Aug 8, 2024
1 parent 3bb9d79 commit faba02e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ description: Create a ZK chain with a custom ERC20 base token.
One way you can customize your ZK chain is by changing the base token used for gas from ETH to an ERC20 token.
Let's try customizing a new chain by using a custom ERC20 base token.

With the initial release of ZK stack, base tokens must be whitelisted for use as a base token for a chain.
The whitelisted addresses are stored and checked in the `BridgeHub` contract on the L1.
With the initial release of ZK stack, custom ERC20 base tokens must be added to an allowlist for use as a base token for a chain.
The allowed addresses are stored and checked in the `BridgeHub` contract on the L1.
In the future it will be possible to add a new token in a permissionless process.

For now, you have the ability to whitelist tokens in your local ecosystem.
For now, you have the ability to add any tokens to the allowlist in your local ecosystem.

The overall flow for setting up a local chain with a custom ERC20 base token looks like this:

Expand Down

0 comments on commit faba02e

Please sign in to comment.