Skip to content

Commit

Permalink
test l
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Oct 18, 2023
1 parent f58a066 commit b47a452
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions shared/store/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,25 @@ const getBlockscoutUrl = (network: EnvironmentNetwork) => {
}
};

// export const getEthRpcUrl = (network: EnvironmentNetwork) => {
// // TODO: Add proper ethereum RPC URLs for each network
// switch (network) {
// case EnvironmentNetwork.LocalPlayground:
// case EnvironmentNetwork.RemotePlayground:
// return "http://localhost:19551";
// case EnvironmentNetwork.DevNet:
// case EnvironmentNetwork.Changi:
// return "http://34.34.156.49:20551"; // TODO: add final eth rpc url for changi, devnet and remote playground
// case EnvironmentNetwork.TestNet:
// return "https://changi.dfi.team"; // TODO: add final eth rpc url for testnet, with proper domain name
// case EnvironmentNetwork.MainNet:
// default:
// return "https://changi.dfi.team"; // TODO: add final eth rpc url for mainnet, with proper domain name
// }
// };

// eslint-disable-next-line
export const getEthRpcUrl = (network: EnvironmentNetwork) => {
// TODO: Add proper ethereum RPC URLs for each network
switch (network) {
case EnvironmentNetwork.LocalPlayground:
case EnvironmentNetwork.RemotePlayground:
return "http://localhost:19551";
case EnvironmentNetwork.DevNet:
case EnvironmentNetwork.Changi:
return "http://34.34.156.49:20551"; // TODO: add final eth rpc url for changi, devnet and remote playground
case EnvironmentNetwork.TestNet:
return "https://changi.dfi.team"; // TODO: add final eth rpc url for testnet, with proper domain name
case EnvironmentNetwork.MainNet:
default:
return "https://changi.dfi.team"; // TODO: add final eth rpc url for mainnet, with proper domain name
}
return "http://localhost:19551";
};

0 comments on commit b47a452

Please sign in to comment.