WebChain Documentation

WebChain Documentation

Version 2.1 | Last updated: August 16, 2025

WebChain is a high-performance, decentralized blockchain platform powering the E-TALK IKỌBỌ MARKETPLACE, enabling seamless e-commerce integration for global transactions. Built with WebRTC for direct peer-to-peer (P2P) validator communication and EVM Wallets compatibility, WebChain delivers gas-free, instant transactions at scale, supporting up to 1,000,000 transactions per second (TPS). Its P2P architecture eliminates gas fees, making it ideal for high-volume, cost-efficient applications.

WebChain operates on a Proof-of-Concept+ (PoC+) consensus architecture that combines Proof-of-Stake (PoS) with an advanced Proof-of-Contribution (PoC) model. This design enables zero gas fees via peer-to-peer transaction processing, near-instant transaction finality, a structured 60-minute PoS-based ETK reward cycle, and optimized block execution supporting up to five transactions per block.

Instant Transactions

Near-instant transaction confirmation with zero gas fees, powered by our validator-based consensus mechanism.

Secure & Decentralized

True peer-to-peer architecture with WebRTC connections between nodes, eliminating central points of failure.

MetaMask Integration

Full compatibility with MetaMask and other Ethereum wallets through our JSON-RPC endpoint.

Use Cases

  • Cross-Border Payments: Facilitates fast, secure, and cost-free international transactions, enabling merchants and customers to transact globally without intermediaries.
  • E-Talk BNPL (Buy Now, Pay Later): Powers flexible payment plans on the E-TALK IKỌBỌ MARKETPLACE, leveraging WebChain’s gas-free, instant transactions for seamless deferred payments.
  • V1 Card Payments: Supports traditional card-based payments integrated with blockchain transparency, ensuring secure and efficient processing for online purchases.

Performance Comparison

WebChain’s industry-leading 1,000,000 TPS outperforms major blockchains, making it a top choice for high-volume e-commerce applications.

Transaction Throughput

Core Features

Blockchain Architecture

  • WebRTC P2P Network: Custom blockchain built with WebRTC enabling direct validator communication
  • Hybrid Consensus: PoC+ (Proof-of-Concept+) combining PoS and PoC elements
  • On-chain Operations: Supports mining, staking, order broadcasting, and P2P validators/peers
  • EVM Compatibility: Fully compatible with MetaMask, Ethereum wallets, and DApps
  • Validator Mining: Validators can mine ETK every 60 minutes after staking 370 ETK and maintaining 0.0000001 ETK balance
  • Instant Confirmations: Transactions deposited into off-chain wallet from the user mining on-chain wallet in milliseconds
  • WooCommerce Integration: Broadcasts all WooCommerce completed orders to the blockchain

Technical Integration

  • JSON-RPC Endpoint: Full Ethereum-compatible endpoint for MetaMask integration at https://rpc.webchain.e-talk.xyz/
  • Custom REST API: Includes /rpc, /supply, /verify-validator, /process-order, /mining-events, and /validator endpoints
  • Peer System: Complete validator registration and peer management system
  • Transaction Viewer: Real-time transaction display with verification status indicators
  • E-Talk Plugin: Allows vendors to broadcast trade history to WebChain

Recent Enhancements

  • On-chain Mining: Validator mining functionality now fully operational
  • Multi-chain Support: ETK Scan verifies transactions on Ethereum, BSC, Polygon, and WebChain
  • Auto-broadcasting: WooCommerce sites using sync plugins automatically broadcast completed orders

Technical Specifications

Blockchain Parameters

ParameterValueDescription
Chain ID1000001 (0xF4241)Unique identifier for MetaMask
ConsensusPoC+Proof-of-Concept+ (PoS/PoC hybrid)
Block TimeInstantTransactions processed immediately
Transactions per Block5Maximum transactions per block
Validator Requirements370 ETK Staked + 0.0000001 ETK BalanceMinimum to participate in validation
Mining Interval60 minutesFrequency validator can mine ETK

Transaction Structure

{
    "from": "0x...",
    "to": "0x...",
    "amount": 1.23,
    "nonce": 5,
    "note": "Payment",
    "timestamp": 1234567890,
    "hash": "0x..."
}

JSON-RPC Endpoint

Active and ready at: https://rpc.webchain.e-talk.xyz

Send POST requests with JSON-RPC payloads to interact with the WebChain mainnet (version 1.0.0, powered by PoC+).

