Polkascan Open-Source Application
git clone https://github.com/polkascan/polkascan-os.gitcd polkascan-osgit taggit checkout v0.x.xgit submodule update --init --recursivedocker-compose -p kusama -f docker-compose.kusama-quick.yml up --buildThe following steps will run a full Polkascan-stack that harvests blocks from a new local network.
git clone https://github.com/polkascan/polkascan-os.gitcd polkascan-osgit taggit checkout v0.x.xgit submodule update --init --recursivedocker-compose -p polymesh -f docker-compose-local.yml up -d mysqldocker-compose -p polymesh -f docker-compose-local.yml up --build- Polkascan Explorer GUI: http://127.0.0.1:8080
- Monitor harvester progress: http://127.0.0.1:8080/kusama/harvester/admin
- Harvester Task Monitor: http://127.0.0.1:5555
- Polkadot JS Apps: http://127.0.0.1:8081
- Polkadot CC1: Use
docker-compose.polkadot-cc1-quick.ymlanddocker-compose.polkadot-cc1-full.yml - Substrate Node Template (https://github.com/substrate-developer-hub/substrate-node-template): Use
docker-compose.substrate-node-template.yml
- Modify
harvester/app/type_registry/substrate-node-template.jsonto match the introduced types of the custom chain - Truncate
runtimeandruntime_*tables on database - Start harvester
- Check http://127.0.0.1:8080/node-template/runtime-type if all type are now correctly supported
- Monitor http://127.0.0.1:8080/node-template/harvester/admin if blocks are being processed and try to restart by pressing "Process blocks in harvester queue" if process is interupted.
Use the following commands with caution to cleanup your Docker environment.
docker system prunedocker system prune -adocker volume prune