Skip to content
Back to skills

Omp Memory

ASecurity

OpenClaw Memory Protocol (OMP) — store and retrieve encrypted files on BSC blockchain with PoW mining rewards. Use when user wants to store files on-chain, retrieve stored files, check MMP token balance, manage storage rent, or interact with the OMP protocol on BSC mainnet.

  • 33 stars
  • 0 votes
  • 0 copies
  • 12 views
  • Added September 5, 2026
blockchainbashnode

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill omp-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omp Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omp Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-omp-memory/badge)](https://www.skillsdirectory.com/skills/dvcrn-omp-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omp-memory
description: "OpenClaw Memory Protocol (OMP) — store and retrieve encrypted files on BSC blockchain with PoW mining rewards. Use when user wants to store files on-chain, retrieve stored files, check MMP token balance, manage storage rent, or interact with the OMP protocol on BSC mainnet."
---

# OMP Memory Protocol

On-chain encrypted file storage on BSC. Files are split into 256KB chunks, Merkle-hashed, and stored with rent-based expiry. Miners earn MMP tokens for hosting data.

## Setup (first time)

```bash
# 1. Install dependencies
cd ~/.omp-client && npm install

# 2. Create encrypted wallet
node bin/cli.js init
# → saves wallet to ~/.omp/wallet.json

# 3. Check MMP balance / get top-up info
node bin/cli.js topup
```

## Key Commands

### Store a file
```bash
node bin/cli.js save <file> [--rent <blocks>]
# --rent default: 201600 (~7 days). 0 = free tier (≤10KB, permanent)
# Returns: merkleRoot (save this — needed to retrieve the file)
```

### Retrieve a file
```bash
node bin/cli.js load <merkleRoot> <outFile>
```

### Check status
```bash
node bin/cli.js status              # network overview
node bin/cli.js status <merkleRoot> # specific tree info
```

### Grant/revoke access
```bash
node bin/cli.js grant <merkleRoot> <address>
node bin/cli.js revoke <merkleRoot> <address>
```

### Renew rent
```bash
node bin/cli.js renew <merkleRoot> [--blocks <n>]
```

## Contract Addresses (BSC Mainnet)

| Contract | Address |
|----------|---------|
| MemoryProtocol Proxy | `0x3BD7945d18FE6B68D273109902616BF17eb40F44` |
| MMPToken | `0x30b8Bf35679E024331C813Be4bDfDB784E8E9a1E` |

## Environment Variables (.env)

```
PROTOCOL_ADDRESS=0x3BD7945d18FE6B68D273109902616BF17eb40F44
MMP_TOKEN_ADDRESS=[REDACTED]
BSC_RPC=https://bsc-dataseed.binance.org/
WALLET_PASSWORD=<your-password>
```

## Install Script

Run `scripts/install.sh` to auto-install the CLI from the OMP repo.

## Notes

- Free tier: ≤10KB per address, one permanent slot (no MMP needed)
- Paid tier: costs MMP tokens based on size × rent duration
- EPOCH_BLOCKS = 1000 (~50 min): miners have a 50-minute window per mining epoch
- `renounceUpgradeability()` — owner (`0x571d447f4f24688eC35Ccf07f1D6993655F6aF15`) can call once to permanently lock the contract

Files in this skill

  • SKILL.md2.3 KB
  • scripts/install.sh1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.