Supported Methods

MethodSupportedNotes
eth_chainIdReturns chain ID
net_versionReturns network version
eth_getBalanceReturns account balance
eth_sendTransactionProcesses signed transactions
eth_sendRawTransactionProcesses signed transactions
eth_getTransactionReceiptReturns transaction details
eth_blockNumberReturns latest block number
eth_getBlockByNumberReturns block information
eth_getTransactionCountReturns account nonce

ETK-Specific Methods

MethodSupportedNotes
etk_sendRawTransactionSend raw ETK transaction (OTP supported, validator-only)
etk_getBalanceGet on-chain ETK balance (decimal string)
etk_getTransactionCountReturns nonce for a wallet (number of transactions sent)
etk_getBlockByNumberReturns block info including transactions
etk_getBlockByHashReturns block info by block hash
etk_getTransactionByHashReturn transaction details by hash
etk_blockNumberReturns the latest block index
etk_syncingReturns syncing status of WebChain node
etk_chainIdReturns chain ID of WebChain network
etk_gasPriceReturns gas price (always 0 ETK)
etk_getValidatorsReturns list of validators with on/off-chain balances
etk_getSupplyReturns total supply of ETK

Send Raw Transaction (Validator Only)

Note: Only verified validators (370 ETK staked + 0.0000001 ETK balance on/off-chain) can send transactions.

Sample Node.js Script


const { ethers } = require("ethers");
const fetch = require("node-fetch");

const RPC_URL = "https://rpc.webchain.e-talk.xyz";
const privateKey = "0x...";
const toAddress = "0x...";
const amountToSend = "20";

async function sendRawTx() {
  const provider = new ethers.providers.JsonRpcProvider(RPC_URL);
  const wallet = new ethers.Wallet(privateKey, provider);
  const nonce = await provider.getTransactionCount(wallet.address);
  const tx = {
    nonce,
    to: toAddress,
    value: ethers.utils.parseEther(amountToSend),
    gasLimit: ethers.utils.hexlify(21000),
    gasPrice: ethers.utils.hexlify(0),
    chainId: 1000001
  };
  const signedTx = await wallet.signTransaction(tx);
  const payload = {
    jsonrpc: "2.0",
    id: 1,
    method: "eth_sendRawTransaction",
    params: [signedTx]
  };
  const response = await fetch(RPC_URL, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify(payload)
  });
  const json = await response.json();
  console.log("Transaction Hash:", json.result);
}
sendRawTx();
    

Transaction Storage & Blockchain Ledger

WebChain uses a LevelDB-backed blockchain ledger as the primary and authoritative storage engine for blocks, transactions, and validator state. JSON snapshots may be generated for debugging, lightweight exploration, or optional synchronization utilities, but are not part of consensus or chain recovery logic.

  • LevelDB Ledger: Primary source of truth for blockchain state, balances, blocks, and transaction persistence
  • Snapshot System: Optional JSON snapshots for diagnostics, explorers, export tools, and lightweight node utilities
  • Immutability: Cryptographic hashing and chained block references provide tamper-evident ledger integrity
  • Validator Nodes: Full validator nodes maintain local LevelDB state and synchronize through the WebChain networking layer
  • Consensus Integrity: Runtime blockchain state is never reconstructed from JSON snapshots, preventing snapshot corruption from affecting canonical chain history

Validator Participation

Stake 0.0000001 ETK to become a validator, enabling transaction submission, block validation, and network participation.

Block Structure

{
  "index": 43,
  "timestamp": 1698863000,
  "transactions": [...],
  "previous_hash": "a4f...",
  "hash": "c8e...",
  "merkle_root": "e9c...",
  "nonce": 102,
  "validator": "0xABCD..."
}

Transaction Index Model

The following represents the logical transaction indexing structure used by WebChain validator nodes and RPC gateways for tracking confirmed and pending blockchain transactions.

FieldTypeDescription
idIntegerUnique transaction identifier
block_indexIntegerBlock number (-1 indicates pending transaction)
tx_hashStringTransaction hash
fromAddressSender address
toAddressRecipient address
amountDecimalTransaction amount
nonceIntegerTransaction nonce
noteStringOptional metadata or memo
timestampUnix TimestampTransaction time
statusEnumpending / confirmed

WebChain Decentralized Exchange (DEX) API

WebChain DEX provides endpoints for real-time market data, trading, liquidity management, and analytics, enabling seamless integration with platforms and tools.

