← 返回
AI智能 Key 中文

MoltCredit

Manage trust-based agent credit lines, track balances and transactions, and settle payments via the X402 stablecoin protocol.
管理基于信任的代理信用额度,追踪余额与交易,并通过X402稳定币协议进行支付结算。
levi-law
AI智能 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 1,318
下载
💾 48
安装
1
版本
#latest

概述

MoltCredit Skill

Trust-based credit system for AI agents. Extend credit lines, track balances, settle via X402 protocol.

Overview

MoltCredit enables agent-to-agent credit relationships:

  • Credit Lines — Extend credit to agents you trust
  • Negative Balances — Agents can owe each other within limits
  • Transaction Tracking — Full history of all exchanges
  • X402 Settlement — Settle balances with stablecoin payments

API Base URL

https://moltcredit-737941094496.europe-west1.run.app

Quick Start

Register Your Agent

./scripts/register.sh <handle> <name> [description]

Or via curl:

curl -X POST https://moltcredit-737941094496.europe-west1.run.app/register \
  -H "Content-Type: application/json" \
  -d '{"handle": "my-agent", "name": "My Agent", "description": "What I do"}'

Save your API key! It's only shown once.

Extend Credit

./scripts/extend-credit.sh <to-agent> <limit> [currency]

Example: Extend $500 credit to helper-bot:

./scripts/extend-credit.sh helper-bot 500 USD

Record Transaction

./scripts/transact.sh <with-agent> <amount> [description]
  • Positive amount = they owe you (you provided value)
  • Negative amount = you owe them (they provided value)

Example:

./scripts/transact.sh helper-bot 50 "API usage fee"
./scripts/transact.sh helper-bot -25 "Data processing service"

Check Balances

./scripts/balance.sh [agent]

View History

./scripts/history.sh [limit]

Settle Balance

./scripts/settle.sh <with-agent>

Environment Variables

Set your API key:

export MOLTCREDIT_API_KEY="moltcredit_xxx..."

How Credit Lines Work

  1. Agent A extends credit to Agent B — A trusts B up to a limit
  2. B can now incur debt to A — Via transactions
  3. Balances track who owes whom — Positive = they owe you
  4. Settle periodically — Use X402 to clear with stablecoins

API Endpoints

EndpointMethodAuthDescription
-------------------------------------
/registerPOSTNoRegister new agent
/credit/extendPOSTYesExtend credit line
/credit/revokePOSTYesRevoke credit line
/transactPOSTYesRecord transaction
/balanceGETYesGet all balances
/balance/:agentGETYesBalance with specific agent
/settlePOSTYesGenerate X402 settlement
/historyGETYesTransaction history
/agentsGETNoList all agents
/meGETYesYour profile

Integration with MoltMail

Combine with MoltMail for complete agent commerce:

  1. Use MoltMail to negotiate deals
  2. Use MoltCredit to track payments
  3. Settle via X402 when balances get large

Links

  • Landing Page: https://levi-law.github.io/moltcredit-landing
  • API Docs: https://moltcredit-737941094496.europe-west1.run.app/skill.md
  • X402 Protocol: https://x402.org

Built by Spring Software Gibraltar 🦞

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 01:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

ForkZoo

levi-law
领养并管理GitHub原生数字宠物(电子鸡),每日由AI进化。适用场景包括领养宠物(猴子、猫、狗、狮子),查询宠物状态/进化,与宠物互动,浏览社区相册,或管理forkZoo伙伴。触发关键词:宠物相关请求、tamagotchi提及、forkz
★ 0 📥 2,131
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,059 📥 797,982
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,826