Open kelsos opened 2 years ago
After talking with @kelsos, I believe if we could provide rotki a config file (json/yaml) it would significantly improve the packaging on Dappnode.
I could create a file on dappnodes end, something like this:
"nodes": {
"fullnode": {
"name": "fullnode.dappnode",
"weight": 100,
"port": 8545,
"chain": "Ethereum"
},
"kusamanode": {
"name": "kusama.dappnode",
"weight": 100,
"port": 9999,
"chain": "Kusama"
},
"polkadot": {
"name": "polkadot.dappnode",
"weight": 100,
"port": 9423,
"chain": "Polkadot"
}
}
}
We could then place this file in /config/nodes.json and rotki could read the file via the flag --nodes /config/nodes.json
.
Rotkis backend could then populate Ethereum RPC Nodes
and both Local Nodes
fields.
I am, of course, open for changes and additions to this format!
@yabirgb @LefterisJP for this we need changes so that the backend can support this format and get the config done automatically
Abstract
Automatically setup the app when using dappnode