Skip to content

beonechain/networklist-org

 
 

Repository files navigation

Description

This is the repo for TokenPocket to add public chains according to the community requirements. Once the PR is merged, the chain will be included on TokenPocket's Easy Add feature. Please read the following tutorials.

Listing and donation standard

https://help.tokenpocket.pro/developer-en/network/add-chain

A donation is needed for your PR to be merged. If your PR is not compatible with the Review Rules, it won't be merged and the donation won't be refunded. Please be cautious.

简介

本仓库为TokenPocket根据社区需求进行自定义网络(公链)更新,只要PR被合并就可以在自定义网络--快捷加链的列表中收录,请根据以下指引进行提交。

公链收录审核及捐赠标准

https://help.tokenpocket.pro/developer-cn/public-chain/add-chain

提交PR合并需要捐赠,如果不满足审核要求,则不进行合并,捐赠不会进行退回,请您按需进行提交。

How to add a new chain

Fork this repo and add your evm chain info into chains.json

Example:

{
    "name": "xDAI Chain",
    "chainId": 100,
    "shortName": "xdai",
    "chain": "XDAI",
    "network": "mainnet",
    "networkId": 100,
    "nativeCurrency": {
        "name": "xDAI",
        "symbol": "xDAI",
        "decimals": 18
    },
    "rpc": [
        "https://rpc.xdaichain.com",
        "https://xdai.poanetwork.dev",
        "wss://rpc.xdaichain.com/wss",
        "wss://xdai.poanetwork.dev/wss",
        "http://xdai.poanetwork.dev",
        "https://dai.poa.network",
        "ws://xdai.poanetwork.dev:8546"
    ],
    "faucets": [],
    "infoURL": "https://forum.poa.network/c/xdai-chain",
    "app_resource": {
        "ic_chain_select": "https://tp-upload.cdn.bcebos.com/v1/blockChain/xDAI/1.png",
        "ic_chain_unselect": "https://tp-upload.cdn.bcebos.com/v1/blockChain/xDAI/0.png",
        "color_chain_bg": "0x58B2AF"
    }
}

如何添加一个新链

Fork该仓库并在chains.json 中加入您的EVM链信息

示例:

{
    "name": "xDAI Chain",
    "chainId": 100,
    "shortName": "xdai",
    "chain": "XDAI",
    "network": "mainnet",
    "networkId": 100,
    "nativeCurrency": {
        "name": "xDAI",
        "symbol": "xDAI",
        "decimals": 18
    },
    "rpc": [
        "https://rpc.xdaichain.com",
        "https://xdai.poanetwork.dev",
        "wss://rpc.xdaichain.com/wss",
        "wss://xdai.poanetwork.dev/wss",
        "http://xdai.poanetwork.dev",
        "https://dai.poa.network",
        "ws://xdai.poanetwork.dev:8546"
    ],
    "faucets": [],
    "infoURL": "https://forum.poa.network/c/xdai-chain",
    "app_resource": {
        "ic_chain_select": "https://tp-upload.cdn.bcebos.com/v1/blockChain/xDAI/1.png",
        "ic_chain_unselect": "https://tp-upload.cdn.bcebos.com/v1/blockChain/xDAI/0.png",
        "color_chain_bg": "0x58B2AF"
    }
}

app_resource is optional, which is only affect the appearance in TokenPocket Wallet. You can follow the standard below:

standard standard standard standard standard

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.9%
  • CSS 20.1%