Yerba

Yerba is an experimental library that enables cross-chain token aggregation within the OP Stack. It simplifies payments by unifying balances from multiple chains into one.

ETHGlobal BangkokShipped November 15, 2024#defi#payments#infra
Repo
Yerba banner

About

Yerba is an experimental library that abstracts away the complexity of fragmented token balances across multiple OP Stack chains. Designed for developers building multichain applications, Yerba provides a set of tools to aggregate token balances, enabling payments on a specific chain without requiring user interaction with bridges.

The core concept is simple: users shouldn’t have to think about where their funds are. Yerba handles the process of fetching and aggregating liquidity from other chains in the background, enabling smooth and frictionless payments on the target chain. While Yerba is built as a generalized library, we showcase its capabilities with a use case: a digital café menu where users can pay for coffee in USDC on Base (Chain A), even if their balances are distributed across other chains like Worldchain (Chain B) or Optimism (Chain C).

How it's made

The system is composed of a Multicaller Contract on the home chain that coordinates balance queries and token aggregation, a Forwarder Contract authorized by the user to manage cross-chain operations, a Smart Account should be deployed on destination chains to handle token transfers using bridges --not there for simplicity this time. The project uses Supersim to simulate and test the multichain environment, ensuring smooth interactions across chains.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Cross_Flow

CrossFlow is a cross-chain DEX powered by Chainlink CCIP, enabling seamless token swaps across different blockchains.

beat

Revolutionary cross-chain token launchpad. Launch, manage & transfer tokens across multiple chains effortlessly. For developers, entrepreneurs & crypto fans. Secure, compliant & user-friendly. Elevate your blockchain project with our powerful tools & thriving ecosystem.