Solana Gas Station
By Prince Sinha & Ayush Kaul
Powered by
Introduction
It’s is a Gas Station for Solana Network built using Rust. This platform/network will allow users to do gas-less transactions.
This network will allow Dapps on Solana to pay the gas fee on behalf of their users. Also, a single user can use this platform.
Using this platform, One can pay the transaction fee in other solana supported tokens or even ethereum tokens (using wormhole). For eg. One can top-up account using USDC token instead of SOL.
Architecture
Explanation
A backend relayer will be used to publish the signed transaction and, the executor on the relayer will pay the fee & submit transaction on the blockchain. The execution and fee deduction will be done through smart contract only. �The consumer/user will first top-up their account using SOL or any SPL token. On a successful transaction execution, the fee will get deducted from top-up credit and get added to the executor (fee-payer).
The executor can claim their earned fee anytime directly from the smart contract. We will include governance in future for changing fees etc.
Also, the Dapp & User can withdraw their topup anytime if they want. The topup credit will be associated with account. The amount will be stored in the program account or smart contract.
Motivation
Why Gas Station On Solana?
Current Implementation
Future Enhancements
Demo Video
Github Repo
Thank You