zkopru-network / zkopru

Ethereum L2 scaling solution for private transactions using zk-SNARK and optimistic rollup.
https://zkopru.network
GNU General Public License v3.0
216 stars 28 forks source link

Account - ZkAccount not keep L1 private key and replaced by ethers.Wallet #411

Open KimiWu123 opened 1 year ago

KimiWu123 commented 1 year ago

Now, L2 account generated by Web wallet is different from Cli. Trying to refine the fields inside ZkAccount to keep everyone has the same L2 account with the same L1 account.

check here for more details, https://stingy-tarsal-f91.notion.site/The-spec-of-zkAccount-46ad2970fffa44f8b974e4eb21d0da60

KimiWu123 commented 1 year ago

pr created, Zkopru: https://github.com/KimiWu123/zkopru/pull/6 Wallet: https://github.com/KimiWu123/zkopru-wallet/pull/2