Skip to content

Frontend Development Overview

CommissionRoad offers multiple ways to integrate commissions into your dApp, catering to different complexity needs and use cases.

Integration Methods

MethodBest ForKey Feature
Standard CallsSimple interactions (Swap, Deposit)Easiest to implement. Works for 90% of use cases.
Weiroll VMComplex, multi-step transactionsChain outputs to inputs (e.g. Swap result -> Lending Deposit).
EIP-7702Gasless / Relayer flowsUser "becomes" the executor. No approvals needed.

Which one should I choose?

  • Start with Standard Calls. It handles the basics: executing a transaction and collecting a fee.
  • If you find yourself needing to know the exact output amount of a swap to construct the next transaction data before the transaction is mined, you need Weiroll.
  • If you are building a wallet or an advanced "Smart Account" experience where you want to sponsor gas usage or avoid approve() transactions entirely, look at EIP-7702.