---
title: "Den (@dnx2k2) | Hashnode"
description: "Den (@dnx2k2) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@dnx2k2"
---

@dnx2k2

# Den

@dnx2k2 · Joined January 2024

## Comments

[Priyank Gupta Thanks. Amazing tutorial!](https://hashnode.com/posts/building-a-cross-chain-swap-with-layerzero/64e71c0ba22cd603433ce60b/comment/659fa1acd842226d80926512#reply-659fb39dd842226d8093609e)

Reply · Article · Jan 11, 2024 · [Building a Cross-Chain Swap with LayerZero](https://hashnode.com/posts/building-a-cross-chain-swap-with-layerzero/64e71c0ba22cd603433ce60b)

[Very good tutorial. Couple of fixes to get it work today after some libraries updates^ Due to actual version of OpenZeppelin v5+ its necessary to use 0.8.20+ version of Solidity. 0.8.23 works OK as of now. Because of the same OppenZeppelin major version change it's necessary to add Ownable super class initialization: in file lib/solidity-examples/contracts/lzApp/LzApp.sol change constructor to constructor(address \_endpoint) Ownable(\_msgSender()) { lzEndpoint = ILayerZeroEndpoint(\_endpoint); } In the scripts section you have to change MyScript name to DeployMumbai and DeploySepolia.](https://hashnode.com/posts/building-a-cross-chain-swap-with-layerzero/64e71c0ba22cd603433ce60b/comment/659fa1acd842226d80926512)

Comment · Article · Jan 11, 2024 · [Building a Cross-Chain Swap with LayerZero](https://hashnode.com/posts/building-a-cross-chain-swap-with-layerzero/64e71c0ba22cd603433ce60b)
