From a853c91d21df69a5200d2f4069a4151e1b0197fa Mon Sep 17 00:00:00 2001 From: Evan Wang Date: Sun, 28 Aug 2022 14:29:09 -0400 Subject: [PATCH] Add Toki Network and Toki Testnet (#1426) * Add Toki Network and Toki Testnet * Change Toki Testnet short name, update Toki icon to include width & height, and update README.md * Reorder Toki icon fields for consistency * Update _data/icons/toki.json Co-authored-by: ligi * Update SVG to have width/height defined * Remove network property from Toki Networks * Run prettier on Toki Networks Co-authored-by: ligi --- README.md | 2 +- _data/chains/eip155-8654.json | 17 +++++++++++++++++ _data/chains/eip155-8655.json | 17 +++++++++++++++++ _data/icons/toki.json | 8 ++++++++ ...bCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw | 4 ++++ 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 _data/chains/eip155-8654.json create mode 100644 _data/chains/eip155-8655.json create mode 100644 _data/icons/toki.json create mode 100644 _data/iconsDownload/QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw diff --git a/README.md b/README.md index f9a1d6a5..3a8ed089 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ when an icon is used in either the network or a explorer there must be a json in where: * the URL must be a IPFS url that is publicly resolveable - * width and height are optional - but when one is there then the other must be there also + * width and height are positive integers * format is either "png", "jpg" or "svg" If the chain is an L2 or a shard of another chain you can link it to the parent chain like this: diff --git a/_data/chains/eip155-8654.json b/_data/chains/eip155-8654.json new file mode 100644 index 00000000..764520e9 --- /dev/null +++ b/_data/chains/eip155-8654.json @@ -0,0 +1,17 @@ +{ + "name": "Toki Network", + "chain": "TOKI", + "rpc": ["https://mainnet.buildwithtoki.com/v0/rpc"], + "faucets": [], + "nativeCurrency": { + "name": "Toki", + "symbol": "TOKI", + "decimals": 18 + }, + "infoURL": "https://www.buildwithtoki.com", + "shortName": "toki", + "chainId": 8654, + "networkId": 8654, + "icon": "toki", + "explorers": [] +} diff --git a/_data/chains/eip155-8655.json b/_data/chains/eip155-8655.json new file mode 100644 index 00000000..834ccc02 --- /dev/null +++ b/_data/chains/eip155-8655.json @@ -0,0 +1,17 @@ +{ + "name": "Toki Testnet", + "chain": "TOKI", + "rpc": ["https://testnet.buildwithtoki.com/v0/rpc"], + "faucets": [], + "nativeCurrency": { + "name": "Toki", + "symbol": "TOKI", + "decimals": 18 + }, + "infoURL": "https://www.buildwithtoki.com", + "shortName": "toki-testnet", + "chainId": 8655, + "networkId": 8655, + "icon": "toki", + "explorers": [] +} diff --git a/_data/icons/toki.json b/_data/icons/toki.json new file mode 100644 index 00000000..78d12361 --- /dev/null +++ b/_data/icons/toki.json @@ -0,0 +1,8 @@ +[ + { + "url": "ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw", + "width": 512, + "height": 512, + "format": "svg" + } +] diff --git a/_data/iconsDownload/QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw b/_data/iconsDownload/QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw new file mode 100644 index 00000000..358f0c8e --- /dev/null +++ b/_data/iconsDownload/QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw @@ -0,0 +1,4 @@ + + + +