MedorCoin Blockchain

MedorCoin Documentation

Lightweight, modern-tech, and energetic. Everything you need to integrate with MedorCoin.

Heads up: This is a static UI shell. Replace placeholders with your production values before launch.

Network Specs

  • Chain name: MedorCoin
  • Chain ID: 12345 (placeholder)
  • Currency: MEDUR (18 decimals)
  • Consensus: Proof-of-Stake (placeholder)
  • Genesis hash: 0xGENESIS... (placeholder)
  • SLIP-44 coin type: 9999 (placeholder)

RPC Endpoints

Public endpoints (replace with your infra):

  • HTTPS RPC: https://rpc.medorcoin.org
  • WebSocket: wss://ws.medorcoin.org

Common JSON-RPC Calls

// Get chain ID
curl -s -X POST https://rpc.medorcoin.org \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

// Get latest block
curl -s -X POST https://rpc.medorcoin.org \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest", false]}'

Wallet Configuration

Add to EVM wallets (MetaMask/Rabby):

{
  "chainId": "0x3039",        // 12345
  "chainName": "MedorCoin",
  "nativeCurrency": { "name":"MedorCoin", "symbol":"MEDUR", "decimals":18 },
  "rpcUrls": ["https://rpc.medorcoin.org"],
  "blockExplorerUrls": ["https://explorer.medorcoin.org"],
  "iconUrls": ["https://medorcoin.org/assets/logo.png"]
}

Nodes & Peers

  • Bootnodes: enode://PUBKEY@ip:30303 (placeholder)
  • Static peers: enode://PUBKEY@ip:30303 (placeholder)
  • Pruning: recommended --prune=archive for indexers, default otherwise

Run a Node (example)

# Example (geth-like)
medor --networkid 12345 \
  --syncmode snap \
  --http --http.addr 0.0.0.0 --http.corsdomain "" \
  --ws --ws.addr 0.0.0.0 \
  --bootnodes "enode://PUBKEY@ip:30303"

Smart Contracts

  • Compiler: Solidity ^0.8.21
  • Chainlist: Submit PR to ethereum-lists/chains
  • Explorers: Blockscout or Etherscan as a Service

Quick Start (Hardhat)

npm i -D hardhat @nomicfoundation/hardhat-toolbox
npx hardhat init

// hardhat.config.js
module.exports = {
  solidity: "0.8.21",
  networks: {
    medor: {
      url: "https://rpc.medorcoin.org",
      chainId: 12345,
      accounts: ["0xYOUR_PRIVATE_KEY"]
    }
  }
};

Explorer

Reference UI: Explorer. Point it to your backend API once available.