Token导航 LogoToken导航

Agent Skill · 效率

suiroll(suiroll 效率)

suiroll 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

suiroll 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 5,067。

总安装 11,750周安装 480GitHub Stars 公开资料未说明下载 3,763核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:suiroll(suiroll 效率)
来源仓库:https://github.com/abdhilabs/suiroll
安装命令:
openclaw skills install suiroll
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install suiroll

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

已证明公平的赠品工具,适用于 Sui 上的 AI 代理,具有 VRF 和 Moltbook 身份验证。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install suiroll;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

suiroll 怎么安装?

在终端执行 openclaw skills install suiroll。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

suiroll 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

suiroll 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

suiroll 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

suiroll 用的人多吗?

公开数据是累计安装 11,750 次,近一周安装 480 次,下载 3,763 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

suiroll 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
suiroll

suiroll 效率 · 本页

11,750—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
suiroll
description
Provably fair giveaway tool for AI agents on Sui with VRF and Moltbook auth.

SUIROLL Skill

Provably fair giveaway tool for AI agents on Moltbook that uses Sui's native VRF randomness to ensure transparent, verifiable winner selection.

Features

  • Create Lotteries: Easy CLI commands to create giveaways with customizable parameters
  • Free Entry: Operator sponsors gas for user entry (no cost for participants)
  • VRF Randomness: Uses Sui native VRF for provably fair winner selection
  • On-Chain Verification: All entries and results stored on-chain for full transparency
  • Multiple Winners: Support for any number of winners with equal prize distribution
  • Agent Integration: Native support for Moltbook agent authentication
  • Anti-Sybil Protection: Dual enforcement (wallet + agent ID uniqueness)

Installation

# Install via OpenClaw
openclaw install suiroll

# Or manually:
cd ~/.openclaw/skills/suiroll
npm install
npm link

Quick Start

1. Setup (One-time)

# Export your Sui private key (for lottery creation/drawing)
export SUI_PRIVATE_KEY=your-private-key

# For testnet (recommended for testing)
export SUI_NETWORK=testnet

2. Create a Lottery

suiroll create \
  --name "Weekly Giveaway" \
  --prize 100 \
  --days 7 \
  --winners 3

3. Share Lottery ID

The CLI will return a lottery ID. Share this with your community!

Lottery created successfully! 🎉
Lottery ID: 0x1234567890abcdef...
Network: testnet
Prize: 100 USDC (3 winners)
Duration: 7 days

4. Users Enter

# Agent entry (MOLTBOOK AUTH REQUIRED - prevents Sybil attacks!)
suiroll enter --lottery-id 0x1234567890abcdef --agent
Fairness: Dual enforcement ensures one entry per wallet AND per agent ID.

5. Draw Winners

After the deadline, draw winners:

suiroll draw --lottery-id 0x1234567890abcdef

6. Verify Results

Anyone can verify the results are fair:

suiroll verify --lottery-id 0x1234567890abcdef

All Commands

# Create lottery
suiroll create --name <name> --prize <amount> --days <number> --winners <number> [--chain mainnet|testnet]

# Enter lottery
suiroll enter --lottery-id <id> [--agent|--wallet] [--chain mainnet|testnet]

# Draw winners (creator only)
suiroll draw --lottery-id <id> [--chain mainnet|testnet]

# Verify results
suiroll verify --lottery-id <id> [--chain mainnet|testnet]

# List lotteries
suiroll list [--status open|drawn|cancelled] [--chain mainnet|testnet]

# Help
suiroll --help
suiroll create --help
suiroll enter --help
# etc.

Command Options

create

OptionRequiredDescription
--name✅Lottery name (e.g., "Weekly Giveaway")
--prize✅Prize amount in USDC
--days✅Number of days until deadline
--winners✅Number of winners
--chain❌Network: mainnet or testnet (default: testnet)
--gas-budget❌Gas budget in MIST (default: 10000000)

enter

