diff --git a/_data/chains/eip155-11297108099.json b/_data/chains/eip155-11297108099.json
index 6bda9507..a4a7cfee 100644
--- a/_data/chains/eip155-11297108099.json
+++ b/_data/chains/eip155-11297108099.json
@@ -1,7 +1,6 @@
{
"name": "Palm Testnet",
"chain": "Palm",
- "icon": "palm",
"rpc": ["https://palm-testnet.infura.io/v3/${INFURA_API_KEY}"],
"faucets": [],
"nativeCurrency": {
@@ -17,8 +16,7 @@
{
"name": "Palm Testnet Explorer",
"url": "https://explorer.palm-uat.xyz",
- "standard": "EIP3091",
- "icon": "palm"
+ "standard": "EIP3091"
}
]
}
diff --git a/_data/chains/eip155-11297108109.json b/_data/chains/eip155-11297108109.json
index ebeb47ad..e03b3902 100644
--- a/_data/chains/eip155-11297108109.json
+++ b/_data/chains/eip155-11297108109.json
@@ -1,7 +1,6 @@
{
"name": "Palm",
"chain": "Palm",
- "icon": "palm",
"rpc": ["https://palm-mainnet.infura.io/v3/${INFURA_API_KEY}"],
"faucets": [],
"nativeCurrency": {
@@ -17,8 +16,7 @@
{
"name": "Palm Explorer",
"url": "https://explorer.palm.io",
- "standard": "EIP3091",
- "icon": "palm"
+ "standard": "EIP3091"
}
]
}
diff --git a/_data/chains/eip155-900000.json b/_data/chains/eip155-900000.json
index eb6ea625..007b4bba 100644
--- a/_data/chains/eip155-900000.json
+++ b/_data/chains/eip155-900000.json
@@ -12,12 +12,10 @@
"shortName": "psc-s0",
"chainId": 900000,
"networkId": 900000,
- "icon": "posichain",
"explorers": [
{
"name": "Posichain Explorer",
"url": "https://explorer.posichain.org",
- "icon": "posichain",
"standard": "EIP3091"
}
]
diff --git a/_data/chains/eip155-910000.json b/_data/chains/eip155-910000.json
index 02399d91..b50f7c77 100644
--- a/_data/chains/eip155-910000.json
+++ b/_data/chains/eip155-910000.json
@@ -12,12 +12,10 @@
"shortName": "psc-t-s0",
"chainId": 910000,
"networkId": 910000,
- "icon": "posichain",
"explorers": [
{
"name": "Posichain Explorer Testnet",
"url": "https://explorer-testnet.posichain.org",
- "icon": "posichain",
"standard": "EIP3091"
}
]
diff --git a/_data/chains/eip155-920000.json b/_data/chains/eip155-920000.json
index d8dbc8b2..c7925ed1 100644
--- a/_data/chains/eip155-920000.json
+++ b/_data/chains/eip155-920000.json
@@ -12,12 +12,10 @@
"shortName": "psc-d-s0",
"chainId": 920000,
"networkId": 920000,
- "icon": "posichain",
"explorers": [
{
"name": "Posichain Explorer Devnet",
"url": "https://explorer-devnet.posichain.org",
- "icon": "posichain",
"standard": "EIP3091"
}
]
diff --git a/_data/chains/eip155-920001.json b/_data/chains/eip155-920001.json
index 3c8ada3c..1470cc41 100644
--- a/_data/chains/eip155-920001.json
+++ b/_data/chains/eip155-920001.json
@@ -12,12 +12,10 @@
"shortName": "psc-d-s1",
"chainId": 920001,
"networkId": 920001,
- "icon": "posichain",
"explorers": [
{
"name": "Posichain Explorer Devnet",
"url": "https://explorer-devnet.posichain.org",
- "icon": "posichain",
"standard": "EIP3091"
}
]
diff --git a/_data/icons/crossbell.json b/_data/icons/crossbell.json
index 64b73f79..352a9bfa 100644
--- a/_data/icons/crossbell.json
+++ b/_data/icons/crossbell.json
@@ -2,7 +2,7 @@
{
"url": "ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",
"format": "svg",
- "width": 412,
- "height": 412
+ "width": 408,
+ "height": 408
}
]
diff --git a/_data/icons/ivar.json b/_data/icons/ivar.json
index 70be359c..66bf61b8 100644
--- a/_data/icons/ivar.json
+++ b/_data/icons/ivar.json
@@ -1,8 +1,8 @@
[
{
"url": "ipfs://QmV8UmSwqGF2fxrqVEBTHbkyZueahqyYtkfH2RBF5pNysM",
- "width": 524,
- "height": 524,
+ "width": 519,
+ "height": 519,
"format": "svg"
}
]
diff --git a/_data/icons/jfin.json b/_data/icons/jfin.json
index fba84fce..9d01a951 100644
--- a/_data/icons/jfin.json
+++ b/_data/icons/jfin.json
@@ -1,8 +1,8 @@
[
{
"url": "ipfs://bafkreie4uhrsk3vxxnpjm7tidupfxgib5ahnwqopf6elykdatshuo6yb4m",
- "width": 781,
- "height": 781,
+ "width": 773,
+ "height": 773,
"format": "svg"
}
]
diff --git a/_data/icons/kava.json b/_data/icons/kava.json
index da3221f4..bfd9bb94 100644
--- a/_data/icons/kava.json
+++ b/_data/icons/kava.json
@@ -1,6 +1,8 @@
[
{
"url": "ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",
+ "width": 1186,
+ "height": 360,
"format": "svg"
}
]
diff --git a/_data/icons/kek.json b/_data/icons/kek.json
index 4908467e..2beb30e8 100644
--- a/_data/icons/kek.json
+++ b/_data/icons/kek.json
@@ -1,8 +1,8 @@
[
{
"url": "ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",
- "width": 300,
- "height": 300,
+ "width": 401,
+ "height": 401,
"format": "svg"
}
]
diff --git a/_data/icons/palm.json b/_data/icons/palm.json
deleted file mode 100644
index 8b4c14b0..00000000
--- a/_data/icons/palm.json
+++ /dev/null
@@ -1,8 +0,0 @@
-[
- {
- "url": "ipfs://QmX6h8xm4em77oNpFRtmAqrZ734MH4VGCC68dEKHUfdfPs",
- "width": 1080,
- "height": 1080,
- "format": "svg"
- }
-]
diff --git a/_data/icons/posichain.json b/_data/icons/posichain.json
deleted file mode 100644
index 51659d34..00000000
--- a/_data/icons/posichain.json
+++ /dev/null
@@ -1,8 +0,0 @@
-[
- {
- "url": "ipfs://QmXqprM1TPafQFLirQ7dMPMgou1hoUGuCvHYSWU9g8ocv8",
- "width": 24,
- "height": 24,
- "format": "svg"
- }
-]
diff --git a/_data/icons/rabbit.json b/_data/icons/rabbit.json
index b53c9d5a..7766b6cb 100644
--- a/_data/icons/rabbit.json
+++ b/_data/icons/rabbit.json
@@ -1,8 +1,8 @@
[
{
"url": "ipfs://QmdfbjjF3ZzN2jTkH9REgrA8jDS6A6c21n7rbWSVbSnvQc",
- "width": 313,
- "height": 253,
+ "width": 310,
+ "height": 251,
"format": "svg"
}
]
diff --git a/_data/icons/techpay.json b/_data/icons/techpay.json
index ffe59419..c2a881d9 100644
--- a/_data/icons/techpay.json
+++ b/_data/icons/techpay.json
@@ -1,8 +1,8 @@
[
{
"url": "ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",
- "width": 584,
- "height": 707,
+ "width": 578,
+ "height": 701,
"format": "svg"
}
]
diff --git a/_data/icons/wagmi.json b/_data/icons/wagmi.json
index c69caf04..48b59402 100644
--- a/_data/icons/wagmi.json
+++ b/_data/icons/wagmi.json
@@ -1,8 +1,8 @@
[
{
"url": "ipfs://QmNoyUXxnak8B3xgFxErkVfyVEPJUMHBzq7qJcYzkUrPR4",
- "width": 500,
- "height": 500,
+ "width": 1920,
+ "height": 1920,
"format": "png"
}
]
diff --git a/_data/iconsDownload/QmXqprM1TPafQFLirQ7dMPMgou1hoUGuCvHYSWU9g8ocv8 b/_data/iconsDownload/QmXqprM1TPafQFLirQ7dMPMgou1hoUGuCvHYSWU9g8ocv8
deleted file mode 100644
index ed00aae4..00000000
--- a/_data/iconsDownload/QmXqprM1TPafQFLirQ7dMPMgou1hoUGuCvHYSWU9g8ocv8
+++ /dev/null
@@ -1,50 +0,0 @@
-
diff --git a/processor/build.gradle b/processor/build.gradle
index a26dbd7a..da7520ef 100644
--- a/processor/build.gradle
+++ b/processor/build.gradle
@@ -14,6 +14,10 @@ dependencies {
implementation 'com.squareup.moshi:moshi:1.14.0'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
+ implementation "com.twelvemonkeys.imageio:imageio-jpeg:3.9.3"
+ implementation "com.twelvemonkeys.imageio:imageio-batik:3.9.3"
+
+ implementation "org.apache.xmlgraphics:batik-rasterizer-ext:1.16"
implementation project(":model")
testImplementation "org.jetbrains.kotlin:kotlin-test:${KOTLIN_VERSION}"
diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt
index 14018ab1..4a45a34c 100644
--- a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt
+++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt
@@ -8,6 +8,7 @@ import org.ethereum.lists.chains.model.*
import org.kethereum.erc55.isValid
import org.kethereum.model.Address
import org.kethereum.rpc.HttpEthereumRPC
+import javax.imageio.ImageIO
import kotlin.io.OnErrorAction.*
val parsedShortNames = mutableSetOf()
@@ -152,10 +153,11 @@ fun checkIcon(icon: File, withIconDownload: Boolean, allIconCIDs: MutableSet