Skip to content

Commit

Permalink
update evm info to mainnet info
Browse files Browse the repository at this point in the history
  • Loading branch information
bthaile committed Sep 5, 2024
1 parent 892dfc6 commit 5a97142
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/evm/using.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
10 changes: 5 additions & 5 deletions src/components/addNetworkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
Expand All @@ -47,7 +47,7 @@ export const AddNetworkButton = () => {
symbol: 'FLOW',
decimals: 18,
},
blockExplorerUrls: ['https://evm-testnet.flowscan.io/'],
blockExplorerUrls: ['https://evm.flowscan.io/'],
},
],
});
Expand All @@ -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'}
</Button>
Expand Down

0 comments on commit 5a97142

Please sign in to comment.