CLV Documentations
CLV DOC
CLV DOC
  • Intro to CLV
    • About CLV πŸ€
    • Clover Finance Rebrands to CLV
    • What is CLV Chain?
    • What is CLV Wallet?
    • What is $CLV Token?
    • πŸ“£ CLV Official Channels
    • 🏘 CLV Community Channels
  • Use CLV Chain
    • πŸ“š Beginner’s Guide
      • Setup CLV Wallet
      • Setup Metamask Wallet
      • How to Get $CLV
      • Bridge Other Assets to CLV P-Chain (Parachain)
    • 🌐 Network Details
    • 🏦 Economics
      • Tokenomics
      • Inflation Design
    • πŸ—³οΈGovernance
    • πŸ™‹πŸ» CLV Chain FAQ
    • CLV P-Chain EVM Explorer
    • $CLV Cross-Chain Explorer
    • $CLV Cross-Chain Transfer
  • CLV Validator & Staking
    • What are Nominator & Validator?
    • Stake as a Nominator
    • Running a Validator or RPC Node
    • Staking FAQ
  • Use CLV Wallet
    • πŸ’° Download CLV Wallet
      • Browser Extension (Google Chrome & Brave)
      • Apple iOS (Mobile)
      • Android (Mobile)
      • Web Wallet (Universal)
    • πŸ“± CLV Mobile Wallet
    • πŸ–₯ CLV Extension Wallet
    • πŸ•ΈοΈ CLV Web Wallet
  • CLV Chain Developer Guide
    • Getting Started
    • Using Local Node
      • Using MetaMask
      • Using Remix
      • Using Web3.js
    • Using Testnet
      • Create an account
      • Faucet
      • Run a Testnet Node
      • Connect to Testnet
    • dApp Example
      • Setup dApp project
      • Setup truffle
      • The Counter Contract
      • Deploy Contract
      • Counter Webapp
    • Test Cases
    • Technical Documentations
      • CLV EVM
      • Developers Incentive
      • CLV Accounts Binding
      • Virtual Ethereum Address Binding
      • Query Balance
      • Transaction Finality
      • Web3 Compatibility
        • eth_protocolVersion
        • eth_syncing
        • eth_hashrate
        • eth_coinbase
        • eth_mining
        • eth_chainId
        • eth_gasPrice
        • eth_accounts
        • eth_blockNumber
        • eth_getBalance
        • eth_getStorageAt
        • eth_getBlock
        • eth_getTransactionCount
        • eth_getBlockTransactionCount
        • eth_getBlockUncleCount
        • eth_getCode
        • eth_sendTransaction
        • eth_sendSignedTransaction
        • eth_call
        • eth_estimateGas
        • eth_getTransaction
        • eth_getTransactionByBlockHashAndIndex
        • eth_getTransactionByBlockNumberAndIndex
        • eth_getTransactionReceipt
        • eth_getUncle
        • eth_getLogs
        • eth_getWork
        • eth_submitWork
        • eth_submitHashrate
        • eth_subscribe
        • eth_unsubscribe
        • net_version
        • net_peerCount
        • net_listening
        • web3_clientVersion
        • web3_sha3
      • CLV P-Chain Integration
  • CLV Wallet Developer Guide
    • EVM dApp Integration
    • Substrate dApp Integration
    • Solana dApp Integration
    • Kadena dApp Integration
    • Aptos dApp Integration
    • Web Wallet dApp Integration
    • dApp Interaction Protocol
    • Wallet Integration QA
  • CLV Ecosystem
    • 🏞️ Ecosystem Partners
      • CLV Chain
      • CLV Wallet
    • 🌱 Incentive Programs
      • CLV Ecosystem Grant
      • CLV Wallet Integration Grant
      • CLV Bug Bounty Program
    • Whitelist Assets on Clover P-Chain
    • Bridge assets into CLV P-Chain
  • Assets
    • πŸ”€ Glossary
      • Blockchain (in General)
      • Polkadot
      • Wallet
    • 🎟️ CLV - Polkadot Parachain Auction 2021
      • Parachain Auction Rule Announcement
      • Parachain Winning Reward Announcement
    • πŸ›οΈ Brand Pack
    • πŸ“„ Whitepaper
Powered by GitBook
On this page
  • Evm Chain Information
  • Public RPC endpoints
  • Self-hosted RPC nodes
  • Hardware requirements
  • Configuration
  1. CLV Chain Developer Guide
  2. Technical Documentations

CLV P-Chain Integration

Evm Chain Information

Clover P-Chain is an EVM-compatible network which means ecosystem partners can use the standard web3 protocol to integrate with CLV P-Chain.

The Chain Id of CLV P-Chain is 1024 (0x400 in hex).

The minimum accepted gas price is 50 Gwei currently, please make sure to the gas price is no less than 50Gwei to send a transaction.

Public RPC endpoints

Below are a list of public RPC endpoints for CLV P-Chain.

Provider
RPC URL

CLV foundation

OnFinality

TBD

Self-hosted RPC nodes

Hardware requirements

Hardware
Recommended

CPU

16C

Memory

32G

Disk

500G ssd

Network

20Mbps

Configuration

CLV provides a docker image to help setting up a self-hosted rpc node. Below is a sample compose file for reference(which uses the 20194 port as the rpc port.)

version: "3.3"
services:  clover-bootnode:
    image: "cloverio/clover-para:polkadot-v0.9.16.1"
    restart: always
    command:
      - /opt/clover/bin/clover
      - --parachain-id
      - "2002"
      - --chain
      -  /opt/specs/clover-para-raw.json
      - --base-path
      - /opt/chaindata
      - --bootnodes
      - /dns/boot1.para.clover.finance/tcp/40335/ws/p2p/12D3KooWFWYYwimRBexvZokZmNnmSdXcLCz8WmMTHDCAhzm5tLM6
      - /dns/boot2.para.clover.finance/tcp/40335/ws/p2p/12D3KooWSvvxYi9nkyGJ17hEjwmytNRMrSsQtSrGsHzUaLTcUUea
      - --pruning
      - 2000   # adjust the max blocks to keep, use "archive" if you want keep all blocks
      - --ws-port
      - "9946"
      - --rpc-port
      - "20194"
      - --port
      - "40335"
      - "--rpc-cors=all"
      - --rpc-external
      - --ws-external
      - --ethapi
      - debug,trace
      - --execution
      - wasm
      - --max-runtime-instances
      - "128"
      - --ws-max-connections
      - "5000"
      - --
      - --execution
      - wasm
      - --ws-port
      - "10194"
      - --rpc-port
      - "10195"
      - --chain
      - polkadot
      - --port
      - "30335"
    ports:
      - "9946:9946"
      - "20194:20194"
      - "40335:40335"
      - "30335:30335"
    volumes:
      - /data/data/chains/bootnode:/opt/chaindata
      - /data/data/config:/opt/config
    logging:
       driver: "json-file"
       options:
          max-size: "25m"
          max-file: "2"

Previousweb3_sha3NextEVM dApp Integration

Last updated 2 years ago

https://api-para.clover.finance/