1. Get ETK Price [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/price/etk
Description: Returns the current price of ETK.
        

2. Get All Pools [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/pools
Description: Returns a list of all liquidity pools.
        

3. Get Pool Information [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/pool/{token_a}/{token_b}
Description: Returns detailed info for a specific liquidity pool. Replace {token_a} and {token_b} with token symbols.
        

4. Add Liquidity [Requires Login]

Method: POST
URL: https://rpc.webchain.e-talk.xyz/dex/add-liquidity
Body Parameters:
{
    "token_a": "string",
    "token_b": "string",
    "amount_a": "number",
    "amount_b": "number"
}
Description: Adds liquidity to a specified pool.
        

5. Remove Liquidity [Requires Login]

Method: POST
URL: https://rpc.webchain.e-talk.xyz/dex/remove-liquidity
Body Parameters:
{
    "pool_id": "string",
    "liquidity": "number"
}
Description: Removes a portion of liquidity from a pool.
        

6. Swap Tokens [Requires Login]

Method: POST
URL: https://rpc.webchain.e-talk.xyz/dex/swap
Body Parameters:
{
    "input_token": "string",
    "output_token": "string",
    "input_amount": "number",
    "min_output": "number (optional)"
}
Description: Swaps tokens in the DEX pool.
        

7. Get My Liquidity Positions [Requires Login]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/my-liquidity
Description: Returns the logged-in user's liquidity positions.
        

8. Get Trade History [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/history
Query Parameters (optional):
    wallet: string
    limit: number (default: 50)
Description: Returns trade history. Can filter by wallet.
        

9. Get Swap Quote [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/quote
Query Parameters:
{
    "input_token": "string",
    "output_token": "string",
    "input_amount": "number"
}
Description: Returns estimated output amount for a swap.
        

10. Get All Balances for Wallet [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/wallet/{wallet}/all-balances
Description: Returns balances for the specified wallet address.
        

11. Get All Tokens with ETK [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/tokens/all-with-etk
Description: Returns a list of all tokens paired with ETK.
        

12. Debug My Liquidity [Requires Login]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/debug-liquidity
Description: Returns detailed info of user's liquidity for debugging.
        

13. Get supply info [public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/supply
Description: Returns ETK supply info.
        

14. Get Volume for Pair [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/volume-pair/{token_a}/{token_b}
Description: Returns 24h volume for a token pair.
        

15. Get Token Volume [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/volume/{token}
Query Parameters (optional):
    days: number (default 7, max 30)
Description: Returns volume for a token over a period of days.
        

16. Market Summary [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/market/summary
Description: Provides market summary for all trading pairs.
        

17. Pair Data [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/market/pair/{pair_id}
Description: Returns market data for a specific trading pair.
        

18. Historical Data [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/market/history/{pair_id}?interval=1
Description: Returns historical data for charts. Interval in hours/days.
        

19. Get All Trading Pairs [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/pairs
Description: Returns all available trading pairs.
        

20. CMC Metadata [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/cmc/metadata
Description: Returns CoinMarketCap metadata for ETK.
        

21. CMC Listings [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/cmc/listings
Description: Returns CoinMarketCap token listings.
        

22. CoinGecko Market [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/coingecko/market
Description: Returns market data from CoinGecko for ETK and pairs.
        

23. WUSD Reserve [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/wusd-reserve
Description: Returns current WUSD reserve in DEX pools.
        

24. DEX Fee Earnings [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/dex/fee-earnings
Description: Returns total fees earned from DEX liquidity pools.
        

25. Fear & Greed Index [Public]

Method: GET
URL: https://rpc.webchain.e-talk.xyz/fear-greed
Description: Returns a sentiment index (0–100) reflecting market emotions based on DEX data.

The index measures market sentiment from Extreme Fear (0) to Extreme Greed (100), calculated using multiple real-time metrics:

  • Price Volatility: Stability of token prices across pairs.
  • Trading Volume: Current vs. average daily volume.
  • Liquidity: Total available liquidity in pools.
  • Orderbook Movement: Average price changes signaling demand shifts.
  • Pair Activity: Number of active trading pairs.

This helps gauge market mood and trading behavior on WebChain DEX in real-time.

WebChain DEX – JSON-RPC Interface

WebChain provides a standard Ethereum-compatible JSON-RPC interface for direct interaction with liquidity pools and tokens. All endpoints use the standard JSON-RPC 2.0 protocol.

RPC Endpoint

https://rpc.webchain.e-talk.xyz

All requests are POST with Content-Type: application/json

1. Factory Contract

Factory Address: 0x1234567890abcdef1234567890abcdef12345678

Get Pool Address by ID

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x1234567890abcdef1234567890abcdef12345678",
      "data": "0xfeb6d6c00000000000000000000000000000000000000000000000000000000000000001"
    }, "latest"],
    "id": 1
  }'

Description: Returns pool address for given pool ID (1, 2, 3, etc.)

Example Pools:

  • Pool 1: 0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0
  • Pool 2: 0x3b0a21b59d9fb4e2872b28b747fac4e9f2d2d466

2. Liquidity Pool Methods

Use any pool address to query pool information

Get Factory Address

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0",
      "data": "0xc45a0155"
    }, "latest"],
    "id": 1
  }'

Get Pool Reserves

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0",
      "data": "0x0902f1ac"
    }, "latest"],
    "id": 1
  }'

Get Token0 Address

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0",
      "data": "0x0dfe1681"
    }, "latest"],
    "id": 1
  }'

Get Token1 Address

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0",
      "data": "0xd21220a7"
    }, "latest"],
    "id": 1
  }'

Check Pool Contract

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getCode",
    "params": ["0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0", "latest"],
    "id": 1
  }'

Get Pool Events (Swap History)

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getLogs",
    "params": [{
      "address": "0x07407ad272decf9f07a65a0ca1d4a01e56b8dba0",
      "fromBlock": "0x0",
      "toBlock": "latest"
    }],
    "id": 1
  }'

3. WVM-20 Token Methods (ERC-20 Compatible)

Query token information using standard ERC-20 methods

Get Token Name

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0xf7335eb320a05d263965d5052156863af9e20570",
      "data": "0x06fdde03"
    }, "latest"],
    "id": 1
  }'

