CoW Hook dApp
What are CoW Hooks?
Technical specification
![]() | ![]() |
|---|
Hook dApp - is an application that allows you to conveniently program an order to perform any action before or after a swap.
In the CoW Swap interface you can find several hooks for different tasks. For example, you can claim GNO from Gnosis validators before your swap. You can also specify an arbitrary call to a smart contract before or after your swap using the "Build your own hooks" dApp.
But that's not all. You can also develop your own application that will install a hook in CoW Swap! For this purpose, there is a custom application based on iframe.
In order to add a custom hook, you need to:
- Click "add Pre/Post-Hook Action"
- Go to "My Custom Hooks" tab
- Paste a URL of the hook dApp
note
CoW Hooks are still under development!
But you can test it by switching "Enable hooks" toggle ON in the Swap settings.

