zkSync-Community-Hub / zksync-developers

Project for Discussions with the ZKsync Community.
366 stars 236 forks source link

[ZK Stack] -How to use the basetoken feature to deploy and use customer native token? #649

Open bxpana opened 1 month ago

bxpana commented 1 month ago

Discussed in https://github.com/zkSync-Community-Hub/zksync-developers/discussions/622

Originally posted by **SuccinctPaul** July 9, 2024 ### Module Affected - [ ] System contracts (era-system-contracts) - [ ] Smart contracts (era-contracts) - [ ] zkEVM (era-zk_evm) - [x] Server (zksync-era) - [ ] Prover (era-boojum) - [ ] Fee withdrawer (era-fee-withdrawer) - [x] Block Explorer (clock-explorer) - [ ] Portal - Wallet + Bridge (dapp-portal) - [ ] Other (please specify below) ### Rust Version 1.75.0 ### Operating System - [X] Ubuntu - [ ] MacOS - [ ] Windows - [ ] Other (Please specify below) ### Issue Description How to use basetoken feature to set customer native l2's native token? And how to bridge the token from l1? ### Expected Behavior Step by step tutorial to deploy and use customer native token? ### Current Behavior No idea to do this. ### Repository Link (if applicable) _No response_ ### Additional Details _No response_ ### Prior Research - [X] Yes, I searched for similar issues and did not find any matching ones.
itsacoyote commented 3 weeks ago

We just had a guide on Building a custom ZK Chain released, will that help with this issue? https://code.zksync.io/tutorials/custom-zk-chain