Get Token Symbol

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0xf7335eb320a05d263965d5052156863af9e20570",
      "data": "0x95d89b41"
    }, "latest"],
    "id": 1
  }'

Get Token Decimals

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0xf7335eb320a05d263965d5052156863af9e20570",
      "data": "0x313ce567"
    }, "latest"],
    "id": 1
  }'

Get Total Supply

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0xf7335eb320a05d263965d5052156863af9e20570",
      "data": "0x18160ddd"
    }, "latest"],
    "id": 1
  }'

Get Token Balance

curl -X POST https://rpc.webchain.e-talk.xyz/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0xf7335eb320a05d263965d5052156863af9e20570",
      "data": "0x70a08231000000000000000000000000f51a1175098f814a751dc339b7d5a47f786fb3a4"
    }, "latest"],
    "id": 1
  }'

Note: Replace the last 40 characters with the wallet address you want to query

📋 Method Reference

Method Function Selector Description
getPoolAddress(uint256)0xfeb6d6c0Get pool address by ID (call factory)
factory()0xc45a0155Get factory address (call pool)
getReserves()0x0902f1acGet pool reserves
token0()0x0dfe1681Get first token address
token1()0xd21220a7Get second token address
name()0x06fdde03Get token name
symbol()0x95d89b41Get token symbol
decimals()0x313ce567Get token decimals
totalSupply()0x18160dddGet total supply
balanceOf(address)0x70a08231Get token balance

📌 Important Notes

  • All pool addresses are available via the factory contract using getPoolAddress(id)
  • Token addresses can be obtained from pools using token0() and token1()
  • Rate limits apply – cache responses when possible for better performance
  • For real-time data, consider using WebSocket connections (contact us for access)

Exchange Integration Guide

🌐 WebChain Is a Layer-1 Blockchain

WebChain is a full Layer-1 blockchain (PoC+) powered by the WebChain Virtual Machine (WVM) with its native coin ETK. It provides Ethereum-style JSON-RPC methods for interface compatibility, allowing exchanges to integrate using familiar tools. However, execution and state transitions are governed by WebChain’s validator-based consensus model. For enhanced security, WebChain also provides a REST-based RPC Gateway with OTP verification and validator approval.

⚠️ Important:

WebChain operates a two-tier validator model:
  • Validators: Any verified user can become a validator by staking 370 ETK. Validators participate in mining and network security.
  • Super Validators: Authorized infrastructure providers (e.g. exchanges, DEXs, platforms) responsible for transaction finalization and liquidity operations.
