From 7fcbb4fd2d1f60f6fb592074640240ede3f003ef Mon Sep 17 00:00:00 2001 From: Peter Grassberger Date: Fri, 13 Oct 2023 12:06:13 +0200 Subject: [PATCH] add monerium tokenlist and fix update.sh --- update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 5680f49..02b6874 100755 --- a/update.sh +++ b/update.sh @@ -147,11 +147,13 @@ echo "validated kovan list with $(jq '.|length' testnets.json) elements" ########### NON-SPECIFIC NETWORK ############ nonSpecificSource1="https://raw.githubusercontent.com/superfluid-finance/tokenlist/main/superfluid.tokenlist.json" +nonSpecificSource2="https://monerium.app/tokens.json" # here jq just validates the content curl -f -s $nonSpecificSource1 | jq '.tokens' > nonspecific1.json || true +curl -f -s $nonSpecificSource2 | jq '.tokens' > nonspecific2.json || true # concat into one file -jq -s '.|flatten' lab10_nonspecific_overlay.json nonspecific1.json > nonspecific0.json +jq -s '.|flatten' nonspecific1.json nonspecific2.json > nonspecific0.json deduplicate nonspecific0.json nonspecific.json # cleanup rm -f nonspecific?.json