{"id":18938754,"url":"https://github.com/airgap-it/tezblock","last_synced_at":"2025-04-15T19:30:34.168Z","repository":{"id":38635940,"uuid":"206601825","full_name":"airgap-it/tezblock","owner":"airgap-it","description":"tezblock is a block explorer for Tezos.","archived":false,"fork":false,"pushed_at":"2023-03-06T11:47:01.000Z","size":16154,"stargazers_count":29,"open_issues_count":11,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-29T01:12:48.393Z","etag":null,"topics":["blockexplorer","crypto","tezos"],"latest_commit_sha":null,"homepage":"https://tezblock.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/airgap-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-05T15:50:13.000Z","updated_at":"2024-04-22T06:39:20.000Z","dependencies_parsed_at":"2023-02-15T08:01:21.831Z","dependency_job_id":null,"html_url":"https://github.com/airgap-it/tezblock","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airgap-it%2Ftezblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airgap-it%2Ftezblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airgap-it%2Ftezblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airgap-it%2Ftezblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airgap-it","download_url":"https://codeload.github.com/airgap-it/tezblock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249138538,"owners_count":21218904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockexplorer","crypto","tezos"],"created_at":"2024-11-08T12:15:22.037Z","updated_at":"2025-04-15T19:30:30.521Z","avatar_url":"https://github.com/airgap-it.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./src/assets/img/tezblock-logo.png\" width=\"200px\"\u003e\n\n# tezblock\n\ntezblock is a block explorer for [Tezos](https://tezos.com), an open-source platform for assets and applications, backed by a global community of validators, researchers, and builders. tezblock is being built by [Papers](https://papers.ch/en), the team behind [AirGap](https://airgap.it).\n\n👉 [tezblock.io](https://tezblock.io) for the live version.\n\n## Local Deployment\n\ntezblock depends on the [Conseil](https://github.com/Cryptonomic/Conseil) protocol indexer. Follow the steps to deploy Conseil locally or read through the [README](https://github.com/Cryptonomic/Conseil/blob/master/README.md) in the Conseil GitHub repository.\n\n### Build and deploy Conseil\n\nClone the Conseil repository and `cd` into the cloned folder.\n\n    git clone https://github.com/Cryptonomic/Conseil.git\n    cd Conseil\n\nBuild the Conseil docker image\n\n    docker build -t conseil .\n\nEdit `docker-compose.yml` by changing the `image` value for the `conseil` and `lorre` services to `conseil` in order to use the docker image built in the previous step, or just leave the preconfigured value to use the published image.\n\nEdit `docker-compose.yml` by changing the `XTZ_Scheme`, `XTZ_Host`, `XTZ_Port` and `XTZ_Network` values to point to your own Tezos node, or just leave the preconfigured value to use the Cryptonomic node.\n\n#### Optional - Conseil performance optimization\n\nTo increase performance, uncomment the following line in the `docker-compose.yml` file:\n\n    \"./sql/conseil.sql:/docker-entrypoint-initdb.d/conseil.sql\"\n\nEdit the `sql/conseil.sql` file by adding:\n\n- `ALTER ROLE conseiluser SET search_path TO tezos,public;`\n- `ALTER DATABASE \"conseil-local\" SET search_path TO tezos,public;`\n- `CREATE INDEX ix_accounts_history_account_id ON tezos.accounts_history USING hash (account_id);`\n- `CREATE INDEX ix_operations_level ON tezos.operations USING hash (level);`\n- `CREATE INDEX ix_operations_level_kind ON tezos.operations USING btree (level,kind);`\n- `CREATE INDEX ix_operations_manager_pubkey ON tezos.operations USING hash (manager_pubkey);`\n- `CREATE INDEX ix_operations_operation_group_hash ON tezos.operations USING hash (operation_group_hash);`\n\nRun the Conseil instance\n\n    docker-compose up -d\n\n#### Setup local Tezos node\n\nTo run a Tezos node locally, clone Nautilus:\n\n    git clone https://github.com/airgap-it/Nautilus.git\n\nFrom the cloned repository, run:\n\n    bash ./docker/nautilus.sh -t\n\nThe above command will create and start a docker container with a Tezos node running in archive mode. The docker image name is `tezos-node-local`.\n\n### Build and deploy tezblock\n\nClone the tezblock repository and `cd` into the cloned folder.\n\n    git clone https://github.com/airgap-it/tezblock\n    cd tezblock\n\nEdit the `src/environments/environment.ts` and `src/environments/environment.prod.ts` files and change:\n\n- `MAINNET_RPC_URL` URL to the JSON RPC interface of a Tezos node\n- `MAINNET_CONSEIL_URL` URL of a running Conseil service\n- `MAINNET_CONSEIL_API_KEY` API key for the Conseil service\n- `MAINNET_TARGET_URL` Value can be set to the URL tezblock will be accessible from. Only needed if switching between the different network deployments is desired, otherwise this can be ignored\n\nIf support for test networks is needed, edit the testnet specific values, or ignore them otherwise.\n\nFrom the root of the tezblock folder, execute the following command to build tezblock:\n\n    yarn install\n    yarn build\n\nTo start tezblock on http://localhost:4200, execute:\n\n    yarn start\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairgap-it%2Ftezblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairgap-it%2Ftezblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairgap-it%2Ftezblock/lists"}