vocdoni / vocdoni-node

A set of libraries and tools for the Vocdoni decentralized backend infrastructure, the main ground of our universally verifiable, privacy-centric and scalable digital voting protocol
GNU Affero General Public License v3.0
86 stars 17 forks source link

Vochain Explorer #1

Closed p4u closed 3 years ago

p4u commented 4 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:

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

explorerMock

vochainVis

NateWilliams2 commented 4 years ago

Issue in progress at https://gitlab.com/vocdoni/vocexplorer

p4u commented 3 years ago

Done at https://github.com/vocdoni/vocexplorer