scrollTop
hamburguerclose
back arrowBack to all workshops

Coreum v4 Update

IBC Hooks serve as middleware that triggers smart token execution upon receiving ICS20 tokens, while Smart Token Extensions attach a smart contract to govern your Smart Tokens, ensuring automated and secure management. Additionally, Secret VRF utilizes Intel SGX (TEE) for true random number generation, providing robust and verifiable randomness for your applications.

With your leap cosmos wallet, you can send a $FLIP to another wallet, where this Smart Token acts as a slot coin, triggering the Flip The Coin contract and initiating the process. The Coin Flip contract on Coreum initiates an IBC Hooks call to the counterpart contract on Secret Network. On Secret Network, the random number is generated and returned to Coreum via an IBC Hooks call, with the result then sent to the end user in the application.

Language: Rust | Cosmwasm | Typescript