跳到正文
TakoAPI
返回技能列表

qrcoin

由 ktaesthetix 提供

Coding Agents & IDEs
752下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Interact with QR Coin auctions on Base.

描述

该技能的功能

QR Coin runs auctions on Base where bidders compete to have their URL encoded in a QR code. Each ~24-hour auction accepts USDC bids; the highest bidder's URL wins and gets encoded. Creating a new bid costs ~11.11 USDC; contributing to an existing bid costs ~1.00 USDC.

Bankr handles ABI encoding, gas estimation, and transaction signing, so users interact with the auction contract without writing raw calldata.

何时使用

  • Bidding a personal site URL into the active QR code auction
  • Checking how much time remains in the current auction
  • Contributing additional USDC to boost an existing URL's bid
  • Verifying current reserve prices before committing funds
  • Monitoring whether you've been outbid and topping up

示例工作流

输入

User asks: bid my URL https://example.com in the current QR Coin auction

智能体
  1. 1

    Query currentTokenId() to get the active auction ID

  2. 2

    Check auctionEndTime() to confirm the auction is still open

  3. 3

    Prompt user to approve USDC spend for the auction contract if not already done

  4. 4

    Call createBid(tokenId, url, name) via Bankr with ~11.11 USDC

  5. 5

    Confirm transaction submission and return the auction token ID

输出

Transaction submitted on Base; URL registered as a bid in the active auction

前置要求

  • USDC balance on Base mainnet (minimum ~11.11 USDC for a new bid or ~1.00 USDC to contribute)
  • Base-compatible wallet with ETH for gas fees

安装

clawhub install ktaesthetix/qrcoin

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接