# Introducing Omnisea Hooks: Composable ONFTs

By [Omnisea](https://paragraph.com/@omnisea) · 2023-05-19

---

At Omnisea, one of our key offerings is Omnichain NFTs (ONFTs), a ground-breaking concept that employs LayerZero technology to enable the creation of NFTs that are cross-chain transferrable, and thus, chain-agnostic. This is a great value for both Creators and Collectors of such collections.

Today, we're thrilled to introduce our newest feature and yet another custom extension of the ONFT standard - **Composable ONFT.** As you may already know, starting with our V2, all NFTs created via Omnisea, are automatically ONFTs. And now, by making them cross-chain composable, we’re unlocking a whole new world of use cases.

### What are Omnisea Hooks?

Omnisea Hooks is an advanced enhancement of our ONFTs, designed to redefine how cross-chain NFT transfers are executed. With this new feature, users can now trigger the execution of any contract with any payload upon the successful transfer of an ONFT across blockchains. Simply put, a 'hook' is a programmable action happening right after an ONFT transfer. The possibilities that this feature unlocks for developers are endless. Currently, when you transfer ONFT, it just moves to the selected address on a destination chain. Composable ONFTs are different. Such an ONFT can do anything on a successful transfer. The sender (ONFT Holder) can specify the contract address that will be called on receive as well as add additional data (payload) that will be passed as an argument to the following function:

`function onONFTReceived(uint16 _srcChainId, bytes calldata _srcAddress, address _from, uint[] memory _tokenIds, bytes calldata _payload) external;`

We will explain the interface and the underlying logic of this function in the upcoming (with V2 Mainnet) Documentation update.

We don’t expect Holders to know how to send a composable transfer transaction. But, it’ll be very simple for Developers to write their cross-chain NFT protocols and applications using Omnisea ONFTs.

![](https://storage.googleapis.com/papyrus_images/2878dd081276b97c49d78c742ce5e359880c6cd16f650c522c47a42926c2526c.png)

### The Potential of Omnisea Hooks

The potential use cases are countless. It does the same what Stargate has done for native fungible assets, especially stablecoins regarding purely the cross-chain composability aspect. A great example of how Stargate composability works is the emergence of Sushi xSwap - it performs a swap upon a successful ERC-20 token transfer (all in a single user interaction). Here are a few scenarios that illustrate the power of Omnisea Hooks.

1.  **Bridge & Sell (Omnichain Marketplace):** With Omnisea Hooks, users can now bridge and sell ONFTs in a single transaction. This means that you can move your ONFT from one blockchain to another and immediately sell it on the destination chain, all in a single step.
    
2.  **Bridge & Lock (Omnichain NFTfi):** Need to transfer an ONFT to another blockchain and lock it there? Omnisea Hooks makes it possible in one swift move. This can be beneficial in situations where locking an ONFT is part of a staking process or is required by certain contracts, eg. NFT lending/NFTfi.
    
3.  **Bridge & Vote (Omnichain NFT Governance):** For governance ONFTs, users can bridge their ONFTs and use them to vote in governance matters in the destination blockchain, all in one go. This feature allows for more active and immediate participation in decentralized decision-making processes.
    
4.  **Bridge & Play (Omnichain Gaming):** Web3 in-game items and collectibles can now be truly owned without being limited to a particular chain. This is equivalent to being able to use your items across different servers in a single game. Omnisea Hooks makes it possible to develop a multi-chain game where gamers can still interact with each other while being connected to different chains (networks).
    

In the end, it’s all about developers’ imagination and what they want to accomplish by using Omnichain NFTs. Omnisea Hooks opens up an entire realm of possibilities and allows for a more interconnected, fluid, and efficient ecosystem of non-fungible tokens.

---

*Originally published on [Omnisea](https://paragraph.com/@omnisea/introducing-omnisea-hooks-composable-onfts)*
