My extended.json metadata isnt working on Adapools.org
If anyone can tell me what I did wrong that would be very helpful.
My extended.json metadata isnt working on Adapools.org
If anyone can tell me what I did wrong that would be very helpful.
U have more { than }
It’s seems u didn’t close the info
Add at the end one more }
Also line 19 does not need a comma at the end.
Do you mean line 18?
Line 18 yes
Sometimes the syntax is fine but the encoding is not right. Our json is UTF-8 and works fine.
How do you reencode into UTF?
Yes sorry it was late for me. I did not have to worry about utf-8 sort of thing but then again did everything on Linux or was it Mac but either way. I took the example given and modified it, then submitted. Also I used JQ to check json syntax previously.
cat extended.json | jq
Regards,
COINZ Pool
first… in ur metadata file I don’t see the extended metadata url added (example: https://charity-pool.ro/metadata.json)
second… u need to delete “,” from the end of row 18; and also add another } at the end
Cheers,
I did those things;
aa ok, then now it’s fine after I tiped ctrl+F5 sorry… but did u checked on adapools to metadata? same error for extended?
can u make a test?
try to keep only this:
{
"info": {
"url_png_icon_64x64": "https://raw.githubusercontent.com/diicasses/pool/master/anti.biz_skull_40x40.png",
"url_png_logo": "https://raw.githubusercontent.com/diicasses/pool/master/anti.biz_skull_50x50.png",
"location": "Ione, Body Island",
"social": {
"instagram_handle": "anti.biz",
"discord_handle": "https://discord.gg/eBaHEhF",
"reddit_handle": "https://www.reddit.com/user/antibiz/",
"twitter_handle": "antibiz_",
"facebook_handle": "anti.biz",
"youtube_handle": "antibiz",
"twitch_handle": "antibiz",
"telegram_handle": "https://t.me/skull_pool",
"github_handle": "diicasses"
},
"company": {
"name": "ANTI.BIZ"
},
"about": {
"me": "Just a crazy skeleton hacker from the year 2227",
"server": "4x Ubuntu 20.04 LTS servers running in Amazon AWS",
"company": "Amazon"
},
"my-pool-ids": {
"0": "pool1h0v99elmvl50rqk778ue6g49r3mtgq3z4draq6pzy0nqv000frd",
"1": "bbd852e7fb67e8f182def1f99d22a51c76b40222ab47d0682223e606"
}
}
}
Cheers
try my above test…
yes, be careful that the forum change the format for characther " … u will need to replace from the keyboard wait to add it with the correct format
{
"info": {
"url_png_icon_64x64": "https://raw.githubusercontent.com/diicasses/pool/master/anti.biz_skull_40x40.png",
"url_png_logo": "https://raw.githubusercontent.com/diicasses/pool/master/anti.biz_skull_50x50.png",
"location": "Ione, Body Island",
"social": {
"instagram_handle": "anti.biz",
"discord_handle": "https://discord.gg/eBaHEhF",
"reddit_handle": "https://www.reddit.com/user/antibiz/",
"twitter_handle": "antibiz_",
"facebook_handle": "anti.biz",
"youtube_handle": "antibiz",
"twitch_handle": "antibiz",
"telegram_handle": "https://t.me/skull_pool",
"github_handle": "diicasses"
},
"company": {
"name": "ANTI.BIZ"
},
"about": {
"me": "Just a crazy skeleton hacker from the year 2227",
"server": "4x Ubuntu 20.04 LTS servers running in Amazon AWS",
"company": "Amazon"
},
"my-pool-ids": {
"0": "pool1h0v99elmvl50rqk778ue6g49r3mtgq3z4draq6pzy0nqv000frd",
"1": "bbd852e7fb67e8f182def1f99d22a51c76b40222ab47d0682223e606"
}
}
}
perfect, wait few minutes now
yes, I know… it will work now
How do I add in the rest?
},
“rss”: “Anti.biz - Blog”
},
},
“adapools_ext”: {
“prometheus”: {
“0”: {
“name”: “relay 1”,
“type”: “relay”,
“key”: “27a2d43715da5ea80e8bcd05a7557125”
},
“1”: {
“name”: “relay 2”,
“type”: “relay”,
“key”: “a32a32f05fe10820108ef09484bd4b42”
},
“2”: {
“name”: “block producer”,
“type”: “bp”,
“key”: “54f6f97fa4a5a4e1b88c445f4a2a2554”
}
}
}
}
}