Run a very lean Cardano explorer node. This is an alternative to having to do it yourself. We've worked hard to make this as simple as possible, so that it is the most stable, easily deployable cardano image out there.
If you're running an Ubuntu box, you can use this script to set up a suitable Docker environment. Either way, you'll need Docker installed.
# First, set up some directories we'll use as our volumes
# You're free to change these, just be sure to change the commands below
sudo mkdir -p /cardano/state-wallet-mainnet && sudo chmod -R 777 /cardano/state-wallet-mainnet
docker pull planetcardano/cardano-explorer
docker run -d -v /cardano/state-wallet-mainnet:/home/cardano/cardano-sl/state-wallet-mainnet -p "8100:8100" planetcardano/cardano-explorer:1.2
curl http://localhost:8100/api/blocks/pages/total
Full source code, including an example docker-compose.yml are available on our Github. This version of the container supports a beta release of the v1 API, which is documented here.
Brought to you with love from Planet Cardano
Please come and chat with us on Telegram
Please contribute! Anyone that adds a line of code gets a 🍺. Anyone that can remove a line of code gets 🍺🍺🍺🍺🍺🍺!
We want this image to be as simple as possible, so removing complexity is important to us. So is version pinning everything.
If you want to contribute to Cardano and aren't sure where to begin, please get in touch and we'll help you somehow.