Skip to content

hcwilk/polkadot-mempool-explorer

 
 

Repository files navigation

Polkadot Mempool Explorer

Mempool Explorer allow users to monitor pending transactions on Polkadot.

Environment setup

  • Install Node.js
    • Recommended method is by using NVM
    • Recommended Node.js version is v12
  • Install Docker

Demo

mempool.dot.protofire.io

Custom Polkadot Node

In order to track extrinsics lifecycle. We added a new RPC method (author_trackExtrinsic) on Substrate core.

This basically allows someone to subscribe and track status changes in the extrinsics lifecycle, for example movements getting in or out of queues, and everything that matters for us before including those extrinsics in blocks.

Get Started

In the project directory, you can run:

npm start:dev

Runs the docker containers in the development mode.
Open localhost:8084 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm down

Stops containers and removes containers, networks, volumes, and images created by npm start:dev

npm restart

Restarts api and web services.

npm logs

Displays log output from all services.

npm web:rebuild

Removes web container and build it again

npm api:rebuild

Removes api container and build it again

npm api:restart

Restarts api service.

npm web:restart

Restarts web service.

npm api:logs

Displays log output from api service.

npm web:logs

Displays log output from web service.

npm polkadot-local:logs

Displays log output from custom polkadot-local service.

npm polkadot-westend:logs

Displays log output from custom polkadot-westend service.

npm polkadot-main:logs

Displays log output from custom polkadot-main service.

Contributing

Code of Conduct

Code of Conduct

License

Mempool Explorer is Apache 2.0 licensed.

About

Mempool Explorer allow users to monitor pending transactions on Polkadot.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 70.2%
  • JavaScript 26.7%
  • HTML 2.7%
  • Other 0.4%