Closed p4u closed 3 years ago
Implement a block explorer for the Tendermint based Vocdoni blockchain (vochain).
There is an existing old tendermint block explorer that might be useful to look at, the code can be found here.
In order to test it locally a testsuit docker-compose can be started as shown in the developer starting guide.
The file ./src/store/modules/blockchain.js of the vochain-explorer should be modified as follows:
./src/store/modules/blockchain.js
const state = { rpc: "http://127.0.0.1:26681",
Then the explorer can be compiled and executed:
yarn yarn serve
The tendermint RPC API should be used for basic blockchain information (validators, number of blocks, etc).
And the Gateway API on websockets port 9090 should be used for specific Vocdoni information (such as getProcessList, getEnvelopeStatus, etc)
The block explorer should allow:
Basic information regarding the Vochain can be found here (OUTDATED but mostly valid) .
A pure-go, nice framework, that could be used is https://github.com/gopherjs/vecty
Issue in progress at https://gitlab.com/vocdoni/vocexplorer
Done at https://github.com/vocdoni/vocexplorer
Implement a block explorer for the Tendermint based Vocdoni blockchain (vochain).
There is an existing old tendermint block explorer that might be useful to look at, the code can be found here.
In order to test it locally a testsuit docker-compose can be started as shown in the developer starting guide.
The file
./src/store/modules/blockchain.js
of the vochain-explorer should be modified as follows:Then the explorer can be compiled and executed:
The tendermint RPC API should be used for basic blockchain information (validators, number of blocks, etc).
And the Gateway API on websockets port 9090 should be used for specific Vocdoni information (such as getProcessList, getEnvelopeStatus, etc)
The block explorer should allow:
Basic information regarding the Vochain can be found here (OUTDATED but mostly valid) .
A pure-go, nice framework, that could be used is https://github.com/gopherjs/vecty