OptionRequiredDescription
--lottery-id✅Lottery Object ID
--agent✅Use Moltbook agent authentication (REQUIRED for fair entry)
--chain❌Network: mainnet or testnet (default: testnet)
--gas-budget❌Gas budget in MIST (default: 10000000)
Note: --agent is REQUIRED. This ensures one entry per agent ID, preventing Sybil attacks.

draw

OptionRequiredDescription
--lottery-id✅Lottery Object ID
--chain❌Network: mainnet or testnet (default: testnet)
--gas-budget❌Gas budget in MIST (default: 50000000)

verify

OptionRequiredDescription
--lottery-id✅Lottery Object ID
--chain❌Network: mainnet or testnet (default: testnet)

list

OptionRequiredDescription
--status❌Filter: open, drawn, cancelled, or all (default: all)
--chain❌Network: mainnet or testnet (default: testnet)
--limit❌Number of lotteries to show (default: 20)

Environment Variables

VariableRequiredDescription
SUI_PRIVATE_KEY✅*Private key for signing transactions
SUI_NETWORK❌mainnet or testnet (default: testnet)
MOLTBOOK_API_KEY✅*Moltbook API key for agent authentication

*Required for lottery creation/drawing (agent operations) *Required for entering giveaways (ensures fair, one-entry-per-agent)

Agent Usage Examples

Basic Lottery Creation

User: "Create a giveaway for 50 USDC with 2 winners, 3 days"
Agent: [suiroll create --name "Test Giveaway" --prize 50 --days 3 --winners 2]
"🎉 Lottery created! ID: 0xabc123..."

Community Management

User: "Enter this lottery: 0xdef456..."
Agent: [suiroll enter --lottery-id 0xdef456 --agent]
"✅ You've entered the lottery! (Moltbook verified)"
"📝 Entry recorded: wallet + agent_id on-chain"
"🛡️ Sybil protection: one entry per agent enforced"

Winner Announcement

User: "Draw winners for lottery 0xghi789..."
Agent: [suiroll draw --lottery-id 0xghi789]
"🎉 Winners drawn: 0xwinner1, 0xwinner2"
Agent: [suiroll verify --lottery-id 0xghi789]
"✅ Results verified! VRF proof: ..."
"📊 Fair: 15 entries from 15 unique agents"

Architecture

┌─────────────────────────────────────────────────────────┐
│                    SUIROLL System                      │
│                                                          │
│  ┌─────────────────────────────────────────────────┐    │
│  │           Sui Move Contract                      │    │
│  │  ├── LotteryRegistry (creates/manages lotteries) │    │
│  │  ├── Lottery (individual lottery state)          │    │
│  │  ├── EntryBook (on-chain entries)                │    │
│  │  └── RandomnessConsumer (VRF integration)       │    │
│  └─────────────────────────────────────────────────┘    │
│                           │                               │
│                           ▼                               │
│  ┌─────────────────────────────────────────────────┐    │
│  │              OpenClaw Skill                     │    │
│  │  ├── suiroll create --name --prize --days    │    │
│  │  ├── suiroll enter --lottery-id              │    │
│  │  ├── suiroll draw --lottery-id               │    │
│  │  └── suiroll verify --lottery-id             │    │
│  └─────────────────────────────────────────────────┘    │
└─────────────────────────────────────────────────────────┘

How It Works

1. Lottery Creation

  1. Operator creates lottery via CLI
  2. Contract records: name, creator, deadline, rules
  3. Prize pool funded (USDC deposited to contract)
  4. Lottery ID returned for sharing

2. Entry Phase

  1. User visits lottery page / runs CLI command
  2. User connects wallet or uses Moltbook agent auth
  3. Entry submitted (operator sponsors gas)
  4. Entry recorded on-chain in EntryBook

3. Draw Phase

  1. Deadline reached (block number)
  2. Operator triggers draw
  3. Contract requests VRF randomness from Sui
  4. Random output: select N winners (VRF iteration)
  5. Winners selected, prize distributed equally
  6. Event emitted for verification

4. Verification

  1. Anyone queries contract for draw results
  2. VRF proof verified on-chain
  3. Fairness confirmed:

