mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Revert claim to Ganache default network and port (#1826)
This commit is contained in:
parent
f8a688e8a7
commit
eaab919fce
|
@ -1,23 +1,18 @@
|
|||
{
|
||||
"name": "Digest Swarm Chain",
|
||||
"chain": "DSC",
|
||||
"icon": "swarmchain",
|
||||
"rpc": ["https://rpc.digestgroup.ltd"],
|
||||
"name": "Ganache",
|
||||
"title": "Ganache GUI Ethereum Testnet",
|
||||
"chain": "ETH",
|
||||
"icon": "ganache",
|
||||
"rpc": ["https://127.0.0.1:7545"],
|
||||
"faucets": [],
|
||||
"nativeCurrency": {
|
||||
"name": "DigestCoin",
|
||||
"symbol": "DGCC",
|
||||
"name": "Ganache Test Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"infoURL": "https://digestgroup.ltd",
|
||||
"shortName": "dgcc",
|
||||
"infoURL": "https://trufflesuite.com/ganache/",
|
||||
"shortName": "ggui",
|
||||
"chainId": 5777,
|
||||
"networkId": 5777,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "swarmexplorer",
|
||||
"url": "https://explorer.digestgroup.ltd",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
]
|
||||
"explorers": []
|
||||
}
|
||||
|
|
8
_data/icons/ganache.json
Normal file
8
_data/icons/ganache.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
{
|
||||
"url": "ipfs://Qmc9N7V8CiLB4r7FEcG7GojqfiGGsRCZqcFWCahwMohbDW",
|
||||
"width": 267,
|
||||
"height": 300,
|
||||
"format": "png"
|
||||
}
|
||||
]
|
|
@ -2,6 +2,7 @@ const fs = require("fs")
|
|||
const Ajv = require("ajv")
|
||||
const ajv = new Ajv()
|
||||
const schema = require("./schema/chainSchema.json")
|
||||
const { exit } = require("process")
|
||||
const chainFiles = fs.readdirSync("../_data/chains/")
|
||||
|
||||
// https://chainagnostic.org/CAIPs/caip-2
|
||||
|
@ -29,9 +30,12 @@ for (const chainFile of chainFiles) {
|
|||
}
|
||||
|
||||
if (filesWithErrors.length > 0) {
|
||||
throw new Error(
|
||||
`Invalid JSON Schema in ${
|
||||
filesWithErrors.length
|
||||
} files at ${filesWithErrors.join(",")}`
|
||||
)
|
||||
filesWithErrors.forEach(file => {
|
||||
console.error(`Invalid JSON Schema in ${file}`)
|
||||
})
|
||||
exit(-1);
|
||||
}
|
||||
else {
|
||||
console.info("Schema check completed successfully");
|
||||
exit(0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user