Developer Docs
Build on RPSLS! Access comprehensive technical documentation, API references, smart contract interfaces, and integration guides for developers.
⚡
Coming Soon
We're building comprehensive developer documentation with API references, smart contract guides, and integration tutorials. Launching hopefully in Q3 2026!
The information below is a work in progress and will be updated as we progress.
Documentation Sections
🔗
API Reference
REST API endpoints
WebSocket connections
Authentication methods
Rate limiting
📜
Smart Contracts
Contract ABIs
Function documentation
Event specifications
Gas optimization
🛠️
SDKs & Libraries
JavaScript SDK
Python library
React components
Unity integration
📚
Tutorials
Getting started guide
Integration examples
Best practices
Troubleshooting
API Preview
Game API Endpoints
GET /api/gamesList active gamesPOST /api/gamesCreate new gameGET /api/games/[id]Get game detailsPOST /api/games/[id]/moveSubmit moveUser API Endpoints
GET /api/users/profileGet user profileGET /api/users/statsGet user statisticsGET /api/users/nftsGet user NFTsGET /api/users/balanceGet token balanceSmart Contract Information
$RPSLS Token Contract
Network:Base
Address:0x5b9C...1ea7
Standard:ERC-20
Total Supply:1B tokens
Game Contract
Network:Base
Address:Coming Soon
Standard:Custom
Features:Game Logic
Development Tools
🧪
Testnet
- • Base Sepolia testnet
- • Free test tokens
- • Full API access
- • Sandbox environment
📊
Analytics
- • Usage metrics
- • Performance monitoring
- • Error tracking
- • Real-time dashboards
🔧
Debugging
- • API testing tools
- • Request logging
- • Error diagnostics
- • Support channels
Integration Examples
JavaScript SDK Example
import { RPSLSClient } from '@rpsls/sdk';
const client = new RPSLSClient({
apiKey: 'your-api-key',
network: 'base'
});
// Create a new game
const game = await client.games.create({
mode: 'versus',
wager: 100
});
// Submit a move
await client.games.submitMove(game.id, 'rock');
// Get game result
const result = await client.games.getResult(game.id);React Component Example
import { RPSLSGame } from '@rpsls/react-components';
function GamePage() {
return (
<RPSLSGame
mode="versus"
onGameEnd={(result) => {
console.log('Game ended:', result);
}}
onError={(error) => {
console.error('Game error:', error);
}}
/>
);
}Developer Resources
Getting Started
Start Building
Join our developer community and start building with RPSLS!