Key Rules:
  • Staking 370 ETK enables validator participation (mining) but does NOT grant transaction execution authority.
  • Only Super Validators can finalize and broadcast state-changing ETK transactions.
  • Exchanges must operate or integrate with a Super Validator wallet to process withdrawals and transfers.

🔧 Standard JSON-RPC Integration (Recommended for Exchanges)

Connect to our RPC endpoint similar to Ethereum. Note: JSON-RPC is provided for compatibility — transaction execution is controlled by the WebChain validator consensus layer.

POST https://rpc.webchain.e-talk.xyz
{
  "jsonrpc": "2.0",
  "method": "eth_getBalance",
  "params": ["0xYourHotWallet", "latest"],
  "id": 1
}
    

Supported JSON-RPC Methods

  • eth_chainId – Returns chain ID [Recommended]
  • net_version – Returns network version [Recommended]
  • eth_getBalance – Returns account balance [Recommended]
  • eth_sendTransaction – Processes signed transactions [Legacy/Optional]
  • eth_sendRawTransaction – Submits transaction for validator inclusion [Recommended]
  • eth_getTransactionReceipt – Returns transaction details [Recommended]
  • eth_blockNumber – Returns latest block number [Recommended]
  • eth_getBlockByNumber – Returns block information [Legacy/Optional]
  • eth_getTransactionCount – Returns account nonce [Recommended]

ETK-Specific JSON-RPC Methods

  • etk_sendRawTransaction – Broadcast validator-approved ETK transaction with OTP [Recommended]
  • etk_getBalance – Get ETK balance (on-chain) [Recommended]
  • etk_getTransactionCount – Get nonce for a wallet [Recommended]
  • etk_getBlockByNumber – Fetch block info by number [Recommended]
  • etk_getBlockByHash – Fetch block info by hash [Recommended]
  • etk_getTransactionByHash – Get transaction details by hash [Recommended]
  • etk_blockNumber – Latest block number [Recommended]
  • etk_syncing – Node syncing status [Recommended]
  • etk_chainId – WebChain chain ID [Recommended]
  • etk_gasPrice – Returns 0 ETK [Recommended]
  • etk_getValidators – List of validators [Recommended]
  • etk_getSupply – Total ETK supply [Recommended]

Example Use Cases

  • Deposit Processing: Monitor incoming transactions via etk_getTransactionByHash
  • Withdrawal Processing: Execute withdrawals through a Super Validator using etk_sendRawTransaction
  • Bulk Withdrawals: Submit multiple validator-approved transactions
  • OTP Security: Ensure secure execution for off-chain → on-chain operations

🔐 WebChain RPC Gateway (Enhanced Integration)

Exchanges may use the REST-based RPC Gateway for simplified integration with built-in OTP verification, validator approval, and wallet safety checks.

⚠️ Super Validator Requirement:

All withdrawal and transfer requests must be executed through a Super Validator wallet. Standard validator wallets (370 ETK stake) cannot finalize transactions. Requests from non-Super Validator wallets will not result in state changes.

1. Get User Balance

GET /balance?user_id=99999&check_validator=true
    

2. Off-chain to On-chain Transfer (OTP)

POST /transfer
{
  "user_id": 1,
  "amount": 50.0,
  "validator_address": "0x"
}
    

3. On-chain Withdrawal

POST /withdraw
{
  "user_id": 1,
  "amount": 1.0,
  "to": "0xExternalWalletAddressHere",
  "validator_address": "0x"
}
    

4. Confirm Transaction

POST /confirm_tx
{
  "user_id": 1,
  "otp": "dgXq8a"
}
    

📋 Prerequisites

  • Super Validator wallet
  • Static IP addresses
  • RPC endpoint access

📝 Onboarding

Submit Super Validator request including company info, infrastructure details, and expected transaction volume for approval.

🔒 Security Requirements

RequirementDescription
IP WhitelistingAPI access restricted to approved IPs
Rate LimitingDefault: 1000 req/min
HSM UsageRequired for validator key security
Cold WalletRecommended for Super Validator funds

⚠️ Troubleshooting

Error CodeDescriptionSolution
-32001Unauthorized validatorCheck Super Validator status
-32005Rate limit exceededReduce request rate
-32602Invalid paramsVerify request format
-32003Chain sync issueSync node

WebChain Validator Layer (WVM-20 Tokens)

