diff --git a/docs/evm/using.mdx b/docs/evm/using.mdx index f6bcb4e6d4..6e56497e26 100644 --- a/docs/evm/using.mdx +++ b/docs/evm/using.mdx @@ -34,10 +34,10 @@ Manual method: Add EVM on Flow as a custom network to MetaMask: | --------------- | ------------------------------------ | | Network Name | Flow Testnet | | Description | The public RPC url for Flow Testnet | -| RPC Endpoint | https://testnet.evm.nodes.onflow.org | -| Chain ID | 545 | +| RPC Endpoint | https://mainnet.evm.nodes.onflow.org | +| Chain ID | 747 | | Currency Symbol | FLOW | -| Block Explorer | https://evm-testnet.flowscan.io/ | +| Block Explorer | https://evm.flowscan.io/ | 6. Tap the Save button to save Flow Testnet as a network. diff --git a/src/components/addNetworkButton.tsx b/src/components/addNetworkButton.tsx index f908fd8fe1..46cb81693c 100644 --- a/src/components/addNetworkButton.tsx +++ b/src/components/addNetworkButton.tsx @@ -36,9 +36,9 @@ export const AddNetworkButton = () => { method: 'wallet_addEthereumChain', params: [ { - chainId: '0x221', - chainName: 'Flow Testnet', - rpcUrls: ['https://testnet.evm.nodes.onflow.org'], + chainId: '0x2eb', // 747 in hexadecimal + chainName: 'Flow Mainnet', + rpcUrls: ['https://mainnet.evm.nodes.onflow.org'], iconUrls: [ 'https://assets-global.website-files.com/5f734f4dbd95382f4fdfa0ea/65b016be9b9cf0a402a67a38_ico-flow-crescendo.png', ], @@ -47,7 +47,7 @@ export const AddNetworkButton = () => { symbol: 'FLOW', decimals: 18, }, - blockExplorerUrls: ['https://evm-testnet.flowscan.io/'], + blockExplorerUrls: ['https://evm.flowscan.io/'], }, ], }); @@ -62,7 +62,7 @@ export const AddNetworkButton = () => { className="my-5 " disabled={isNetworkAdded} variant="secondary" - onClick={addFlowNetwork} + onClick={() => addFlowNetwork()} > {isNetworkAdded ? 'Flow Network Added!' : 'Add Flow Network'}