Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Hyperledger blockchain-explorer

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Xiaobian to share with you how to use Hyperledger blockchain-explorer, I believe most people do not know how to use it, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go and find out about it together!

1. entered the catalogue

/opt/gopath/src/github.com/hyperledger/blockchain-explorer

Create psg.yaml

# Use postgres/example user/password credentialsversion: '3.1'services: db: image: postgres restart: always environment: POSTGRES_PASSWORD: postgres ports: - 5432:5432 volumes: - ./ psgdata:/var/lib/postgresql/data adminer: image: adminer restart: always ports: - 8081:8080

Start DB

docker-compose -f psg.yaml up

After startup, localhost:8081 does not administer the management interface, 5432 is db port

Log in postgres/postgres, create database and tables, use script for

app/persistance/postgreSQL/db/*.sql

Make sure the configuration in the file/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/persistence/post/db/pgconfig.json matches the real environment.

2. Run npm install on all directories with package.json

Start the first-network in fabric-samples

Start app usage

cd appnode main.js

Start client

cd clientnpm run start The above is "Hyperledger blockchain-explorer how to use" All the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report