0

I have two ethereum private networks, each with a smart contract deployed. for example network.A and network.B

Now how can smart contract of network.A calls smart contract functions of network.B?

3
  • Short answer: smart contracts cannot call other smart contracts from different networks. You would need to rely on externally owned accounts to make calls and validate signatures and data. Mar 18, 2022 at 11:07
  • The usual solution is to implement some sort of bridge between the blockchains. See here for something similar between ERC20 tokens ethereum.stackexchange.com/questions/99110/….
    – Ismael
    Mar 20, 2022 at 13:54
  • yes, How can I implement my bridge? Can you give me some code Mar 21, 2022 at 14:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.