Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Commit d00049b

Browse files
committed
fix readme links
1 parent c04e7d2 commit d00049b

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
# LayerZero V1 Solidity Examples
88

9-
109
>[!IMPORTANT]
1110
> **LayerZero V2** is now available [here](https://github.com/LayerZero-Labs/LayerZero-v2), offering improvements in cross-chain transaction speed, gas efficiency, and more.
1211
>
@@ -16,12 +15,11 @@
1615
>
1716
> All of the contracts available in this repo should be considered legacy for Endpoint V1.
1817
19-
2018
Welcome to the solidity-examples repository, showcasing various contract examples utilizing LayerZero. LayerZero is an Omnichain Interoperability Protocol, facilitating reliable, trustless communication between different blockchain networks.
2119

2220
**Disclaimer**: This repository contains example contracts to demonstrate the capabilities and usage of LayerZero. For actual implementation in your projects, it's recommended to use the official LayerZero contracts (such as LZApp, OFT, OFTV1.2, etc.) directly from the[ npm package](https://www.npmjs.com/package/@layerzerolabs/solidity-examples).
2321

24-
You can find instructions for inheriting, deploying, and best practices for the provided contracts in the [LayerZero V1 Documentation](https://docs.layerzero.network/v1/developers/build/what-you-can-build).
22+
You can find instructions for inheriting, deploying, and best practices for the provided contracts in the [LayerZero V1 Documentation](https://docs.layerzero.network/v1/developers/evm/build/what-you-can-build).
2523

2624
* Formal audit(s) (May 21, 2022) can be found in [audit](./audit)
2725

@@ -103,14 +101,14 @@ npx hardhat checkWireUpAll --e testnet --contract OmniCounter
103101

104102
Many of the example contracts make use of `LayerZeroEndpointMock.sol` which is a nice way to test LayerZero locally!
105103

106-
### For further reading, and a list of endpoint ids and deployed LayerZero contract addresses please take a look at the Documentation here: https://docs.layerzero.network/v1/developers/build/what-you-can-build
104+
### For further reading, and a list of endpoint ids and deployed LayerZero contract addresses please take a look at the Documentation here: https://docs.layerzero.network/v1/developers/evm/build/what-you-can-build
107105

108106
# OmnichainFungibleToken (OFT)
109107

110108
## About OFTV1.2
111109

112110
```text
113-
NOTE: the OFTV1.2 uses uint64 to encode value transfer for compatability of Aptos and Solana.
111+
NOTE: the OFTV1.2 uses uint64 to encode value transfer for compatibility of Aptos and Solana.
114112
115113
The deployer is expected to set a lower decimal points like 6 or 8.
116114
@@ -214,15 +212,12 @@ npx hardhat --network bsc-testnet ownerOf --token-id 1 --contract ONFT721Mock
214212
npx hardhat --network fuji ownerOf --token-id 1 --contract ONFT721Mock
215213
```
216214
217-
218215
# See testnet and mainnet chainIds and addresses, and the format for connecting contracts on different chains:
219216
220-
https://github.com/LayerZero-Labs/set-trusted-remotes
221-
222-
https://docs.layerzero.network/v1/developers/technical-reference/testnet/testnet-addresses
223-
224-
https://docs.layerzero.network/v1/developers/technical-reference/mainnet/mainnet-addresses
217+
https://github.com/LayerZero-Labs/set-trusted-remotes
225218
219+
https://docs.layerzero.network/v1/developers/evm/technical-reference/testnet/testnet-addresses
226220
227-
## Most recently tested with node version `16.13.1`
221+
https://docs.layerzero.network/v1/developers/evm/technical-reference/mainnet/mainnet-addresses
228222
223+
## Most recently tested with node version `18.16.0`

contracts/token/oft/v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
> [!IMPORTANT]
66
> Please note that this repo contains OFTV1.2, and is NOT the LayerZero V2 OFT Standard, but rather a second version of OFT built on Endpoint V1.
77
8-
We recommend new developers use the [LayerZero V2 OFT Standard](https://github.com/LayerZero-Labs/LayerZero-v2/blob/main/oapp/contracts/oft/OFT.sol) (found in the LayerZero V2 repo) over both the Endpoint V1 OFT V1 and Endpoint V1 OFT V1.2 implementations, as the protocol update comes with improved interfaces, gas optimizations, and greater composability.
8+
We recommend new developers use the [LayerZero V2 OFT Standard](https://github.com/LayerZero-Labs/LayerZero-v2/blob/main/packages/layerzero-v2/evm/oapp/contracts/oft/OFT.sol) (found in the LayerZero V2 repo) over both the Endpoint V1 OFT V1 and Endpoint V1 OFT V1.2 implementations, as the protocol update comes with improved interfaces, gas optimizations, and greater composability.
99

1010
#### When to use LayerZero V2 OFT
1111

0 commit comments

Comments
 (0)