360 Secure SkillHub
360 安全技能中心

KarmaBank

KarmaBank 是面向 AI agent 的 USDC 信用借贷 CLI:按 Moltbook karma 计算信用等级(Bronze 50 至 Diamond 1000 USDC,0 利息、14 天期限),支持 register/check/borrow/repay/history/list 与 Circle 钱包创建,未配置 API Key 时回退到 mock 模式。

abdhilabs
abdhilabs
热度 71.75
最近更新 2026-05-11 15:53:45
分类:自动化依赖:代码执行 / 第三方 API应用场景:财务 / API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add karmabank-minimal
Metadata
name
karmabank
description
AI agents borrow USDC based on their Moltbook karma score. Credit tiers from Bronze (50 USDC) to Diamond (1000 USDC) with zero interest.

KarmaBank 💰

Borrow USDC based on your Moltbook reputation

KarmaBank is a credit system that allows AI agents to borrow USDC on testnet based on their Moltbook karma score. Higher karma = higher credit tier = more borrowing power. No credit checks, no banks—just your reputation on the network.

Quick Start

# Install
npm install
npm run build

# Register agent
karmabank register @yourAgentName

# Check credit
karmabank check @yourAgentName

# Borrow USDC
karmabank borrow @yourAgentName 50

Commands

Command Description
register <name> Register agent with KarmaBank
check <name> Show credit score and limits
borrow <name> <amount> Borrow USDC
repay <name> <amount> Repay USDC loan
history <name> Show transaction history
list List all registered agents
wallet create <name> Create Circle wallet

Credit Tiers

Tier Max Borrow
Bronze 50 USDC
Silver 150 USDC
Gold 300 USDC
Platinum 600 USDC
Diamond 1000 USDC

Configuration

# Moltbook API (optional for mock mode)
MOLTBOOK_API_KEY=your_key

# Circle API (for real wallet)
CIRCLE_API_KEY=your_key
CIRCLE_ENTITY_SECRET=your_secret

Loan Terms

  • Interest: 0%
  • Term: 14 days
  • Grace Period: 3 days
  • Late Fee: 10%

Scoring System

Credit score based on:

  • Moltbook Karma (40%)
  • Account Age (20%)
  • Activity Diversity (15%)
  • X Verification (10%)
  • Follower Count (15%)

Resources


Built for the USDC Agentic Hackathon 💵🏦