Sign inSign up

uniasset/calcium-bin

By uniasset

Updated over 6 years ago

Calcium Node

Image
0

275

uniasset/calcium-bin repository overview

Calcium Node

Calcium Node is a p2p network node with the following features:

Images

  • calcium-bin:latest build is for the staging features testing
  • calcium-bin:stable- not available yet

Monitoring UI

By default monitoring web-interface for Calcium Node is accessible via http://localhost:55775

First run

Calcium Node can be initialized either with automatically generated random keys or with keys derived from your credentials. In command-line mode Calcium Node normally asks you about the information needed to generate keys. In docker mode choose one of the following initialization scripts.

Initializing from credentials

Initializing Calcium Node from credentials will let you recreate a fresh installation of the node with the same public keys - even if you have all data and configuration files deleted. Calcium Node uses the scrypt like memory greedy algorithm to generate root keys. Root keys are used later to derive all other needed public keys and IDs.

The best effort was made to make brute-forcing your credentials relatively difficult, but you must keep in mind that this is still possible with enough of resources. To make your credentials more secure - use very long username, password, 6-9 digit pin code and several rounds of hashing.

Feel free to change 'my_node' to any valid name you like.

sudo docker run -d                 \
    --name calcium-bin             \
                                             \
      -v `pwd`/data/log:/var/log/calcium     \
      -v `pwd`/data/config:/root/config      \
      -v `pwd`/data/.my_node:/root/.my_node  \
                                                    \
    -e CALCIUM_PUBLIC_NAME=my_node                  \
    -e CALCIUM_ROOT_CREDENTIALS=manual              \
    -e CALCIUM_ROOT_CREDENTIALS_USERNAME="at least 8 chars"          \
    -e CALCIUM_ROOT_CREDENTIALS_PASSWORD="at least 8 chars"          \
    -e CALCIUM_ROOT_CREDENTIALS_PIN="4-9 digits"               \
    -e CALCIUM_ROOT_CREDENTIALS_ROUNDS="min value 0"            \
                                        \
    -e CALCIUM_PORT_WEBSOCKET=54820     \
        -p 54820:54820                  \
                                                   \
    -e CALCIUM_PORT_DAEMON_MONITORING_UI=55775     \
        -p 55775:55775                             \
                                        \
  uniasset/calcium-bin:latest
Initializing from random keys

If you do not want to rely on the credentials as a seed data for your keys you can run Calcium Node with random keys generation. In this case make sure you backup the configuration file, since it contains the root key which can not be recovered if lost.

Feel free to change 'my_node' to any valid name you like.

sudo docker run -d                 \
    --name calcium-bin             \
                                             \
      -v $(pwd)/data/log:/var/log/calcium     \
      -v $(pwd)/data/config:/root/config      \
      -v $(pwd)/data/.my_node:/root/.my_node  \
                                                    \
    -e CALCIUM_PUBLIC_NAME=my_node                  \
    -e CALCIUM_ROOT_CREDENTIALS=random              \

                                        \
    -e CALCIUM_PORT_WEBSOCKET=54820     \
        -p 54820:54820                  \
                                                   \
    -e CALCIUM_PORT_DAEMON_MONITORING_UI=55775     \
        -p 55775:55775                             \
                                        \
  uniasset/calcium-bin:latest

Tag summary

Content type

Image

Digest

Size

67 MB

Last updated

over 6 years ago

docker pull uniasset/calcium-bin