project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Solvify

A solver implementation for an intent-centric future on Etheruem - all with a delightful web2-like UX and powerful AI agents from LangChain to optimally satisfy intents and retain value for users.

Solvify

Created At

ETHGlobal New York

Winner of

🧑‍🔬 Privy — Integration Wizard

🥈 Unlimit — Best App

🔟 WalletConnect — Top 10

🏊‍♂️ Arbitrum — Pool Prize

🥇 1inch — Best Use of APIs

Project Description

Introduction

An intent represents a desired outcome - often with a given set of constraints to operate within and inputs to use to do so. Transactions are the precise steps needed to be executed to satisfy a given intent. Our project is a solver implementation that takes an intent, alongside its constraints & inputs, and converts it into a series of transactions to be executed on behalf of the user.

Problem:

Today, the cost of satisfying an intent (e.g. “I have ETH and want 100 USDC on Polygon”) is borne by the user. The user is responsible for deciding on, constructing, paying for, and executing on the path required to achieve the outcome (i.e. a series of transactions). Furthermore, building a path manually requires specialized web3 knowledge and often exposes the user to asymmetrical value extraction (e.g. negative MEV externalities) by third parties.

Our solution: Solvify

To address the above problems, we built a solver implemented using AI to lower both the cost and complexities required for satisfying intents while optimizing for gas along the way. Specifically, user intents get outsourced to our solver where we perform the heavy lifting of translating human intents into precise on-chain transactions that are then automatically executed - providing the “how” to deliver a desired outcome expressed by a user.

Our implementation prioritizes 2 specific value propositions:

  • A delightful web2-like experience by leveraging recent advancements in Account Abstraction (AA) infrastructure to enable a delightful UX for our solver with sponsored transactions, social login methods, and seamless on-demand wallet generation.
  • Support for intents involving multi-chain transactions using Axelar. For this hackathon, we demonstrate a USDC transfer between Ethereum and Arbitrum using only natural language intents.

Sample Workflow:

  1. Upon arriving on our web application, the user can choose to connect their existing wallet using WalletConnect’s Web3Modal V3 or generate a brand new wallet with social login methods using Privy’s embedded wallet infrastructure.
  2. A user enters their intent:
    • “Buy $100 USD worth of ApeCoins on Ethereum Mainnet”
    • “Swap all my ETH for $UNI on Ethereum Mainnet”
    • “Send vitalik.eth $1 USDC on Ethereum Mainnet”
    • "Convert my Ethereum USDC to Arbitrum USDC"
  3. When fiat is involved, UNLIMIT’s on-ramp widget will appear for a user to buy ETH using their credit card
  4. The AI Agent will then parse the intent and propose transactions to the user to approve and execute.

Forward looking:

We believe the future of Ethereum will be increasingly intent-centric. Our work today represents a proof-of-concept for whats possible in the next generation of intent-based architectures. Our team acknowledges that there are many unaddressed risks to tackle and many optimizations to be made.

We theorize that a solver marketplace will arise soon, with models and novel designs competing against one another to satisfy intents - similar to how solutions have emerged to mitigate the negative impacts of MEV (e.g. Flashbots). We further hypothesize that a world where solvers compete to satisfy user intents in the most cost efficient way will be a far more equitable landscape than the status quo. This is because the economic incentives of 3rd party solvers will align with users, as opposed to how today’s MEV searchers and block builders are competing to maximally extract value from users.

Finally, we hope that our project inspires others who are working in this space to build to realize a more intent-centric future for Ethereum.

Inspirations:

  • https://blog.essential.builders/introducing-essential/
  • https://www.paradigm.xyz/2023/06/intents

How it's Made

Solvify was made using the open-source LangChain framework, which gives LLMs like ChatGPT the ability to successfully construct and execute transactions of varying complexity using AI agents. We currently support ChatGPT 3.5 but we hope to enable an end-user to use any LLM they wish (ideally open-source ones).

  • ChatGPT 3.5 and LangChain Action Agents as the core of our solver to parse natural language intents, convert them into actionable insights, and eventually creation and execution of transaction objects.
  • Custom Python tools that the LangChain Action Agents use to construct and execute transactions on behalf of the user.
  • Privy for generating wallets on-demand with social login methods for users who do not have a wallet.
  • WalletConnect’s Web3Modal V3 for users who have a wallet already they wish to connect.
  • Axelar for multi-chain transactions, specifically between Arbitrum and Ethereum.
  • 1inch’s Fusion API to power gas-optimized swaps.
  • UNLIMIT’s on-ramp SDK to enable users to purchase ETH or BTC in-app.
  • Flashbot’s Protect RPC endpoint to transact on Ethereum while mitigating against the negative externalities of MEV front and back running (and 90% rebate on MEV rewards if the transaction gets back run via mev-share).
  • Ethereum Name Service (ENS) for human-readable address resolution.
background image mobile

Join the mailing list

Get the latest news and updates