← 返回
效率工具 中文

Go4Me

Send XCH to Twitter users via Go4Me address lookup. Use when sending Chia (XCH) to someone by their Twitter handle, looking up a Twitter user's XCH address, or tipping someone on Go4Me. Triggers on "send XCH to @user", "tip @user", "lookup @user on go4me", "what's @user's XCH address".
通过Go4Me地址查询向Twitter用户发送XCH。用于通过Twitter用户名发送Chia (XCH)、查询Twitter用户的XCH地址或在Go4Me上给某人打赏。触发词:"send XCH to @user"、"tip @user"、"lookup @user on go4me"、"what's @user's XCH address"。
koba42corp
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 1,868
下载
💾 26
安装
1
版本
#latest

概述

Go4Me Skill

Send XCH to Twitter users by resolving their Go4Me addresses.

Dependencies

  • sage-wallet — Required for XCH transactions

Commands

CommandDescription
----------------------
/go4me lookup Get user's XCH address and profile
/go4me send Send XCH to user (amount in XCH or mojos)
/go4me tip Send 1 mojo tip

Natural Language

  • "Send 1 XCH to @hoffmang"
  • "Tip @sage_wallet"
  • "What's @bramcohen's XCH address?"
  • "Look up DracattusDev on Go4Me"

Lookup Script

source scripts/go4me-lookup.sh
go4me_lookup "DracattusDev"  # Returns JSON or exits 1

Workflow

Lookup

  1. Strip @ from username if present
  2. Run go4me_lookup ""
  3. Parse JSON response for xchAddress, fullName, username
  4. If exit code 1: user not found on Go4Me

Send

  1. Lookup user (as above)
  2. If not found, report error
  3. Display confirmation:

```

Send to @ ()?

Address:

[Yes] [No]

```

  1. On confirm, call sage-wallet send_xch:

```bash

curl -s --cert $CERT --key $KEY -X POST https://127.0.0.1:9257/send_xch \

-H "Content-Type: application/json" \

-d '{"address":"","amount":"","fee":"0","memos":[],"auto_submit":true}'

```

  1. Report transaction result

Tip

Same as send with amount = 1 mojo.

Amount Conversion

InputMojos
--------------
1 (no unit)1 mojo
1 mojo1
0.001 XCH1000000000
1 XCH1000000000000

Parse amount: if contains "XCH", multiply by 10^12. Default unit is mojos for small numbers, XCH for decimals.

Error Handling

ConditionResponse
---------------------
User not on Go4Me"User @{username} not found on Go4Me"
Invalid address"Invalid XCH address returned from Go4Me"
Insufficient balance"Insufficient balance for this transaction"
Network error"Failed to connect to Go4Me"

Data Available

FieldExample
----------------
usernameDracattusDev
fullName🌱Drac 🍊
xchAddressxch1rvgc3naytvzhv4lxhzphrdr2fzj2ka340tdj8fflt4872t2wqveq9lwz7t
descriptionBio text
avatarUrlProfile image URL
totalBadgeScore220

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 18:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,313
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 439 📥 147,693
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,858