Skip to content
Merged
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
2 changes: 1 addition & 1 deletion packages/mask/src/plugins/EVM/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const PLUGIN_NETWORKS: Web3Plugin.NetworkDescriptor[] = [
networkSupporterPluginID: PLUGIN_ID,
chainId: ChainId.xDai,
type: NetworkType.xDai,
name: 'Gnosis Chain',
name: 'Gnosis',
icon: new URL('./assets/xdai.png', import.meta.url),
iconColor: 'rgb(73, 169, 166)',
isMainnet: true,
Expand Down
8 changes: 4 additions & 4 deletions packages/web3-shared/evm/assets/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@
"infoURL": "https://goerli.net/#about"
},
{
"name": "Binance Smart Chain Mainnet",
"name": "BNB Chain Mainnet",
"chainId": 56,
"fullName": "Binance",
"shortName": "bnb",
"chain": "BSC",
"chain": "BNB Chain",
"network": "mainnet",
"networkId": 56,
"nativeCurrency": {
Expand Down Expand Up @@ -985,8 +985,8 @@
"networkId": 99
},
{
"name": "xDai Chain",
"chain": "xDai",
"name": "Gnosis Chain",
"chain": "Gnosis",
"network": "mainnet",
"rpc": [
"https://rpc.xdaichain.com",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-shared/evm/utils/chainDetailed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ export const getChainIdFromNetworkType = createLookupTableResolver<NetworkType,
// The value should be same as chain field in packages/web3-shared/evm/assets/chains.json
const chainNameMap: Record<NetworkType, string> = {
[NetworkType.Ethereum]: 'ETH',
[NetworkType.Binance]: 'BSC',
[NetworkType.Binance]: 'BNB Chain',
[NetworkType.Polygon]: 'Polygon',
[NetworkType.Arbitrum]: 'Arbitrum',
[NetworkType.xDai]: 'xDai',
[NetworkType.xDai]: 'Gnosis',
[NetworkType.Celo]: 'CELO',
[NetworkType.Fantom]: 'FTM',
[NetworkType.Aurora]: 'Aurora',
Expand Down