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",
|
"name": "Ganache",
|
||||||
"chain": "DSC",
|
"title": "Ganache GUI Ethereum Testnet",
|
||||||
"icon": "swarmchain",
|
"chain": "ETH",
|
||||||
"rpc": ["https://rpc.digestgroup.ltd"],
|
"icon": "ganache",
|
||||||
|
"rpc": ["https://127.0.0.1:7545"],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
"name": "DigestCoin",
|
"name": "Ganache Test Ether",
|
||||||
"symbol": "DGCC",
|
"symbol": "ETH",
|
||||||
"decimals": 18
|
"decimals": 18
|
||||||
},
|
},
|
||||||
"infoURL": "https://digestgroup.ltd",
|
"infoURL": "https://trufflesuite.com/ganache/",
|
||||||
"shortName": "dgcc",
|
"shortName": "ggui",
|
||||||
"chainId": 5777,
|
"chainId": 5777,
|
||||||
"networkId": 5777,
|
"networkId": 5777,
|
||||||
"explorers": [
|
"explorers": []
|
||||||
{
|
|
||||||
"name": "swarmexplorer",
|
|
||||||
"url": "https://explorer.digestgroup.ltd",
|
|
||||||
"standard": "EIP3091"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
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 = require("ajv")
|
||||||
const ajv = new Ajv()
|
const ajv = new Ajv()
|
||||||
const schema = require("./schema/chainSchema.json")
|
const schema = require("./schema/chainSchema.json")
|
||||||
|
const { exit } = require("process")
|
||||||
const chainFiles = fs.readdirSync("../_data/chains/")
|
const chainFiles = fs.readdirSync("../_data/chains/")
|
||||||
|
|
||||||
// https://chainagnostic.org/CAIPs/caip-2
|
// https://chainagnostic.org/CAIPs/caip-2
|
||||||
|
@ -29,9 +30,12 @@ for (const chainFile of chainFiles) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filesWithErrors.length > 0) {
|
if (filesWithErrors.length > 0) {
|
||||||
throw new Error(
|
filesWithErrors.forEach(file => {
|
||||||
`Invalid JSON Schema in ${
|
console.error(`Invalid JSON Schema in ${file}`)
|
||||||
filesWithErrors.length
|
})
|
||||||
} files at ${filesWithErrors.join(",")}`
|
exit(-1);
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
console.info("Schema check completed successfully");
|
||||||
|
exit(0);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user