mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-07-22 21:55:52 +00:00
Add Solana entry to all generated per-version chains.json outputs
The earlier PR (#55) only updated the pezkuwi-overlay source file, not
the generated chains/v*/[android/]chains*.json outputs the app actually
fetches at runtime (BuildConfig.CHAINS_URL points at
chains/v22/android/chains.json on this exact branch) - this is why a
real-device install still showed no Solana network/token. Mirrors
Bitcoin's own commit (78b0af9), which updated the overlay AND all 63
generated files in one change. Inserted right after the Bitcoin entry
in every v2-v22 chains.json/chains_dev.json/android/chains.json, using
ensure_ascii=False to avoid re-escaping unrelated non-ASCII chain names
already present in these files (caught and reverted a first attempt
that had done this by accident). Also copies the Solana icons into
pezkuwi-overlay/icons/ to match Bitcoin's dual-location icon pattern.
This commit is contained in:
@@ -337,6 +337,49 @@
|
||||
"themeColor": "#F7931A"
|
||||
}
|
||||
},
|
||||
{
|
||||
"chainId": "solana:mainnet",
|
||||
"name": "Solana",
|
||||
"icon": "https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/icons/chains/gradient/Solana.svg",
|
||||
"addressPrefix": 0,
|
||||
"options": [
|
||||
"solanaBased",
|
||||
"noSubstrateRuntime"
|
||||
],
|
||||
"nodeSelectionStrategy": "roundRobin",
|
||||
"nodes": [
|
||||
{
|
||||
"url": "https://api.mainnet-beta.solana.com",
|
||||
"name": "Solana"
|
||||
}
|
||||
],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Solana Explorer",
|
||||
"extrinsic": "https://explorer.solana.com/tx/{value}",
|
||||
"account": "https://explorer.solana.com/address/{value}"
|
||||
}
|
||||
],
|
||||
"externalApi": {},
|
||||
"assets": [
|
||||
{
|
||||
"assetId": 0,
|
||||
"symbol": "SOL",
|
||||
"precision": 9,
|
||||
"name": "Solana",
|
||||
"priceId": "solana",
|
||||
"staking": null,
|
||||
"type": "solanaNative",
|
||||
"icon": "https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/icons/tokens/colored/SOL.svg",
|
||||
"buyProviders": {},
|
||||
"sellProviders": {},
|
||||
"typeExtras": null
|
||||
}
|
||||
],
|
||||
"additional": {
|
||||
"themeColor": "#9945FF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"chainId": "91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3",
|
||||
"name": "Polkadot",
|
||||
|
||||
Reference in New Issue
Block a user