scrollTop
hamburguerclose
back arrowBack to all workshops

IBC Hooks and Token Extensions with Secret Network

With the Coreum v4 update, Smart Tokens have gained new capabilities! Developers can now attach smart contracts to token transactions, enabling custom logic to execute with every send or receive. This innovation unlocks endless possibilities for business logic, gamification, and more.

In this workshop, we will dive into how to leverage the new IBC Hooks module to initiate cross-chain contract calls using ICS-20 token transfers. You'll learn how to build a cross-chain 'Flip the Coin' DApp, utilizing Secret Network's VRF for generating random numbers on Coreum. We'll walk you through triggering this DApp by simply sending the FLIP token from your wallet!

Language: Rust | Cosmwasm | Typescript(NextJS)