BaseCred — Onchain Reputation Queries
Prerequisites
- 1. Package installed in workspace: INLINECODE0
- API keys in workspace
.env:
TALENT_PROTOCOL_API_KEY=<key>
NEYNAR_API_KEY=<key> # optional — enables Farcaster scoring
Ethos Network requires no key.
Quick workflow
- 1. Run the query script from the workspace:
node /path/to/skills/basecred/scripts/query.mjs <0x-address>
The script auto-locates
node_modules/basecred-sdk and
.env by walking up from cwd. Run it with cwd set to the workspace.
- 2. Parse the JSON output and present results to the user. Use the level tables in
references/output-schema.md to translate raw scores into human-readable levels.
Presenting results
Summarize the three facets clearly:
- - Ethos — score + credibility level + review sentiment + vouches. Flag
hasNegativeReviews if true. - Talent Protocol — builder score/level + creator score/level. Note verified status.
- Farcaster — quality score (0–1) and whether it passes threshold.
- Recency —
recent / stale / dormant. Mention if stale or dormant as a caveat.
Highlight actionable signals: e.g. zero vouches on Ethos is an easy win, or a dormant Talent score that needs activity.
Reference
- - Output schema + all level tables:
references/output-schema.md — read when you need to map scores → levels or explain the shape of a response.
BaseCred — 链上声誉查询
前置条件
- 1. 已安装包 在工作区中:npm i basecred-sdk
- API密钥 在工作区 .env 文件中:
TALENTPROTOCOLAPI_KEY=<密钥>
NEYNARAPIKEY=<密钥> # 可选 — 启用Farcaster评分
Ethos网络无需密钥。
快速工作流程
- 1. 从工作区运行查询脚本:
bash
node /path/to/skills/basecred/scripts/query.mjs <0x-地址>
脚本会自动从当前工作目录向上查找 node_modules/basecred-sdk 和 .env 文件。请将当前工作目录设置为工作区后运行。
- 2. 解析JSON输出并向用户展示结果。使用 references/output-schema.md 中的等级表将原始分数转换为人类可读的等级。
结果展示
清晰总结三个维度:
- - Ethos — 分数 + 可信度等级 + 评价情感 + 担保次数。若 hasNegativeReviews 为真则标记。
- Talent Protocol — 建设者分数/等级 + 创作者分数/等级。注明验证状态。
- Farcaster — 质量分数(0–1)及其是否通过阈值。
- 时效性 — 近期活跃 / 过时 / 休眠。若为过时或休眠状态需作为注意事项提及。
突出可操作信号:例如Ethos上零担保是容易达成的成就,或Talent分数休眠需要重新活跃。
参考
- - 输出模式 + 所有等级表: references/output-schema.md — 当需要将分数映射为等级或解释响应结构时查阅。