Did you know you can bundle a CoW Swap with another DeFi action? Pre- and post-hooks are live in beta, and community devs are already cooking some tasty recipes... like this nifty hook that lets anyone repay or deposit collateral into @MorphoLabs vaults while swapping. 🦋🧵
Want to try it? Here’s a step-by-step guide 👇 1️⃣ Head to 2️⃣ Click on the top right settings icon in the swap modal 3️⃣ Click “Enable Hooks”
4️⃣ Once enabled, click on the new “Hooks” tab that appears 5️⃣ Set up your swap as usual (choose tokens to trade) 6️⃣ Choose a pre-hook or post-hook depending on what you want to do
7️⃣ From the available options, choose the Morpho hook (now live on Mainnet and Base, with Polygon coming soon)
8️⃣ Review your full transaction, including the Morpho hook logic, and confirm your swap Congrats! You just chained lending + swapping into a single, seamless action. 🎉
Thanks to the amazing @bleubuilders team, who built this with a community-funded grant. And if you're a talented developer interested in building with CoW Hooks, check out the CoW Grants Program: 🏗️
This is just the beginning. More hooks will follow. More use cases. More composability. Built on intent-based infrastructure. Try it now → And let us know what you'd love to hook into next!
Show original
10.86K
28
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.