Add Xdai network support
This adds Xdai support to the system chain selection
@@ -22,6 +22,12 @@ pub fn set_system_blockchain(
"https://eth.althea.org:443".to_string(),
"https://mainnet.infura.io/v3/6b080f02d7004a8394444cdf232a7081".to_string(),
];
+ } else if id == SystemChain::Xdai {
+ payment.node_list = vec!["https://dai.poa.network/".to_string()];
+ payment.net_version = Some(100);
+ payment.system_chain = SystemChain::Xdai;
+ dao.node_list = vec!["https://dai.poa.network/".to_string()];
+ payment.price_oracle_url = "https://updates.altheamesh.com/xdaiprices".to_string();
} else if id == SystemChain::Rinkeby {
payment.node_list = vec!["http://rinkeby.althea.org:8545".to_string()];
payment.net_version = Some(4);
