Skip to content

Commit

Permalink
Added Prettier and formatted existing JSON files (#1501)
Browse files Browse the repository at this point in the history
* Added Prettier and formatted existing JSON files

* fixed one more json file
  • Loading branch information
ashutoshpw authored Aug 27, 2022
1 parent c15affa commit fb49612
Show file tree
Hide file tree
Showing 544 changed files with 4,243 additions and 4,753 deletions.
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Using Prettier for JSON files only in _data

# Command to format all existing JSON files
# npx prettier --write --ignore-unknown _data

model
processor
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": false
}
14 changes: 8 additions & 6 deletions _data/chains/eip155-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"networkId": 1,
"slip44": 60,
"ens": {
"registry":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
"registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
},
"explorers": [{
"name": "etherscan",
"url": "https://etherscan.io",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "etherscan",
"url": "https://etherscan.io",
"standard": "EIP3091"
}
]
}
12 changes: 7 additions & 5 deletions _data/chains/eip155-10.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
"chainId": 10,
"networkId": 10,

"explorers": [{
"name": "etherscan",
"url": "https://optimistic.etherscan.io",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "etherscan",
"url": "https://optimistic.etherscan.io",
"standard": "EIP3091"
}
]
}
33 changes: 20 additions & 13 deletions _data/chains/eip155-100.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"https://gnosis-mainnet.public.blastapi.io",
"wss://rpc.gnosischain.com/wss"
],
"faucets": ["https://gnosisfaucet.com", "https://faucet.gimlu.com/gnosis", "https://stakely.io/faucet/gnosis-chain-xdai", "https://faucet.prussia.dev/xdai"],
"faucets": [
"https://gnosisfaucet.com",
"https://faucet.gimlu.com/gnosis",
"https://stakely.io/faucet/gnosis-chain-xdai",
"https://faucet.prussia.dev/xdai"
],
"nativeCurrency": {
"name": "xDAI",
"symbol": "xDAI",
Expand All @@ -20,16 +25,18 @@
"chainId": 100,
"networkId": 100,
"slip44": 700,
"explorers": [{
"name": "gnosisscan",
"url": "https://gnosisscan.io",
"icon": "gnosisscan",
"standard": "EIP3091"
},
{
"name": "blockscout",
"url": "https://blockscout.com/xdai/mainnet",
"icon": "blockscout",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "gnosisscan",
"url": "https://gnosisscan.io",
"icon": "gnosisscan",
"standard": "EIP3091"
},
{
"name": "blockscout",
"url": "https://blockscout.com/xdai/mainnet",
"icon": "blockscout",
"standard": "EIP3091"
}
]
}
10 changes: 4 additions & 6 deletions _data/chains/eip155-1000.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "GTON Mainnet",
"chain": "GTON",
"rpc": [
"https://rpc.gton.network/"
],
"rpc": ["https://rpc.gton.network/"],
"faucets": [],
"nativeCurrency": {
"name": "GCD",
Expand All @@ -16,9 +14,9 @@
"networkId": 1000,
"explorers": [
{
"name": "GTON Network Explorer",
"url": "https://explorer.gton.network",
"standard": "EIP3091"
"name": "GTON Network Explorer",
"url": "https://explorer.gton.network",
"standard": "EIP3091"
}
],
"parent": {
Expand Down
7 changes: 2 additions & 5 deletions _data/chains/eip155-100000.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"name": "QuarkChain Mainnet Root",
"chain": "QuarkChain",
"rpc": [
"http://jrpc.mainnet.quarkchain.io:38391"
],
"faucets": [
],
"rpc": ["http://jrpc.mainnet.quarkchain.io:38391"],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand Down
15 changes: 8 additions & 7 deletions _data/chains/eip155-100001.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s0-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39000"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/0",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/0",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100002.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s1-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39001"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/1",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/1",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100003.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s2-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39002"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/2",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/2",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100004.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s3-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39003"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/3",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/3",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100005.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s4-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39004"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/4",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/4",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100006.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s5-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39005"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/5",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/5",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100007.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s6-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39006"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/6",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/6",
"standard": "EIP3091"
}
]
}
15 changes: 8 additions & 7 deletions _data/chains/eip155-100008.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"https://mainnet-s7-ethapi.quarkchain.io",
"http://eth-jrpc.mainnet.quarkchain.io:39007"
],
"faucets": [
],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
Expand All @@ -20,9 +19,11 @@
"chain": "eip155-100000",
"type": "shard"
},
"explorers": [{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/7",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "quarkchain-mainnet",
"url": "https://mainnet.quarkchain.io/7",
"standard": "EIP3091"
}
]
}
8 changes: 2 additions & 6 deletions _data/chains/eip155-1001.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"name": "Klaytn Testnet Baobab",
"chain": "KLAY",
"rpc": [
"https://api.baobab.klaytn.net:8651"
],
"faucets": [
"https://baobab.wallet.klaytn.com/access?next=faucet"
],
"rpc": ["https://api.baobab.klaytn.net:8651"],
"faucets": ["https://baobab.wallet.klaytn.com/access?next=faucet"],
"nativeCurrency": {
"name": "KLAY",
"symbol": "KLAY",
Expand Down
18 changes: 9 additions & 9 deletions _data/chains/eip155-100100.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"chain": "CHI",
"network": "testnet",
"icon": "gnosis",
"rpc": [
"https://rpc-chiado.gnosistestnet.com"
],
"rpc": ["https://rpc-chiado.gnosistestnet.com"],
"faucets": ["https://gnosisfaucet.com"],
"nativeCurrency": {
"name": "Chiado xDAI",
Expand All @@ -16,10 +14,12 @@
"shortName": "chi",
"chainId": 100100,
"networkId": 100100,
"explorers": [{
"name": "blockscout",
"url": "https://blockscout-chiado.gnosistestnet.com",
"icon": "blockscout",
"standard": "EIP3091"
}]
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout-chiado.gnosistestnet.com",
"icon": "blockscout",
"standard": "EIP3091"
}
]
}
Loading

0 comments on commit fb49612

Please sign in to comment.