简体   繁体   中英

How to generate same wallet address in both BEP20 and ERC20 using web3

How to generate same wallet address(same public key) in both BEP20(Binance Smart Chain) and ERC20(Ethereum) using web3?

I want to use one single key pair for both networks. I can see some exchange website provide same wallet address for both networks.

You can generate address by using

 web3.eth.accounts.create();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM