Solo With Mirror Node
User can deploy a solo network with mirror node by running the following command:
export SOLO_CLUSTER_NAME=solo-cluster
export SOLO_NAMESPACE=solo-e2e
export SOLO_CLUSTER_SETUP_NAMESPACE=solo-cluster-setup
export SOLO_DEVELOPMENT=solo-deployment
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 deployment create --namespace "${SOLO_NAMESPACE}" --context kind-"${SOLO_CLUSTER_NAME}" --email john@doe.com --deployment-clusters kind-"${SOLO_CLUSTER_NAME}" --cluster-ref kind-"${SOLO_CLUSTER_NAME}" --deployment "${SOLO_DEVELOPMENT}" --node-aliases node1,node2
solo network deploy --deployment "${SOLO_DEVELOPMENT}" -i node1,node2
solo node setup --deployment "${SOLO_DEVELOPMENT}" -i node1,node2
solo node start --deployment "${SOLO_DEVELOPMENT}" -i node1,node2
solo mirror-node deploy --deployment "${SOLO_DEVELOPMENT}"
kubectl port-forward svc/haproxy-node1-svc -n "${SOLO_NAMESPACE}" 50211:50211 > /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.