scroll-tech / contribute-to-scroll

This repository guides developers wanting to contribute to the Scroll ecosystem.
https://scroll.io
1.03k stars 638 forks source link

Skunkworks Project Suggestion: Crumbs #89

Open k1yz5r opened 1 year ago

k1yz5r commented 1 year ago

Name of the project

Crumbs

Project abstract

In the world of crytocurrency transaction, there has been a lot of down rising in the final use of little tokens, probably due to minimum withdrawal or transfer, lots of bridges and dex crates a certain amount that can be swap or changed... this has creat a stuck in so many little unit of various tokens.

I alway believe in the creation of a technology that can inter switch various chains token, with this we can slove the problem of dying or left out tokens... e.g in a community of million users who has multiple wallets with different tokens but the majority tokens are stucked in various wallets due to very low value ($2ltc, 0.7$BnB, 3$opeth and many kind of tokens) with the creation of a token where by all the little unit toke can be compressed together in form of crumbs and break down into usdt, the withdrawn into required asset that is demanded... this will definately solve a lot of abadond token and it will also serve as a security to the healthyness of the block chain.

It jus an idea, there is more to this and im very open to contributions and more better explanations if needed.

Specification

crumbs should also be a zero knowledge on chain operation that can combine unit token in different versity of chains ,thereby compressing them into usdt for convertion.

adam0x7 commented 1 year ago

@k1yz5r Hey I would like to take a strike at this. Can you clarify the zero knowledge part that you mentioned? And in terms of of compressing these tokens into USDT, I imagine the easiest way to do this is to maybe create a contract that takes in deposits with a mapping of account to deposit. The account aggregates these micro fractions of tokens(lets say its people with a bunch of weth crumbs, something with high liquidity), and the contract uses Uniswap pools to just simply make the swap, check the spot price at that time and distribute the tokens back to the users? This could effectively be a V4 hook.

Or in another case, lets say there are two groups of people: one with crumbs of token0 and the other with crumbs of token1. Ideally in Uni V4 we can generate a liqudity pool specifically for those people to either deposit their lp into or make swaps.

All this has to be hella gas optimized but curious to know the potential thoughts/feedback before I get started

adam0x7 commented 1 year ago

There's also a ton of typos/mispellings in this project idea that make it hard to understand. Adding an edited version to convey the idea a bit better for those coming after me

Crumbs

Project Abstract In the realm of cryptocurrency transactions, there has been a decline in the utilization of minor tokens, often due to constraints like minimum withdrawal or transfer limits. Numerous bridges and DEXs set specific thresholds for the amounts that can be swapped or exchanged, leaving many small units of various tokens stranded in wallets.

I firmly believe in developing a technology that can facilitate the interchange of tokens across various chains, addressing the issue of neglected or unused tokens. For instance, consider a community of a million users with multiple wallets holding various tokens. A significant portion of these tokens remains unused in wallets due to their low value (e.g., $2 in LTC, $0.7 in BNB, $3 in ETH, among others). By creating a mechanism where all these minor token units can be aggregated—or "compressed"—into a form of "crumbs," and then converted into USDT, which can subsequently be withdrawn or exchanged for a desired asset, we could revitalize these neglected tokens. This approach will not only salvage abandoned tokens but also contribute to the overall health and security of the blockchain ecosystem.

This is just a concept at the moment, and I am open to contributions, improvements, and more refined explanations if necessary.

Specification Crumbs should operate as a zero-knowledge on-chain mechanism, capable of amalgamating unit tokens from a diversity of chains, and subsequently compressing them into USDT for conversion.