Open wehappyfew opened 8 months ago
I am reading this about adding details for new chains manually, but it is a ton of work.
Is there a way to just use the json object [like this for example] that will just contain any wanted chain ?? Maybe as an external config map when on k8s?
{ "count": 1, "next": null, "previous": null, "results": [ { "chainId": "999", "chainName": "zora-testnet", "shortName": "zora", "description": "zora testnet", "l2": false, "rpcUri": { "authentication": "NO_AUTHENTICATION", "value": "https://testnet.rpc.zora.energy" }, "safeAppsRpcUri": { "authentication": "NO_AUTHENTICATION", "value": "https://testnet.rpc.zora.energy" }, "publicRpcUri": { "authentication": "NO_AUTHENTICATION", "value": "https://testnet.rpc.zora.energy" }, "blockExplorerUriTemplate": { "address": "https://explorer.zora.energy/address/{{address}}", "txHash": "https://explorer.zora.energy/tx/{{txHash}}", "api": "https://explorer.zora.energy/api?module={{module}}&action={{action}}&address={{address}}&apiKey={{apiKey}}" }, "nativeCurrency": { "name": "Eth", "symbol": "eth", "decimals": 18, "logoUri": "http://nginx:8000/cfg/media/chains/999/currency_logo.png" }, "transactionService": "http://nginx:8000/txs", "vpcTransactionService": "http://nginx:8000/txs", "theme": { "textColor": "#ffffff", "backgroundColor": "#000000" }, "gasPrice": [], "ensRegistryAddress": null, "recommendedMasterCopyVersion": "1.3.0", "disabledWallets": [], "features": [] } ] }
I think that would be possible but should be handle in the config service project, maybe from a django command.
I am reading this about adding details for new chains manually, but it is a ton of work.
Is there a way to just use the json object [like this for example] that will just contain any wanted chain ?? Maybe as an external config map when on k8s?