Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

IP host management in truffle_config.js (Private Ethereum Network) #6042

Open
Alessandro-Cavaliere opened this issue May 12, 2023 · 0 comments

Comments

@Alessandro-Cavaliere
Copy link

I have 3 Amazon Ec2 instances (each with a Geth node running on them) and I'm running over them my Private Geth Ethereum (PoA) blokchain and I wanted to ask if is possible to specify the IPs of all 3 of my amazon AWS machines when I define the

networks:{
   geth:{
      host: ip-aws-machine,
      port: 8546,            
      network_id: "netID",       
      from: "address",  
   }
}

in the truffle_config.js.

For example, if the machine with the ip that I entered in truffle_config.js shuts down, my network will be unusable.
Is there a way to handle this in case a machine stops working to outsource work to another IP?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant