Quickstart Guide
git clone https://github.com/elizaos/eliza.git Prerequisites 📋
Before getting started with PePay, ensure you have:
Node.js 23+ 🟢 Download Node.js
pnpm 9+ 📦 Install pnpm
Git for version control 🔄 Get Git
A code editor (VS Code or VSCodium recommended) 🖥️ Download VS Code
CUDA Toolkit (optional, for GPU acceleration) ⚡ Install CUDA Toolkit
Installation 🔧
Clone and Install 🖇️
Clone the Repository:
bashCopyEditgit clone https://github.com/pepay/pepay.gitEnter the Directory:
bashCopyEditcd pepaySwitch to Latest Tagged Release:
bashCopyEditgit checkout $(git describe --tags --abbrev=0)Install Dependencies (for the initial run):
bashCopyEditpnpm install --no-frozen-lockfileLearn more about pnpm installation
PEPAY is a decentralized AI payment gateway system designed to streamline transactions and interactions between blockchain ecosystems, AI agents, and end-user applications such as trading bots, retail purchases, DeSci, and gaming. It serves as a critical intermediary that leverages blockchain networks, AI libraries, and customer/inventory data to facilitate secure, efficient, and intelligent payment operations Key Components
1. Input Sources📥
PePay integrates multiple blockchain ecosystems and AI libraries to gather transactional data and enable seamless payment functionality.
Blockchain Networks 🌐
Solana
Polygon
Binance Smart Chain (BSC)
Avalanche
Arbitrum
AI Agent Frameworks 🤖
Ai16z
ZeroBro
ARC
Virtuals
ElizaOS
LLM Frameworks 🧠
DeepSeek
Anthropic
Grok
ChatGPT
Gemini
2. Core Pepay Engine⚙️
The PePay engine is the heart of the architecture, comprising the following modules:
AI Agent Libraries: Provide tools and frameworks for AI agents to process payment instructions and make intelligent decisions. 🧩
Non-Custodial Wallets: Enable secure, decentralized storage and transfer of digital assets without intermediaries. 🔒
Customer Data: A repository for user and client metadata to enhance personalization and transaction accuracy. 🗂️
Inventory Data: Manages asset stock levels, ensuring reliable availability for AI-driven operations. 📦
2. Core PEPAY Engine
3. AI Agents
AI Agents are the primary beneficiaries of PePay, utilizing the payment gateway’s tools to enable functionality in various domains:
Use Cases 💡
Trading Bots: Execute automated trading strategies with real-time access to blockchain transactions and analytics. 📈
Retail Purchases: Facilitate e-commerce and point-of-sale transactions. 🛍️
DeSci (Decentralized Science): Drive decentralized funding, collaboration, and payments for scientific research projects. 🔬
Gaming: Support in-game economies, micropayments, and cross-platform transactions. 🎮
Interactions & Overview🔄
Process Overview 🌀
Scalability and Extensibility 🚀
API Documentation 🔐
Getting Started with PepePay 🚀💰🌟
Prerequisites 🛠️✅📋
Before diving into PepePay, ensure you have the following ready:
Node.js 16+: Download Node.js. 🖥️✨
A PepePay Account: Sign up for PepePay. 🖊️🔑
Git for Version Control: Install Git. 📂🔄
Code Editor: Download VS Code. 🖌️📘
Installation 🖥️📦✨
Follow these steps to set up PepePay on your local environment:
Clone the Repository 🛠️:
Enter the Directory 📂:
Install Dependencies 📥:
Build the Project 🏗️:
Configure Environment Variables 🔧: Copy the example
.envfile and customize it for your setup:Edit
.envto include your keys:
Choose Your Payment Model 🔄💵💡
PepePay supports various payment models to suit your business needs:
Hosted Payment Links 🌐: Perfect for quick payment setups.
Embeddable Iframes 🖼️: Seamlessly integrate with your website.
API Integration 🔑: Build custom payment flows with full flexibility.
Refer to the PepePay API Documentation for detailed setup instructions. 📚✨
Local Testing & Inference 🧪⚙️🔍
Set up a local testing environment to simulate payments:
Start the Local Server 🖥️:
Access the Dashboard 📊: Open http://localhost:3000 in your browser. 🌐✨
Simulate Payments 💳: Use the dashboard to create invoices and test payment flows. 🔄💡
Create Your First Invoice 🧾📥🎉
Log In to Your Account 🔐: Visit PepePay Login and enter your credentials. 🔑✨
Navigate to Invoices 📂: Go to the "Invoices" section in the dashboard. 📊📘
Fill in Details 📝:
Enter the amount in USD.
Select accepted cryptocurrencies.
Add optional metadata (e.g., order ID). 💵🧾
Generate Invoice 🔄: Click "Create" to generate the payment link or iframe. 🌐✨
Platform Integration 🌍🔗📜
PePay offers integrations with popular platforms:
Discord Bot Setup 🤖💬✨
Create a Bot:
Visit the Discord Developer Portal. 🔗
Create a new application and generate a bot token. 🔑
Configure PepePay:
Add your bot token to
.env:
Run the Bot:
Add to Server: Use the OAuth2 URL to invite the bot to your Discord server. 💬✨
Basic Usage Examples 🛠️📚🎯
Chat with PePay 💬💡
Start the chat interface to interact with PePay:
Create Multiple Invoices 📊📂
Use the dashboard or API to create and manage multiple invoices at once. 🚀🎉
Common Issues & Solutions 🔧❓✅
Node.js Version Error:
Ensure Node.js 16+ is installed. Use:
Missing Dependencies:
Run:
Environment Variable Issues:
Verify
.envis correctly configured. 🌟🔍
Next Steps 🌟🚀📈
Now that you’re set up, explore:
Advanced Features: Dive deeper into PePay’s capabilities. 📘✨
Join the Community: Connect with other users and developers. 💬🌟
API Documentation: Build custom integrations with our detailed API docs. 📚🔗
Last updated