Kapra Chain Documentation
Welcome to Kapra Chain, a next-generation blockchain platform with AI integration, decentralized validation, and Web4 capabilities.
🎯 What is Kapra Chain?
Kapra Chain is a decentralized blockchain that combines AI-powered validation with mobile-first design. Anyone can become a validator using just their phone, earning KAP for helping secure the network.
Quick Start
2. Auto-Registration
Your device automatically becomes a validator when you install the app. No complex setup required!
3. Start Earning
Begin earning KAP immediately by validating transactions on the network.
Installation
Mobile (Recommended)
Download Glow AI from the App Store or Google Play.
Browser Extension
Install the Kapra Web4 extension from the Chrome Web Store.
Command Line
curl -sSL https://kaprachain.com/install.sh | bashRPC API
Kapra Chain provides a JSON-RPC API for interacting with the blockchain.
Endpoints
http://91.98.29.122:8545/rpcws://91.98.29.122:8545/wsCommon Methods
kapra_getBlockNumberGet current block heightkapra_getBalanceGet account balancekapra_getValidatorStatusGet validator infokapra_registerValidatorRegister as validatorkapra_referral_getCodeGet referral codekapra_referral_getStatsGet referral statisticsReferral System
Earn KAP by inviting friends to join Kapra Chain.
How It Works
- Get your unique referral code from the app
- Share your referral link:
https://kaprachain.com/ref/YOUR_CODE - When friends sign up using your link, both of you earn 0.5 KAP
- No limit on referrals - keep earning!
Integration
To integrate referrals programmatically:
// Get referral code
const response = await fetch(RPC_URL, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
method: 'kapra_referral_getCode',
params: [validatorId],
id: 1
})
});
const { result } = await response.json();
const referralLink = `https://kaprachain.com/ref/${result}`;