Adding Relayer support & community relayer plans
We’re happy to announce that we added experimental support for relayers to Typhoon to further improve anonymity, with the first official relayer being available on the mainnet app from today. To use the official relayer, simply tick the “use relayer” checkbox (this will incur a 1% fee to the relayer wallet).
Confused what relayers are? Fear not, we’re taking a dive into what they do and why we need them:
Why we need relayers
When withdrawing a deposit, the wallet that called the
withdraw() function is recorded on-chain. Think of it as a “withdraw 0.1 BNB to wallet 0x123” record that gets saved publicly.
If you withdraw with a different wallet than the one you deposited with, this is absolutely no problem and by design. The problem however happens when the wallet that deposited the funds is the same wallet that called
withdraw. This exposes the transaction deposit and destination and makes transactions public.
Another problem with the current design is that you can’t use withdraw from wallets that have no BNB in them because each transaction costs gas, and that includes withdrawing. So how do you get funds to a new wallet so you can withdraw, without exposing where those funds are coming from?
This is where relayer come in.
What is a relayer
A relayer is something like another middleman in the current ecosystem: instead of calling
withdraw() directly, the user passes the withdraw information to a third party, and that third party initiates the withdraw. As a result, withdraw transactions using a relayer will always get recorded using the relayer wallet and not the users wallet, further improving privacy.
In return for this, relayers get a small fee of the total transaction.
When should I use relayers?
When you don’t mind the fees and want an extra hop between deposit and withdraw.
If you withdraw with a different wallet that already has bnb in it, you don’t need a relayer.
Next Up: Host your own relayer and earn fees!
Furthermore we’re calling for community relayers! If you have some IT knowledge and want to earn some of the fees directly from Typhoon, your chance is coming! We want to start by adding at least 2–3 community relayers.
The details are currently getting finalized and will be summarized in a separate announcement, but here’s the gist of it:
- You host a relayer server (either self-written or the one we made) with a wallet to be used for relaying transactions
- Whenever a transaction goes through your relayer, you make some money through fees (you decide the amount of fees upfront)
- To get listed as a relayer on the Typhoon website, you’ll need to hold a certain amount of TYPH tokens in the relayer wallet (currently considering 5000 as the minimum, but that will be finalized in the next announcement)
More details, including a ready-to-go relayer implementation will follow in the next few days.
We decided to do relayers earlier since we got a lot of feedback from users about this. Adding relayers makes us mostly feature complete and fixes the remaining puzzle piece of sending to wallets without balance.
Tell us what you think
Telegram (Announcements): https://t.me/typhoonnetworkannouncements