Przeglądaj źródła

contrib/token: Update lists.

parazyd 4 lat temu
rodzic
commit
aa67b94275

+ 2 - 2
contrib/token/Makefile

@@ -12,12 +12,12 @@ SOL = https://github.com/solana-labs/token-list/raw/main/src/tokens/solana.token
 all: $(LISTS)
 all: $(LISTS)
 
 
 erc20_token_list.json:
 erc20_token_list.json:
-	$(DLTOOL) $(ERC20) > $@
+	$(DLTOOL) $(ERC20) | jq -r > $@
 
 
 solana_token_list.json:
 solana_token_list.json:
 	$(DLTOOL) $(SOL) | sed \
 	$(DLTOOL) $(SOL) | sed \
 		-e 's@"symbol": "BTC"@"symbol": "SBTC"@' \
 		-e 's@"symbol": "BTC"@"symbol": "SBTC"@' \
 		-e 's@"symbol": "ETH"@"symbol": "SETH"@' \
 		-e 's@"symbol": "ETH"@"symbol": "SETH"@' \
-		> $@
+		| jq -r > $@
 
 
 .PHONY: all $(LISTS)
 .PHONY: all $(LISTS)

Plik diff jest za duży
+ 0 - 0
contrib/token/erc20_token_list.json


Plik diff jest za duży
+ 251 - 106
contrib/token/solana_token_list.json


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików