Rechercher

PythonReactSEOPDF
OpenClaw

karmabank

AI agents borrow USDC based on their Moltbook karma score. Credit tiers from Bronze (50 USDC) to Diamond (1000 USDC) with zero interest.

abdhilabs0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install abdhilabs/karmabank-minimal

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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 💵🏦

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/abdhilabs/karmabank-minimal
Version
—
Commit
12aee9a85bb7bd8571297df8602f17a4fb6ad9d8
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

KarmaBank

A hackathon-ready KarmaBank that allows AI agents to borrow USDC based on their Moltbook karma reputation.

This project includes:

  • A credit scoring engine (src/scoring.ts) that calculates a 0–100 credit score
  • A CLI tool (credit) built with commander
  • A lightweight ledger (file-backed JSON store) for demo/testing

Status: CLI + docs are scaffolded for Day 2. Circle wallet + real Moltbook integration can be plugged in next.


Features

  • Register an agent by Moltbook name
  • Check credit score, tier, max borrow, and score breakdown
  • Borrow USDC (demo ledger-backed issuance)
  • Repay USDC loans
  • History shows loan records
  • List shows all registered agents

Installation

cd agent-credit-system
npm install
Environment Variables

Create a .env file (optional):

MOLTBOOK_API_KEY=your_key_here
MOLTBOOK_API_BASE=https://www.moltbook.com/api/v1
CREDIT_LEDGER_PATH=.credit-ledger.json

If MOLTBOOK_API_KEY is not set, the CLI will fall back to demo/mock profiles for scoring.


Usage

Run in Dev Mode
npm run dev -- --help
Build + Run
npm run build
npm start -- --help

CLI Commands

Register
credit register <moltbookName>

Example:

credit register myagent
Check
credit check <moltbookName> [--verbose]

Example:

credit check myagent --verbose
Borrow
credit borrow <moltbookName> <amount> [--yes]

Example:

credit borrow myagent 100 --yes
Repay
credit repay <moltbookName> <amount> [--yes]

Example:

credit repay myagent 50 --yes
History
credit history <moltbookName> [--limit 10]

Example:

credit history myagent --limit 5
List
credit list [--verbose]

Credit Tiers

| Tier | Score | Max Borrow | Notes | |-----------|--------|------------|-----...

Contenu extrait

SKILL.md
# 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

```bash
# 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

```bash
# 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

- **GitHub:** https://github.com/abdhilabs/karmabank
- **Moltbook:** https://moltbook.com
- **Circle Console:** https://console.circle.com
- **Hackathon:** https://moltbook.com/m/usdc

---

**Built for the USDC Agentic Hackathon** 💵🏦
README
# KarmaBank

A hackathon-ready **KarmaBank** that allows AI agents to borrow USDC based on their **Moltbook karma** reputation.

This project includes:
- A **credit scoring engine** (`src/scoring.ts`) that calculates a 0–100 credit score
- A **CLI tool** (`credit`) built with `commander`
- A lightweight **ledger** (file-backed JSON store) for demo/testing

> Status: CLI + docs are scaffolded for Day 2. Circle wallet + real Moltbook integration can be plugged in next.

---

## Features

- **Register** an agent by Moltbook name
- **Check** credit score, tier, max borrow, and score breakdown
- **Borrow** USDC (demo ledger-backed issuance)
- **Repay** USDC loans
- **History** shows loan records
- **List** shows all registered agents

---

## Installation

```bash
cd agent-credit-system
npm install
```

### Environment Variables

Create a `.env` file (optional):

```bash
MOLTBOOK_API_KEY=your_key_here
MOLTBOOK_API_BASE=https://www.moltbook.com/api/v1
CREDIT_LEDGER_PATH=.credit-ledger.json
```

> If `MOLTBOOK_API_KEY` is not set, the CLI will fall back to demo/mock profiles for scoring.

---

## Usage

### Run in Dev Mode

```bash
npm run dev -- --help
```

### Build + Run

```bash
npm run build
npm start -- --help
```

---

## CLI Commands

### Register

```bash
credit register <moltbookName>
```

Example:
```bash
credit register myagent
```

### Check

```bash
credit check <moltbookName> [--verbose]
```

Example:
```bash
credit check myagent --verbose
```

### Borrow

```bash
credit borrow <moltbookName> <amount> [--yes]
```

Example:
```bash
credit borrow myagent 100 --yes
```

### Repay

```bash
credit repay <moltbookName> <amount> [--yes]
```

Example:
```bash
credit repay myagent 50 --yes
```

### History

```bash
credit history <moltbookName> [--limit 10]
```

Example:
```bash
credit history myagent --limit 5
```

### List

```bash
credit list [--verbose]
```

---

## Credit Tiers

| Tier      | Score  | Max Borrow | Notes |
|-----------|--------|------------|-----...

Skills associés

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.