Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

cashu-emoji

bởi robwoodgate

Coding Agents & IDEs
415Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Encode and decode Cashu tokens that are hidden inside emojis using Unicode variation selectors.

Mô tả

Kỹ năng này làm gì

Encodes and decodes Cashu tokens hidden inside emojis using Unicode variation selectors. Chat apps display only the emoji but preserve the invisible selector characters, enabling covert token transfer. Decoded text starting with 'cashu' is a bearer token; anything else is a plain hidden message.

Decoding the full message text rather than isolating the emoji first handles mixed messages correctly and avoids missing the variation-selector payload.

Khi nào nên dùng

  • Decode a Cashu token received as an emoji in a chat message
  • Encode a Cashu token into an emoji before sending via messenger
  • Hide a plain text note inside an emoji for covert delivery
  • Verify token mint, unit, and amount before redeeming
  • Extract hidden payloads from emoji in an automated agent pipeline

Quy trình ví dụ

ĐẦU VÀO

User asks: decode this chat message and tell me how many sats it contains: '🥜 hey check this out'

AGENT
  1. 1

    Run: node ./bin/cashu-emoji.js decode "<message>" --metadata --json

  2. 2

    Parse the JSON response and check the isCashu field

  3. 3

    Read metadata.mint, metadata.unit, and metadata.amount from the response

  4. 4

    Report the token value and mint URL to the user

ĐẦU RA

Token is 21 sats on mint https://mint.example (unspent status unverified)

Cài đặt

clawhub install robwoodgate/cashu-emoji

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết