tezblock GitHub Release & Weekly Update #7

After the initial release of the tezblock MVP a few days ago to great feedback around the community we are also publishing tezblock now on GitHub with an MIT license.

In order to have a sustainable decentralized ecosystem it’s important to not having to rely and solely trust a certain party for various reasons. In the case of a block explorer having a way to verify the data in a similar environment is crucial.

That’s why it was our intention from the start of the tezblock development to have all code open source with an MIT license to use, contribute or modify in any way deemed necessary.

We’re looking forward to have participation from the community in terms of issues or pull requests.

👉 tezblock GitHub

👉 tezblock.io

Setting up and running tezblock locally

But as mentioned contribution to the hosted tezblock version is only one part. We want you to be able to run your own instance locally. For that you can find the detailed tutorial we published on GitHub.

Build and deploy Conseil

Install sbt , the Scala build tool:

On macOS:

brew install sbt

Clone Nautilus:

If a Tezos node running in archive mode is available, configure Conseil to point to that node in Nautilus/docker/config/local/conseil/conseil.conf . Conseil needs access to a Postgres database. From the Nautilus folder, execute:

bash ./docker/nautilus.sh -d

The above command will create and start a docker container with the Postgres database. The docker image name is postgres-local . Build and deploy Conseil. From the Nautilus folder, execute:

bash ./docker/nautilus.sh -c

The above command will create and start a docker container with Conseil running and listening on port 1337. The docker image name is conseil-local . The API key need to send requests to the Conseil REST interface can be found in Nautilus/docker/config/local/conseil/conseil.conf . The default value is aminal .

Build and deploy tezblock

Clone the tezblock repository.

Change the value of conseilBaseUrl in src/environments/environment.ts to point to the locally deployed instance of Conseil, http://localhost:1337. Also change the conseilApiKey value to the API key of your local Conseil instance.

From the root of the tezblock folder, execute the following command to build tezblock:

npm install

To start tezblock on http://localhost:4200, execute: