Leveling Up Gasless Transactions

Hey SKALE Developers!

Excited to share that Eidolon: https://eidolon.gg just released the first version of gasless transactions build in Rust and released for Rust and Node.js (JS/TS) based developers.

Background

Zero Gas Fees - SKALE is well known for zero gas fees which is the act of having a gas token [called sFUEL] that has no monetary value.

Gasless Transactions - Different than zero gas fees, this is the act of sending a transaction with no sFUEL/gas at all. This is done by deriving a magic number that consensus accepts as valid by utilizing the algorithm provided by SKALE.

Historically, Proof of Work has only really been done in higher level programming languages (minus the Cryptopia C++ Gas Miner). Run PoW in JavaScript is generally pretty slow on most devices and can take upwards of 3-5 seconds to find the magic number.

What Changed?

Speed. Speed. Speed. Deriving magic numbers is now blazing fast (benchmarks coming) but from manually testing has shown to average <10ms which is fast enough that it doesn’t impact user experience at all. Additionally, it’s fast enough and light enough to now run in a server environment making it drastically easier to run management wallets and custodial wallets on SKALE without having to manage gas. Even account abstraction could be simplified since the relayers could never need gas.

How to Use It

Node/JavaScript/Typescript: @eidolon-labs/gasless - npm
Rust: https://crates.io/crates/gasless

Need Help on Integrating

If you need support on integrating, hop into the SKALE Discord: SKALE, join #dev-chat, and reach out to TheGreatAxios.

Thanks!
TheGreatAxios

I think gasless transactions are our major advantage and will continue to be in the future.

One reason gasless transactions are important is privacy. To obtain gas on Ethereum, users typically need to purchase it from platforms like Binance, which de-anonymizes their address.

2 Likes

The idea resembles the fee grant module of Cosmos; however, you must consider the wallet’s compatibility with the wallet in the market. When the account’s native balance is zero, the wallet prevents you from sending transactions. Only AA EIP-7702, ERC-4337 let you send transactions without any native token balance. And next, to preventing DDoS occurrences need something like gasUsed limit per transaction, and you may not need to calculate a magic number if it doesn’t need it at all it can be done by just flag the account address.