Gasless Betting

How gasless betting (paymaster feature) works on Goal3

Goal3 has a built-in Paymaster feature which abstracts away the need for users to hold Ethereum (ETH) to pay for gas fee on zkSync. With only zkUSD in the wallet balance, users can seamlessly place bets and claim winnings on Goal3.

At the protocol level, Goal3 employs a paymaster wallet to cover gas fees in ETH for users when placing bets or claiming winnings in a single transaction. This implementation ensures a seamless user experience reminiscent of Web2 within the Web3 platform.

1. Gasless on Goal3 Beta version

The process for a gasless bet is simplified compared to a normal transaction. Simply choose an outcome and place your wager.

Sign the request and your transaction is recorded on zkSync - no gas needed in your wallet.

Placing Bets
  • With wagers over 10 zkUSD: Users have the capability to transact completely free of charge (gasless). The protocol sponsors 100% of the transaction fee on behalf of the user.

  • With wagers below 10 zkUSD: Users have the capability to pay for network fee in customized ERC-20 tokens (zkUSD). A flat fee of 0.5 zkUSD is charged for each outcome placed. If there are 2 outcomes in an order, the fee would be 1 zkUSD, and so on.

Claim Winnings
  • With total payouts over 10 zkUSD: Users have the capability to transact completely free of charge (gasless). The protocol sponsors 100% of the transaction fee on behalf of the user.

  • With total payouts below 10 zkUSD: Users have the capability to pay for network fee in customized ERC-20 tokens (zkUSD). A flat fee of 0.5 zkUSD is charged for each claim.

2. Gasless on Goal3 App Version

In the latest Goal3 app version, users can enjoy a fully gasless transaction experience, with specific conditions:

  • Placing bets: Wagers must be over 10 zkUSD; bets below this amount are not accepted.

  • Claiming winnings: Total payouts must exceed 20 zkUSD for claims to be processed; amounts below this threshold are not claimable.

Please note that these parameters are subject to change based on the gwei during that specific time period.

The integration of Account Abstraction (AA) - Smart Account Feature also ensures no transaction signing is required when placing bets and claiming winnings. Read more in the section below:

🧠pageSmart Accounts

Last updated