Skip to main content

Connect to the Onchain Points Network

The Onchain Points ecosystem lives on a dedicated Layer 3 blockchain. You can connect using any EVM-compatible wallet or Web3 provider with the following network details:

Network DetailsValue
Network NameOnchain Points
RPC URLhttps://rpc.onchainpoints.xyz
Chain ID17071
Explorerhttps://explorer.onchainpoints.xyz
Currency$POP

Connect with MetaMask

MetaMask network configuration screen

Automatically connect with MetaMask:

  1. Visit the Onchain Points Explorer
  2. Click on the "Connect with MetaMask" button located in the bottom left corner

Manually connect with MetaMask:

  1. Open MetaMask and click the network dropdown at the top
  2. Select "Add Network"
  3. Choose "Add Network Manually"
  4. Enter the network details:
    Network Name: Onchain Points
    New RPC URL: https://rpc.onchainpoints.xyz
    Chain ID: 17071
    Currency Symbol: POP
    Block Explorer URL: https://explorer.onchainpoints.xyz
  5. Click "Save"

Connect Programmatically

Using ethers.js:

const provider = new ethers.providers.JsonRpcProvider('https://rpc.onchainpoints.xyz');
const network = await provider.getNetwork();
console.log(`Connected to chain ID: ${network.chainId}`);

Using Web3.js:

const web3 = new Web3('https://rpc.onchainpoints.xyz');
const network = await web3.eth.getChainId();
console.log(`Connected to chain ID: ${network}`);