Skip to content

Commit

Permalink
removed klaytn
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 committed Apr 29, 2024
1 parent 95a296d commit 51f3c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 84 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
## [1.8.0] - 2024-04-29
### Breaking changes
- Removed Goerli, Op Goerli, Arb Goerli and Added OP Sepolia, Arb Sepolia and Ancient8 mainnet and testnet as networks supported
- Removed Goerli, Op Goerli, Arb Goerli, Mumbai, Klaytn since its deprecated and Added OP Sepolia, Arb Sepolia and Ancient8 mainnet and testnet as networks supported

## [1.7.1] - 2024-04-12
### New
Expand Down
84 changes: 1 addition & 83 deletions src/sdk/network/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { NetworkConfig } from ".";

export enum NetworkNames {
Goerli = 'goerli',
Mumbai = 'mumbai',
BaseGoerli = 'baseGoerli',
BaseSepolia = 'baseSepolia',
Sepolia = 'sepolia',
Optimism = 'optimism',
Expand Down Expand Up @@ -33,22 +30,17 @@ export enum NetworkNames {
Flare = 'flare',
ScrollSepolia = 'scrollSepolia',
Scroll = 'scroll',
Klaytn = 'klaytn',
KlaytnTestnet = 'klaytnTestnet',
Ancient8Testnet = 'ancient8Testnet',
Ancient8 = 'ancient8',

}

export const SupportedNetworks =
[1, 5, 10, 14, 30, 31, 56, 97, 100, 114, 122, 123, 137, 1001, 2357, 5000, 5001, 8217, 8453, 10200, 20197, 42161, 43113, 43114, 59140, 59144, 80001, 84531, 84532, 421614, 534351, 534352, 11155111, 11155420, 28122024, 888888888]
[1, 10, 14, 30, 31, 56, 97, 100, 114, 122, 123, 137, 2357, 5000, 5001, 8453, 10200, 20197, 42161, 43113, 43114, 59140, 59144, 84532, 421614, 534351, 534352, 11155111, 11155420, 28122024, 888888888]

export const NETWORK_NAME_TO_CHAIN_ID: {
[key: string]: number;
} = {
[NetworkNames.Goerli]: 5,
[NetworkNames.Mumbai]: 80001,
[NetworkNames.BaseGoerli]: 84531,
[NetworkNames.BaseSepolia]: 84532,
[NetworkNames.Sepolia]: 11155111,
[NetworkNames.Optimism]: 10,
Expand Down Expand Up @@ -78,8 +70,6 @@ export const NETWORK_NAME_TO_CHAIN_ID: {
[NetworkNames.Flare]: 14,
[NetworkNames.ScrollSepolia]: 534351,
[NetworkNames.Scroll]: 534352,
[NetworkNames.Klaytn]: 8217,
[NetworkNames.KlaytnTestnet]: 1001,
[NetworkNames.Ancient8Testnet]: 28122024,
[NetworkNames.Ancient8]: 888888888,
};
Expand All @@ -89,54 +79,6 @@ export const onRamperAllNetworks = ['OPTIMISM', 'POLYGON', 'ARBITRUM', 'FUSE', '
export const Networks: {
[key: string]: NetworkConfig
} = {
[5]: {
chainId: 5,
bundler: 'https://goerli-bundler.etherspot.io',
contracts: {
entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789',
walletFactory: {
etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E',
zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3',
simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454',
}
},
},
[1001]: {
chainId: 1001,
bundler: 'https://klaytntestnet-bundler.etherspot.io',
contracts: {
entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789',
walletFactory: {
etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E',
zeroDev: '',
simpleAccount: '',
}
},
},
[80001]: {
chainId: 80001,
bundler: 'https://mumbai-bundler.etherspot.io',
contracts: {
entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789',
walletFactory: {
etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E',
zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3',
simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454',
}
},
},
[84531]: {
chainId: 84531,
bundler: 'https://basegoerli-bundler.etherspot.io',
contracts: {
entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789',
walletFactory: {
etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E',
zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3',
simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454',
}
},
},
[84532]: {
chainId: 84532,
bundler: 'https://basesepolia-bundler.etherspot.io/',
Expand Down Expand Up @@ -197,18 +139,6 @@ export const Networks: {
}
},
},
[8217]: {
chainId: 8217,
bundler: 'https://klaytn-bundler.etherspot.io',
contracts: {
entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789',
walletFactory: {
etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E',
zeroDev: '',
simpleAccount: '',
}
},
},
[1]: {
chainId: 1,
bundler: 'https://rpc.etherspot.io/ethereum',
Expand Down Expand Up @@ -293,18 +223,6 @@ export const Networks: {
}
},
},
[420]: {
chainId: 420,
bundler: 'https://optimismgoerli-bundler.etherspot.io/',
contracts: {
entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789',
walletFactory: {
etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E',
zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3',
simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454',
}
},
},
[30]: {
chainId: 30,
bundler: 'https://rpc.etherspot.io/rootstock',
Expand Down

0 comments on commit 51f3c89

Please sign in to comment.