Gasless Interactions

Another major innovation deployed by the RAILGUN system is the ability to send interactions without needing to spend the underlying blockchain’s gas currency. Through the power of Broadcasters and complex ZK circuits, users can interact with RAILGUN entirely in their currency of choice. For example, a user would not need to hold a small balance of ETH to submit gas for interactions on the Ethereum network and could instead choose to only hold and spend a stablecoin like DAI, with all associated gas being submitted in DAI.

This is achieved through something called a “Meta Transaction”, a special form of Ethereum/blockchain transaction that is nested within another transaction. The gas fee can be paid in whatever asset the user specifies with the Broadcaster and nested transaction performing any conversion frictionlessly for the user. Like any other spend transactions, a Meta Transaction in RAILGUN calls the transact() function.

Last updated