Skip to content

Commit

Permalink
chore(ops): enable mainnet - post-hardfork (#355)
Browse files Browse the repository at this point in the history
* chore(ops): enable mainnet

* update chain eth rpc urls to proper domain

---------

Co-authored-by: Harsh R <53080940+fullstackninja864@users.noreply.github.com>
Co-authored-by: Pierre Gee <pierre.gabaldon@gmail.com>
  • Loading branch information
3 people authored Nov 22, 2023
1 parent a92dd82 commit 77a2838
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/server/src/service/EVMProviderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class EVMProviderService {
case EnvironmentNetwork.Changi:
return 'http://34.34.156.49:20551'; // TODO: add final eth rpc url for changi, devnet and remote playground
case EnvironmentNetwork.MainNet:
return 'https://changi.dfi.team'; // TODO: add final eth rpc url for mainnet, with proper domain name
return 'https://eth.mainnet.ocean.jellyfishsdk.com'; // TODO: add final eth rpc url for mainnet, with proper domain name
case EnvironmentNetwork.TestNet:
default:
return 'https://eth.testnet.ocean.jellyfishsdk.com';
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/layouts/contexts/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ export function getEnvironment(): Environment {
switch (type) {
case "production":
return new Environment("Production", false, [
// NetworkConnection.MainNet,
NetworkConnection.MainNet,
NetworkConnection.TestNet,
NetworkConnection.Changi,
]);
case "development":
default:
return new Environment("Development", true, [
// NetworkConnection.MainNet,
NetworkConnection.MainNet,
NetworkConnection.TestNet,
NetworkConnection.Changi,
]);
Expand Down
10 changes: 4 additions & 6 deletions apps/web/src/shared/Chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ export const metachain = {
symbol: "DFI",
},
rpcUrls: {
// TODO: Replace RPC URLs
public: { http: ["http://35.187.53.161:20551"] },
default: { http: ["http://35.187.53.161:20551"] },
public: { http: ["https://eth.mainnet.ocean.jellyfishsdk.com"] },
default: { http: ["https://eth.mainnet.ocean.jellyfishsdk.com"] },
},
blockExplorers: {
default: { name: "MetaScan", url: "https://meta.defiscan.live" },
Expand All @@ -31,9 +30,8 @@ export const metachainTestNet = {
symbol: "DFI",
},
rpcUrls: {
// TODO: Replace RPC URLs
public: { http: ["http://34.38.30.102:18551"] },
default: { http: ["http://34.38.30.102:18551"] },
public: { http: ["https://eth.testnet.ocean.jellyfishsdk.com"] },
default: { http: ["https://eth.testnet.ocean.jellyfishsdk.com"] },
},
blockExplorers: {
default: {
Expand Down

0 comments on commit 77a2838

Please sign in to comment.