badasserry / networklist-org

Home Page:https://chainlist.tokenpocket.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. You can also visit the entrance of the custom network in https://chainlist.tokenpocket.pro/. For adding more network data, 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://chainlist.tokenpocket.pro/ 中查看自定义网络的添加入口。添加更多网络信息,请根据以下指引进行提交。

公链收录审核及捐赠标准

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

About

https://chainlist.tokenpocket.pro

License:GNU General Public License v3.0


Languages

Language:JavaScript 79.9%Language:CSS 20.1%