The WebChain Validator Layer (WVM-20 standard) enables the creation and management of fully native tokens on WebChain’s Proof-of-Concept+ (PoC+) consensus mechanism validator model without requiring smart contracts. WVM-20 tokens are integrated at the protocol level, supporting token creation, transfers, governance, and integration APIs with gas-free user execution.

WebChain operates a gas-free transaction model, where users do not pay transaction fees. Transaction execution is handled by the validator network, ensuring efficient and accessible participation.

WebChain’s native coin ETK is mined via the Proof-of-Concept+ (PoC+) consensus mechanism, a hybrid model combining Proof-of-Stake (PoS) with contribution-based validation. Validators earn ETK by staking, maintaining network availability, and participating in transaction validation cycles.

ETK rewards are synchronized across on-chain and off-chain accounting layers, allowing users to bridge between environments while maintaining full protocol-level consistency and auditability.

WebChain also supports bridging ETK from external networks such as Ethereum, BSC, and Polygon into the native WebChain supply via an off-chain to on-chain synchronization mechanism.

WVM-20 tokens operate independently of ETK, enabling developers to build scalable, secure applications and token economies directly on WebChain.

Core Features

Token Creation

Create WVM-20 tokens with configurable parameters including symbol, name, decimals, and supply rules at the protocol level.

Validator Governance

All critical operations require validator consensus, ensuring secure and verifiable network execution.

Wallet Integration

Compatible with EVM-style wallets (e.g., MetaMask) and identity-linked off-chain wallets for seamless interaction.

Gas-Free Transfers

Transfer ETK and WVM-20 tokens with validator-verified execution and deterministic finality, without user-paid gas fees.

ETK Mining (PoS)

ETK is mined exclusively through Proof-of-Concept+ (PoC+) validator participation and cannot be minted. Rewards are issued based on staking, validation activity, and contribution to network consensus.

Balance Synchronization

Real-time balance tracking across both on-chain and off-chain environments.

REST API Endpoints

The Validator Layer exposes REST APIs for token operations:

EndpointMethodDescription
/tokensPOSTCreate a new token
/tokensGETList all tokens
/tokens/{id}/approvePOSTValidator approval vote
/tokens/{id}/transferPOSTTransfer tokens
/wallet/{wallet}/balancesGETRetrieve balances
/networkGETNetwork information

Token Creation Lifecycle

  1. User submits token creation request
  2. Token enters pending state
  3. Validators review and vote
  4. Upon consensus, token is finalized
  5. Token becomes active on-chain
  6. Initial supply is assigned based on protocol rules
ETK is a native coin and cannot be minted. It is generated only through validator-based mining. WVM-20 tokens follow separate issuance rules defined at the protocol level.

MetaMask Integration

Add WebChain to MetaMask with:

ParameterValue
Network NameWebChain
RPC URLhttps://rpc.webchain.e-talk.xyz
Chain ID1000001
Currency Nameikọbọ
Currency SymbolETK
Block Explorerhttps://e-talk.xyz/webchain/?tx=
WebChain supports automatic network configuration via “Add Network” integration.

WooCommerce Integration

Process WooCommerce orders on WebChain via:

EndpointMethodDescription
/verify-validatorPOSTVerifies a user’s validator status
/process-orderPOSTProcesses WooCommerce orders on the blockchain

Order Data Structure

{
    "order_id": 123,
    "amount": 10.50,
    "currency": "USD",
    "customer": {
        "id": 456,
        "email": "user@example.com"
    },
    "items": [{
        "product_id": 789,
        "name": "Product Name",
        "quantity": 1,
        "price": 10.50
    }],
    "user_email": "validator@example.com",
    "wallet": "0x..."
}

Non-CMS Platform Integration

If your platform does not use WordPress, you can broadcast orders to WebChain using the HTTP request below. This works on any language or stack that can make HTTP requests.

### 1. Test WebChain Order Broadcast
POST https://rpc.webchain.e-talk.xyz/process-order
Content-Type: application/json

{
  "user_email": "validator@e-talk.xyz",
  "wallet": "0x1234567890abcdef1234567890abcdef12345678",
  "order_data": {
    "order_id": 9999,
    "amount": 10.50,
    "currency": "USD",
    "customer": {
      "id": 1204,
      "email": "test@e-talk.xyz"
    },
    "items": [
      {
        "product_id": 111,
        "name": "Test Product",
        "quantity": 1,
        "price": 10.50
      }
    ]
  }
}