Skip to content

Constellation-Labs/tessellation

Repository files navigation

Tessellation

build Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge

The Constellation Network Node Software, written in Scala, ready for Kubernetes Deployment.

Documentation

Thorough resources are available on the documentation site.

The Constellation Network Primer provides an overview of the Constellation Network.

Dev Setup / Contributing

Quick Start

Run node-clusters from source-code, using a local kubernetes.

Prerequisites

  1. sbt
  2. Docker Desktop with Kubernetes enabled
  3. Skaffold CLI

Starting clusters

# within tesselation root
skaffold dev --trigger=manual

This will start both L0 and L1 clusters on kubernetes using current kube-context.

Initial validators for L0 and L1 have their public ports mapped to local ports 9000 and 9010 respectively.

curl localhost:9000/cluster/info
curl localhost:9010/cluster/info

This will return a list of validators on L0 and L1. By default, both L0 and L1 clusters starts with 3 validators (1 initial and 2 regular).

Scaling a cluster

kubectl scale deployment/l0-validator-deployment --replicas=9

This scales the L0 cluster to 10 validators total: 1 initial and 9 regular.

Going Deeper

The full Validator Node Documentation

License

Apache License 2.0