Sfoglia il codice sorgente

contrib/token: Add XMR token list.

parazyd 4 anni fa
parent
commit
f77f9ce13f
2 ha cambiato i file con 17 aggiunte e 1 eliminazioni
  1. 5 1
      contrib/token/Makefile
  2. 12 0
      contrib/token/monero_token_list.json

+ 5 - 1
contrib/token/Makefile

@@ -6,7 +6,8 @@ LISTS = \
 	darkfi_token_list \
 	bitcoin_token_list \
 	erc20_token_list \
-	solana_token_list
+	solana_token_list \
+	monero_token_list
 
 LISTS_JSON = $(LISTS:=.json)
 LISTS_MIN  = $(LISTS:=.min.json)
@@ -25,6 +26,9 @@ darkfi_token_list.json:
 bitcoin_token_list.json:
 	git checkout -- $@
 
+monero_token_list.json:
+	git checkout -- $@
+
 erc20_token_list.json:
 	$(DLTOOL) $(ERC20) | jq -r > $@
 

+ 12 - 0
contrib/token/monero_token_list.json

@@ -0,0 +1,12 @@
+{
+  "name": "Monero Token List",
+  "tokens": [
+    {
+      "chainId": 1,
+      "address": "888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H",
+      "symbol": "XMR",
+      "name": "Monero",
+      "decimals": 12
+    }
+  ]
+}