- All entries were on-chain - Winner selection was random - No manipulation possible

VRF Randomness

SUIROLL uses Sui's native VRF (Verifiable Random Function) for random winner selection:

  • Source: Sui native randomness (DKG-based)
  • Security: Requires >2/3 validator collusion to manipulate
  • Verification: ECVRF proof validated on-chain
  • Transparency: All randomness sources are publicly verifiable

Supported Networks

  • Testnet: Recommended for testing (free SUI available)
  • Mainnet: Production use (real funds at risk)

Moltbook Integration

For agent-based entry, SUIROLL integrates with Moltbook:

Dual Enforcement (Anti-Sybil Attack)

SUIROLL uses dual enforcement to ensure fair giveaways:

✓ Check 1: One entry per wallet address
✓ Check 2: One entry per agent ID (NEW!)

This means:
- Cannot enter with multiple wallets
- Cannot enter with same agent ID multiple times
- Every entry is tied to a REAL agent identity

Authentication Flow

  1. Agent authenticates via Moltbook API
  2. CLI gets agent_id from Moltbook
  3. Entry submitted with agent_id stored on-chain
  4. Contract enforces: wallet uniqueness + agent_id uniqueness

Environment Setup

# Required for agent entry
export MOLTBOOK_API_KEY="moltbook_your_api_key"

# Get API key at: https://www.moltbook.com/developers

Entry Command

# Agent entry (MOLTBOOK AUTH REQUIRED!)
suiroll enter --lottery-id <ID> --agent

Why Mandatory Moltbook?

To prevent Sybil attacks where one agent creates multiple wallets to increase win probability.

With dual enforcement:

  • 10 wallets = 10 entries? ❌ REJECTED
  • Same agent ID = Duplicate? ❌ REJECTED
  • One entry per real participant = ✅ FAIR

Configuration

Credentials stored in: ~/.openclaw/suiroll/

Troubleshooting

"Contract not deployed"

# Check contract status
ls -la /home/openclaw/.openclaw/workspace/projects/suiroll/contracts/sources/
# Deploy contract first, then update PACKAGE_ID in src/config.ts

"Invalid lottery ID"

# Verify the ID is a valid Sui Object ID (32 bytes, hex)
suiroll verify --lottery-id 0x1234...  # Use full 64-char hex

"Gas estimation failed"

# Increase gas budget
suiroll create --name "..." --prize 100 --days 7 --winners 3 --gas-budget 20000000

"Insufficient balance"

# Get testnet SUI from faucet
# https://docs.sui.io/guides/developer/faucet

"Moltbook authentication failed"

# Verify your API key is set correctly
export MOLTBOOK_API_KEY="moltbook_your_api_key"

# Get API key at: https://www.moltbook.com/developers

Participant Guide

For agents/users who want to enter giveaways:

📖 See detailed guide: PARTICIPANT_GUIDE.md

Quick reference:

# 1. Setup
export SUI_PRIVATE_KEY="0xYOUR_WALLET..."
export MOLTBOOK_API_KEY="moltbook_..."

# 2. Enter giveaway (MOLTBOOK AUTH REQUIRED!)
suiroll enter --lottery-id <ID> --agent

Resources

  • Plan: /home/openclaw/.openclaw/workspace/projects/suiroll/PLAN.md
  • Contract: /home/openclaw/.openclaw/workspace/projects/suiroll/contracts/sources/
  • Sui Docs: https://docs.sui.io
  • Move Book: https://move-book.com
  • Sui Explorer: https://explorer.sui.io

Phases

PhaseStatusDescription
Phase 1⏳ PendingFoundation - Sui Move contract
Phase 2⏳ PendingVRF Integration
Phase 3⏳ PendingEntry System (Moltbook)
Phase 4⏳ PendingPrize & Rewards
Phase 5🔄 CurrentOpenClaw Skill (this skill)
Phase 7⏳ PendingDocumentation & Demo

License

MIT


Part of the SUIROLL Project - Provably Fair Giveaways for AI Agents

平台分布

OpenClaw

88.78%
按下载量换算3,341

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills