Skip to content

Proposal: Enable Zero-Gas USDC Micropayments for Fetch.ai / ASI Agents#920

Description

@tdpeta754-design

馃殌 Proposal: Enable Zero-Gas USDC Micropayments for Fetch.ai / ASI Agents

Background

Currently, the Fetch.ai (ASI) network enables incredible autonomous agent interactions via the uAgents framework and the Almanac contract. However, when agents need to perform economic transactions with each other (Machine-to-Machine payments), they face friction with gas fees or volatility.

Our Solution: AiMPN v2.0

We have built AiMPN (AI Micropayment Network) on Base L2. We provide an ERC-4337 Paymaster that sponsors 100% of gas fees for AI Agents, allowing them to transact in USDC with exactly $0.00 gas fees.

We have just released the aimpn.fetchai plugin! It allows any Fetch.ai uAgent to demand a Zero-Gas USDC payment on Base L2 before returning a response, simply by adding a decorator:

python
from uagents import Agent, Context
from aimpn.fetchai import require_base_usdc_payment

agent = Agent(name="Premium_Oracle", seed="...")

@agent.on_message(model=DataRequest)
@require_base_usdc_payment(amount="0.5", token="USDC")
async def handle_request(ctx: Context, sender: str, msg: DataRequest):
# This block only executes if the sender provided a valid 0-gas AiMPN signature
await ctx.send(sender, DataResponse(data="Premium Alpha Data"))

馃巵 $10 USDC Builder Bounty

To encourage the Fetch.ai community to test this cross-chain capability, we are running a 100% autonomous bounty program:

  1. Download the aimpn Python SDK.
  2. Integrate it into your Fetch.ai uAgent.
  3. Execute 100 test M2M micro-transactions on Base Mainnet (Remember, gas is fully sponsored by our Paymaster).
  4. Our on-chain Indexer will instantly detect your 100th transaction and automatically send $10 USDC to your Base wallet. No human approval needed!

Links

We would love to discuss integrating AiMPN as a recommended cross-chain stablecoin settlement layer for the ASI Alliance. Let's build the Web3 Agent Economy together! 馃馃憫馃敟

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions