In the upcoming v2 release of the Cartesi Rollups SDK, inputs and outputs will be encoded as Solidity function calldata.
This package aims to show front-end developers how inputs and outputs can be encoded or decoded using viem
and the contract ABIs exported by @cartesi/rollups
.
It also comes with a handy-dandy CLI tool.
For documentation, please visit https://cmioc.vercel.app/.