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?

  • 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


Your Answer

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