diff --git a/docs/build/isc/v1.1/docs/_partials/_hardhat_config.md b/docs/build/isc/v1.1/docs/_partials/_hardhat_config.md index f2ced4f6039..d40752cc44b 100644 --- a/docs/build/isc/v1.1/docs/_partials/_hardhat_config.md +++ b/docs/build/isc/v1.1/docs/_partials/_hardhat_config.md @@ -19,14 +19,14 @@ networks: { - + {` networks: { - 'iotaevm': { - url: '${Networks['iota'].evm.core.rpcUrls[0]}', - chainId: ${parseInt(Networks['iota'].evm.core.chainId)}, + 'shimmerevm-testnet': { + url: '${Networks['shimmer_testnet'].evm.core.rpcUrls[0]}', + chainId: ${parseInt(Networks['shimmer_testnet'].evm.core.chainId)}, accounts: [YOUR PRIVATE KEY], }, } @@ -34,14 +34,14 @@ networks: { - + {` networks: { - 'shimmerevm': { - url: '${Networks['shimmer'].evm.core.rpcUrls[0]}', - chainId: ${parseInt(Networks['shimmer'].evm.core.chainId)}, + 'iotaevm': { + url: '${Networks['iota'].evm.core.rpcUrls[0]}', + chainId: ${parseInt(Networks['iota'].evm.core.chainId)}, accounts: [YOUR PRIVATE KEY], }, } @@ -49,14 +49,14 @@ networks: { - + {` networks: { 'shimmerevm': { - url: '${Networks['shimmer_testnet'].evm.core.rpcUrls[0]}', - chainId: ${parseInt(Networks['shimmer_testnet'].evm.core.chainId)}, + url: '${Networks['shimmer'].evm.core.rpcUrls[0]}', + chainId: ${parseInt(Networks['shimmer'].evm.core.chainId)}, accounts: [YOUR PRIVATE KEY], }, } diff --git a/docs/build/isc/v1.3-alpha/docs/_partials/_hardhat_config.md b/docs/build/isc/v1.3-alpha/docs/_partials/_hardhat_config.md index cf0db57b591..d40752cc44b 100644 --- a/docs/build/isc/v1.3-alpha/docs/_partials/_hardhat_config.md +++ b/docs/build/isc/v1.3-alpha/docs/_partials/_hardhat_config.md @@ -24,9 +24,9 @@ networks: { {` networks: { - 'iotaevm-testnet': { - url: '${Networks['iota_testnet'].evm.core.rpcUrls[0]}', - chainId: ${parseInt(Networks['iota_testnet'].evm.core.chainId)}, + 'shimmerevm-testnet': { + url: '${Networks['shimmer_testnet'].evm.core.rpcUrls[0]}', + chainId: ${parseInt(Networks['shimmer_testnet'].evm.core.chainId)}, accounts: [YOUR PRIVATE KEY], }, } diff --git a/src/theme/NetworkInfo/index.tsx b/src/theme/NetworkInfo/index.tsx index 9661bcbef21..145bff9b6fc 100644 --- a/src/theme/NetworkInfo/index.tsx +++ b/src/theme/NetworkInfo/index.tsx @@ -75,7 +75,7 @@ function Evm(props: NetworkProps) { ))} - {props.evm.tools.blastApiUrls && ( + {props.evm.tools && props.evm.tools.blastApiUrls && ( @@ -111,7 +111,9 @@ function Evm(props: NetworkProps) { - {props.evm.custom.toolkit.hasFaucet ? 'Toolkit & Faucet' : 'Toolkit'} + {props.evm.custom.toolkit.hasFaucet + ? 'Toolkit & Faucet' + : 'Toolkit'}