Skip to content

r3vl/openclaw-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reva OpenClaw Skill

A comprehensive OpenClaw skill for Reva, enabling passwordless authentication, PayID name claiming, crypto transfers, and wallet management - all through natural language.

Features

  • Passwordless Authentication: Email-based OTP verification (no passwords required)
  • PayID Name Claiming: Register your unique PayID name
  • Send Funds: Transfer crypto to other Reva users via PayID, wallet addresses, or Twitter handles
  • Multi-Chain Support: Send across multiple networks (Ethereum, Base, BNB Chain, Polygon, Optimism)
  • Balance Tracking: Check your wallet balances across all supported networks
  • Account Information: Ask about your PayID name, wallet address, email, referral code, cashback points, connected Twitter, and avatar
  • Deposit Management: Get your wallet address for receiving funds
  • Secure Storage: Access tokens stored in encrypted local storage with automatic management

Installation

Quick Install (Recommended)

Install with a single command:

curl -sSL https://raw.githubusercontent.com/r3vl/openclaw-skill/main/install.sh | bash

This will automatically:

  • Download the latest release
  • Install to ~/.openclaw/skills/reva
  • Make all scripts executable
  • Verify the installation

Manual Installation

Alternatively, you can install manually:

  1. Download the latest release from GitHub releases
  2. Extract to ~/.openclaw/skills/reva/
  3. Make scripts executable:
    chmod +x ~/.openclaw/skills/reva/scripts/*.sh

Usage

Simply talk to your OpenClaw agent naturally. Here are some examples:

Authentication

User: "I want to login to Reva"
Agent: "Please provide your email address"
User: "user@example.com"
Agent: "OTP sent to your email. Please provide the code"
User: "123456"
Agent: "You're now authenticated!"

Claim Your PayID Name

User: "I want to claim a PayID name"
Agent: "What PayID name would you like to claim?"
User: "redd47"
Agent: "PayID name 'redd47' claimed successfully!"

Send Funds

Send to PayIDs, wallet addresses, or Twitter handles:

User: "Send 0.01 USDT on BNB to @alice"
Agent: "Funds sent successfully! Transaction: [link]"
User: "Send some crypto to bob"
Agent: "Got it - to bob. Which network? (ETH, BNB, Base, Polygon, or Optimism)"
User: "Base"
Agent: "To bob on Base - which token? (USDT, USDC, ETH)"
User: "0.5 USDC"
Agent: "Funds sent successfully! Transaction: [link]"

Check Balance

User: "What's my balance?"
Agent: "Your current balance:
- 12 USDT on BNB Smart Chain
- 0.43 BNB on BNB Smart Chain
- 0.43 ETH on Ethereum
- 77 USDC on Ethereum"

Get Account Information

Ask about any of your account details:

User: "What's my PayID name?"
Agent: "Your PayID name is: redd47"
User: "What's my wallet address?"
Agent: "Your wallet address is: 0x1234..."
User: "What's my referral code?"
Agent: "Your referral code is: redd47"
User: "How many cashback points do I have?"
Agent: "You have 150 cashback points"

Deposit Funds

User: "How do I deposit funds?"
Agent: "To deposit funds, send crypto to your wallet address: 0x1234..."

File Structure

reva/
├── .gitignore                    # Git ignore file
├── README.md                     # This file
├── SKILL.md                      # Skill definition for OpenClaw
└── scripts/
    ├── auth-manager.sh           # Authentication state management
    ├── check-auth.sh             # Check authentication status
    ├── claim-payid.sh            # Claim a PayID name
    ├── get-balance.sh            # Get wallet balance
    ├── get-user-info.sh          # Get account information
    ├── send-funds.sh             # Transfer funds to users/addresses
    ├── send-otp.sh               # Send OTP to email
    └── verify-otp.sh             # Verify OTP and store token

Security

  • Access tokens are stored securely with restricted file permissions
  • OTP codes are never stored, only used once for verification
  • All communications use HTTPS encryption
  • Automatic session management and token cleanup

What the Skill Handles

Reva automatically manages:

  • Authentication: Prompts you to login again when your session expires
  • PayID Name Availability: Suggests alternatives if your desired PayID name is taken
  • Input Validation: Ensures email and OTP codes are in the correct format
  • Network Issues: Provides helpful guidance if connections fail
  • Multi-Step Transactions: Remembers context when sending funds across multiple messages

Troubleshooting

"Not authenticated"

Simply ask the agent to login - it will walk you through the email verification process.

Scripts not executing

After installation, make sure the scripts are executable:

chmod +x skills/payid/scripts/*.sh

Session expired

If you see an authentication error, just ask the agent to login again. Your session will be refreshed automatically.

About

This skill integrates with Reva - the easiest way to send crypto via text.

License

MIT

Support

For issues or questions, visit revapay.ai or refer to the OpenClaw Skills documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages