Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e279983
update chain
ysy717324540 Nov 29, 2021
bad55a0
Update chains.json
LiYuqing-2020 Dec 17, 2021
579cf83
Merge pull request #33 from LiYuqing-2020/patch-2
chendatony31 Dec 17, 2021
aa7fd2e
Update chains.json
giki0318 Jan 5, 2022
8fdc030
Update chains.json
giki0318 Jan 5, 2022
540fb4f
add vision network
Jan 18, 2022
6c926b9
Update chains.json
Jan 26, 2022
1bed86d
Merge pull request #36 from vchain007/pr/vision-network
chendatony31 Jan 26, 2022
d8d59d8
Update chains.json
Feb 11, 2022
0d5a200
Add SAT L2 network
yuop2002cn Feb 13, 2022
31cd603
rename Goerli
chendatony31 Feb 22, 2022
8089e24
Merge pull request #37 from vchain007/patch-1
heipacker Feb 22, 2022
bd28dca
Merge pull request #38 from yuop2002cn/patch-1
heipacker Feb 22, 2022
cc250da
format
chendatony31 Feb 22, 2022
ce502ca
add evmos
chendatony31 Mar 3, 2022
9fddadf
Update README.md
chendatony31 Mar 4, 2022
76b0f06
update build website
chendatony31 Mar 7, 2022
4d41c0d
add transit logo
chendatony31 Mar 7, 2022
54aacba
merge https://chainid.network/chains.json
chendatony31 Mar 7, 2022
a0d9a9a
add tokenpocket & dfox
chendatony31 Mar 9, 2022
998fbe7
update kcc
chendatony31 Mar 14, 2022
c4ff360
fix KCC networkId
viaweb3 Mar 28, 2022
388358b
add KCC explorers
viaweb3 Mar 28, 2022
1a0ca14
Merge pull request #43 from lingyun92/main
chendatony31 Mar 28, 2022
e364746
Add info about conflux chain
Pana Apr 2, 2022
74f1683
Merge pull request #45 from conflux-fans/main
chendatony31 Apr 2, 2022
a67ac9a
format
chendatony31 Apr 2, 2022
9fcc52e
add trust testnet
chendatony31 Apr 19, 2022
0916836
add MTC info
RunsStorm Apr 20, 2022
aef38b2
Merge pull request #49 from RunsStorm/main
chendatony31 Apr 20, 2022
b943b4b
update cro
chendatony31 Apr 22, 2022
6445c47
dfox->tokenpocket
chendatony31 Apr 22, 2022
02baeb1
update platon
chendatony31 Apr 24, 2022
3b50629
sync ethereum-lists
chendatony31 Jun 9, 2022
c3401e8
add darkmode
chendatony31 Jun 15, 2022
f604c2e
add cube
chendatony31 Jun 21, 2022
787093b
add cube
chendatony31 Jun 23, 2022
8ce6d6c
sync networklist
chendatony31 Aug 16, 2022
28096c5
add canto
chendatony31 Aug 18, 2022
e1ad5fe
add OMP chain
FangYu199 Aug 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/networklist-org.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 42 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,47 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
## How to add a new chain

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

Example:

```javascript
{
"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"
}
}
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
`app_resource` is optional, which is only affect the appearance in TokenPocket Wallet. You can follow the standard below:

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
![standard](https://tp-statics.tokenpocket.pro/images/custom-chains-standard-11.png)
![standard](https://tp-statics.tokenpocket.pro/images/custom-chains-standard-12.png)
![standard](https://tp-statics.tokenpocket.pro/images/custom-chains-standard-13.png)
![standard](https://tp-statics.tokenpocket.pro/images/custom-chains-standard-14.png)
![standard](https://tp-statics.tokenpocket.pro/images/custom-chains-standard-15.png)

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Loading