Solo With Mirror Node
⚠️ Warning This document is out of date for the current release. See Step-by-step Guide for the updated base commands to run that can be augmented with the extra flags and values provided in this guide. Hedera services and Platform SDK have moved to hiero-consensus-node repo https://github.com/hiero-ledger/hiero-consensus-node
User can deploy a solo network with mirror node by running the following command:
export SOLO_CLUSTER_NAME=solo-e2e
export SOLO_NAMESPACE=solo-e2e
export SOLO_CLUSTER_SETUP_NAMESPACE=solo-cluster-setup
kind delete cluster -n "${SOLO_CLUSTER_NAME}"
kind create cluster -n "${SOLO_CLUSTER_NAME}"
solo init
solo node keys --gossip-keys --tls-keys -i node1,node2
solo cluster setup --cluster-setup-namespace "${SOLO_CLUSTER_SETUP_NAMESPACE}"
solo network deploy -n "${SOLO_NAMESPACE}" -i node1,node2
solo node setup -n "${SOLO_NAMESPACE}" -i node1,node2
solo node start -n "${SOLO_NAMESPACE}" -i node1,node2
solo mirror-node deploy -n "${SOLO_NAMESPACE}"
kubectl port-forward svc/haproxy-node1-svc -n "${SOLO_NAMESPACE}" 50211:50211 > /dev/null 2>&1 &
kubectl port-forward svc/hedera-explorer -n "${SOLO_NAMESPACE}" 8080:80 > /dev/null 2>&1 &
Then you can access the hedera explorer at http://localhost:8080
Or you can use Task tool to deploy solo network with mirror node with a single command link
Next, you can try to create a few accounts with solo and see the transactions in the explorer.
solo account create -n solo-e2e --hbar-amount 100
solo account create -n solo-e2e --hbar-amount 100
Or you can use Hedera JavaScript SDK examples to create topic, submit message and subscribe to the topic.