Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Rebrand Cronos POS Chain Phase 2 #1395

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/config/StaticAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export const CRONOS_TENDERMINT_ASSET = (walletConfig: WalletConfig) => {
memoSupportDisabled: false,
tendermintNetwork: {
defaultNodeUrl: isTestnet
? 'https://rpc-c5.crypto.org'
: 'https://rpc.mainnet.crypto.org',
? 'https://rpc-c5.cronos-pos.org'
: 'https://rpc.mainnet.cronos-pos.org',
chainName: SupportedChainName.CRONOS_TENDERMINT,
chainId: isTestnet ? 'testnet-croeseid-5' : MainNetConfig.network.chainId,
addressPrefix: isTestnet ? 'tcro' : 'cro',
Expand All @@ -90,11 +90,11 @@ export const CRONOS_TENDERMINT_ASSET = (walletConfig: WalletConfig) => {
},
node: {
clientUrl: isTestnet
? 'https://rpc-c5.crypto.org'
: 'https://rpc.mainnet.crypto.org',
? 'https://rpc-c5.cronos-pos.org'
: 'https://rpc.mainnet.cronos-pos.org',
proxyUrl: isTestnet
? 'https://rest-c5.crypto.org'
: 'https://rest.mainnet.crypto.org',
? 'https://rest-c5.cronos-pos.org'
: 'https://rest.mainnet.cronos-pos.org',
},
},
};
Expand Down
30 changes: 15 additions & 15 deletions src/config/StaticConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const TestNetConfig: WalletConfig = {
};

const TestnetCroeseid4: Network = {
defaultNodeUrl: 'https://rpc-testnet-croeseid-4.crypto.org',
defaultNodeUrl: 'https://rpc-testnet-croeseid-4.cronos-pos.org',
chainId: 'testnet-croeseid-4',
addressPrefix: 'tcro',
validatorAddressPrefix: 'tcrocncl',
Expand All @@ -370,11 +370,11 @@ const TestnetCroeseid4: Network = {
coinType: 1,
account: 0,
},
rpcUrl: 'https://rpc-testnet-croeseid-4.crypto.org',
rpcUrl: 'https://rpc-testnet-croeseid-4.cronos-pos.org',
};

const TestnetCroeseid5: Network = {
defaultNodeUrl: 'https://rpc-c5.crypto.org',
defaultNodeUrl: 'https://rpc-c5.cronos-pos.org',
chainId: 'testnet-croeseid-5',
addressPrefix: 'tcro',
validatorAddressPrefix: 'tcrocncl',
Expand All @@ -387,7 +387,7 @@ const TestnetCroeseid5: Network = {
coinType: 1,
account: 0,
},
rpcUrl: 'https://rpc-c5.crypto.org',
rpcUrl: 'https://rpc-c5.cronos-pos.org',
};

export const TestNetCroeseid4Config: WalletConfig = {
Expand Down Expand Up @@ -415,8 +415,8 @@ export const TestNetCroeseid4Config: WalletConfig = {
...TestnetCroeseid4,
chainName: SupportedChainName.CRONOS_TENDERMINT,
node: {
clientUrl: 'https://rpc-testnet-croeseid-4.crypto.org',
proxyUrl: 'https://rest-testnet-croeseid-4.crypto.org',
clientUrl: 'https://rpc-testnet-croeseid-4.cronos-pos.org',
proxyUrl: 'https://rest-testnet-croeseid-4.cronos-pos.org',
}
}
};
Expand Down Expand Up @@ -447,8 +447,8 @@ export const TestNetCroeseid5Config: WalletConfig = {
...TestnetCroeseid5,
chainName: SupportedChainName.CRONOS_TENDERMINT,
node: {
clientUrl: 'https://rpc-c5.crypto.org',
proxyUrl: 'https://rest-c5.crypto.org'
clientUrl: 'https://rpc-c5.cronos-pos.org',
proxyUrl: 'https://rest-c5.cronos-pos.org'
}
}
};
Expand All @@ -457,7 +457,7 @@ export const MainNetConfig: WalletConfig = {
enabled: true,
name: NetworkName.MAINNET,
derivationPath: 'm/44\'/394\'/0\'/0/0',
nodeUrl: 'https://rpc.mainnet.crypto.org',
nodeUrl: 'https://rpc.mainnet.cronos-pos.org',
explorer: {
baseUrl: 'https://cronos-pos.org/explorer/',
tx: 'https://cronos-pos.org/explorer/tx',
Expand All @@ -468,8 +468,8 @@ export const MainNetConfig: WalletConfig = {
indexingUrl: 'https://cronos-pos.org/explorer/api/v1/',
network: {
...CroNetwork.Mainnet,
defaultNodeUrl: 'https://rpc.mainnet.crypto.org',
rpcUrl: 'https://rpc.mainnet.crypto.org',
defaultNodeUrl: 'https://rpc.mainnet.cronos-pos.org',
rpcUrl: 'https://rpc.mainnet.cronos-pos.org',
},
disableDefaultClientMemo: false,
enableGeneralSettings: false,
Expand All @@ -480,12 +480,12 @@ export const MainNetConfig: WalletConfig = {
},
tendermintNetwork: {
...CroNetwork.Mainnet,
defaultNodeUrl: 'https://rpc.mainnet.crypto.org',
defaultNodeUrl: 'https://rpc.mainnet.cronos-pos.org',
chainName: SupportedChainName.CRONOS_TENDERMINT,
rpcUrl: 'https://rpc.mainnet.crypto.org',
rpcUrl: 'https://rpc.mainnet.cronos-pos.org',
node: {
clientUrl: 'https://rpc.mainnet.crypto.org',
proxyUrl: 'https://rest.mainnet.crypto.org',
clientUrl: 'https://rpc.mainnet.cronos-pos.org',
proxyUrl: 'https://rest.mainnet.cronos-pos.org',
},
},
};
Expand Down
Loading
Loading