Gream
Stream $G tokens to any Twitter user by @handle
Created on 28th July 2023
•
Gream
Stream $G tokens to any Twitter user by @handle
The problem Gream solves
Gream allows users to authenticate themsleves via Twitter and start receiving $G token streams instantly! User's wallet addresses are linked to their social profile (Twitter). Using Web3Auth for authentication, Torus Wallet for Self-custodial Wallet-as-a-service (WaaS) and Superfluid contracts for streaming, an abstracted wallet is created on behalf of the user, this eliminates complex onboarding process of using external wallets and seed phrases, making it easier to both access your funds and send/receive streams of tokens.
Challenges I ran into
One of the significant challenges I grappled with while developing this project was the limitations in fully harnessing account abstraction. Initially, my objective was to create a seamless environment where anyone could send $G token streams to any user, irrespective of their authentication or registration status on the DApp.
However, this ambitious goal was obstructed by two primary hurdles:
The as-yet unreleased lookup API from web3auth, a key tool that allows the resolution of an address for a social account before it's even created. This hindered my ability to effectively predetermine wallet addresses.
The absence of EntryPoint and Bundlers on Celo made it impossible to fully utilize ERC-4337, which was critical for achieving my intended functionality.
Faced with these constraints, I had to adapt and innovate. The solution I came up with involved integrating a Firebase database that links each Twitter handle with a wallet generated by Torus. This workaround had a limitation - the streaming of $G tokens became restricted to only those users who are registered or authenticated on the DApp.
Nonetheless, the project isn't at a dead-end due to these challenges. If EntryPoint gets deployed on the Celo mainnet and Bundlers become available in the future or Web3Auth releases their LookUp API, upgrading the DApp to obviate the need for Firebase would be fairly straightforward. This upgrade will open the gates to anyone wishing to stream to any other user, even if they aren't registered on the DApp.
