From f5d7dff3edc1a3cce04909c28cdcdb0836c227ee Mon Sep 17 00:00:00 2001 From: Bassgeta Date: Thu, 19 Mar 2026 09:53:05 +0100 Subject: [PATCH 1/3] fix: denominate tron currencies as erc20 --- src/types/index.ts | 1 + tokens/token-list.json | 4 ++-- versions/v1.5.0.json | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/types/index.ts b/src/types/index.ts index d67a0d1..eb99c39 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -26,6 +26,7 @@ export enum TokenType { ISO4217 = "ISO4217", ERC20 = "ERC20", ETH = "ETH", + // TODO change the token lists for Tron to use TRC20 after we fix https://github.com/RequestNetwork/requestNetwork/issues/1713 TRC20 = "TRC20", } diff --git a/tokens/token-list.json b/tokens/token-list.json index 73c76b1..dcfee98 100644 --- a/tokens/token-list.json +++ b/tokens/token-list.json @@ -8176,7 +8176,7 @@ "decimals": 6, "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "network": "tron", - "type": "TRC20", + "type": "ERC20", "hash": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "chainId": 728126428 }, @@ -8187,7 +8187,7 @@ "decimals": 6, "address": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8", "network": "tron", - "type": "TRC20", + "type": "ERC20", "hash": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8", "chainId": 728126428 } diff --git a/versions/v1.5.0.json b/versions/v1.5.0.json index d87fdc3..dbf270b 100644 --- a/versions/v1.5.0.json +++ b/versions/v1.5.0.json @@ -8176,7 +8176,7 @@ "decimals": 6, "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "network": "tron", - "type": "TRC20", + "type": "ERC20", "hash": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "chainId": 728126428 }, @@ -8187,7 +8187,7 @@ "decimals": 6, "address": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8", "network": "tron", - "type": "TRC20", + "type": "ERC20", "hash": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8", "chainId": 728126428 } From 8e9ec7466c5be7dcdd82693eee701dcc8684b12a Mon Sep 17 00:00:00 2001 From: Bassgeta Date: Thu, 19 Mar 2026 10:08:18 +0100 Subject: [PATCH 2/3] fix: undo changes in versioned file, update patch version --- tokens/token-list.json | 2 +- versions/v1.5.0.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tokens/token-list.json b/tokens/token-list.json index dcfee98..26e1d0c 100644 --- a/tokens/token-list.json +++ b/tokens/token-list.json @@ -4,7 +4,7 @@ "version": { "major": 1, "minor": 5, - "patch": 0 + "patch": 1 }, "tokens": [ { diff --git a/versions/v1.5.0.json b/versions/v1.5.0.json index dbf270b..d87fdc3 100644 --- a/versions/v1.5.0.json +++ b/versions/v1.5.0.json @@ -8176,7 +8176,7 @@ "decimals": 6, "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "network": "tron", - "type": "ERC20", + "type": "TRC20", "hash": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "chainId": 728126428 }, @@ -8187,7 +8187,7 @@ "decimals": 6, "address": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8", "network": "tron", - "type": "ERC20", + "type": "TRC20", "hash": "TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8", "chainId": 728126428 } From 72526dd1044f7110d5f0ca4467c14c427b4638f6 Mon Sep 17 00:00:00 2001 From: Bassgeta Date: Thu, 19 Mar 2026 10:09:27 +0100 Subject: [PATCH 3/3] fix: remove trailing whitespace --- tokens/token-list.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokens/token-list.json b/tokens/token-list.json index 26e1d0c..2948f84 100644 --- a/tokens/token-list.json +++ b/tokens/token-list.json @@ -8176,7 +8176,7 @@ "decimals": 6, "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "network": "tron", - "type": "ERC20", + "type": "ERC20", "hash": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "chainId": 728126428 },