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
热度 49.20
最近更新 2026-05-11 15:53:45

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add abdhilabs/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 💵🏦