πEnhanced Privacy & Community Incentives
π°οΈ Relayer System
To achieve the highest degree of privacy, it is essential to break the on-chain link between the wallet initiating the withdrawal and the fresh wallet receiving the funds. If a user paid the transaction fee (gas) from an existing wallet, it could potentially link them to the withdrawal. The BonkNado Cash relayer system solves this problem elegantly.
How the Relayer Works
The relayer mechanism is a decentralized network of third parties who are incentivized to process withdrawal transactions for other users.
Transaction Creation: The user generates the complete withdrawal transaction locally in their browser. This includes the zk-proof and the final recipient address.
Submission to Queue: Instead of signing and sending this transaction to the Solana network, the user submits the unsigned transaction data to a public "relayer queue."
Relayer Execution: Any third party (a "relayer") can pull this transaction from the queue. The relayer uses their own wallet to sign the transaction and pay the necessary SOL for gas fees.
Incentivization: Upon successful execution, the smart contract automatically pays the fixed Relayer Fee from the withdrawal amount directly to the relayer's wallet address.
Security and Trustlessness
The relayer system is entirely trustless. The zk-SNARK proof that the user generates is cryptographically bound to the specified recipient address. This means the relayer, or anyone else, cannot tamper with the transaction to change the recipient address or the withdrawal amount. Their only role is to provide the "gas" to submit the transaction to the blockchain. If they attempt to alter the transaction in any way, the proof becomes invalid, and the transaction will fail, ensuring the user's funds are always safe.
Benefits of the Relayer System
For the Withdrawer:
Maximum Privacy
Convenience
For the Community:
Earning Opportunity
Non-Custodial
Developers and admins never have access to user funds.
Cryptographic Security
Built using trusted zk-SNARK, Poseidon hash, and Merkle tree principles.
Anonymity Set
A larger pool of participants increases privacy.
Last updated