vegaprotocol / vegacapsule

Run a complete Vega Protocol network locally
MIT License
4 stars 7 forks source link

Add block explorer backend to vegacapsule #280

Open daniel1302 opened 2 years ago

daniel1302 commented 2 years ago

We have a backend for block explorer. We added it to stagnet3 here: https://github.com/vegaprotocol/networks-internal/pull/120/files

But it would be nice to add support for it in vegacapsule.

Useful commands:

Related PRs:

zale144 commented 1 year ago

This one is a bit of a challenge. I believe the work I did previously to accommodate the bots into capsule (https://github.com/vegaprotocol/vegacapsule/pull/374) would be adequate for this use case. The idea for that run-custom-binaries PR is to be able to run any binary as long as we provide the config template and correct path and command with args. In the case of BE it's a bit more complicated because we e need to implement a mechanism that would initiate the database prior to starting the BE backend. I'm not entirely sure where that would happen. If not run custom binaries, then probably best hardcode it.