Skip to content

Commit 57a3bb5

Browse files
committed
fixed broken links and removed goerli added sepolia support
1 parent d044cbb commit 57a3bb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/learn/onchain-app-development/cross-chain/bridge-tokens-with-layerzero.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,14 +481,14 @@ The `setPeer` function expects the following arguments:
481481

482482
| Name | Type | Description |
483483
| :------ | :-------- | :------------------------------------------------------------------------------------------------------- |
484-
| `_eid` | `uint32` | The [endpoint ID](https://docs.layerzero.network/contracts/endpoint-addresses) of the destination chain. |
484+
| `_eid` | `uint32` | The [endpoint ID](https://docs.layerzero.network/v2/deployments/deployed-contracts) of the destination chain. |
485485
| `_peer` | `bytes32` | The contract address of the OApp contract on the destination chain. |
486486

487487
### Setting the peers
488488

489489
Foundry provides the `cast` command-line tool that can be used to interact with deployed smart contracts and call their functions.
490490

491-
To set the peer of your `ExampleContract` contracts, you can use `cast` to call the `setPeer` function while providing the [endpoint ID](https://docs.layerzero.network/contracts/endpoint-addresses) and address (in bytes) of the deployed contract on the respective destination chain.
491+
To set the peer of your `ExampleContract` contracts, you can use `cast` to call the `setPeer` function while providing the [endpoint ID](https://docs.layerzero.network/v2/deployments/deployed-contracts) and address (in bytes) of the deployed contract on the respective destination chain.
492492

493493
To set the peer of the Base Sepolia contract to the Optimism Sepolia contract, run the following command:
494494

0 commit comments

Comments
 (0)