hidden |
---|
true |
The following sections summarize the commands of Mandala Chain nodes you need for different cases. For any more details, you can consult the help page:
madya-solo --help
Collator
{% tabs %} {% tab title="Madya" %}
[Unit]
Description=Madya Solo
[Service]
User=madya
Group=madya
ExecStart=/usr/local/bin/madya-solo \
--pruning archive \
--validator \
--name {VALIDATOR_NAME} \
--chain madya \
--base-path /var/lib/madya \
--trie-cache-size 0 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
{% endtab %}
{% tab title="Niskala" %}
[Unit]
Description=Vraja Solo
[Service]
User=madya
Group=madya
ExecStart=/usr/local/bin/madya-solo \
--pruning archive \
--validator \
--name {VALIDATOR_NAME} \
--chain solo\
--base-path /var/lib/niskala\
--trie-cache-size 0 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
{% endtab %} {% endtabs %}
{% tabs %} {% tab title="Madya" %}
docker run -d \
--name madya-container \
-u $(id -u madya):$(id -g madya) \
-p 30333:30333 \
-v "/var/lib/madya/:/data" \
mandalachain/madya-solo:latest \
madya-solo \
--pruning archive \
--validator \
--name {VALIDATOR_NAME} \
--chain madya \
--base-path /data \
--trie-cache-size 0 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
{% endtab %}
{% tab title="Vraja" %}
docker run -d \
--name vraja-container \
-u $(id -u madya):$(id -g madya) \
-p 30333:30333 \
-v "/var/lib/madya/:/data" \
mandalachain/madya-solo:latest \
madya-solo \
--pruning archive \
--validator \
--name {VALIDATOR_NAME} \
--chain niskala \
--base-path /data \
--trie-cache-size 0 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
{% endtab %} {% endtabs %}
{% tabs %} {% tab title="Madya" %}
[Unit]
Description=Madya Solo node
[Service]
User=madya
Group=madya
ExecStart=/usr/local/bin/madya-solo \
--pruning archive \
--rpc-cors all \
--name {NODE_NAME} \
--chain madya \
--base-path /var/lib/madya \
--rpc-external \
--rpc-methods Safe \
--rpc-max-request-size 1 \
--rpc-max-response-size 1 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
{% endtab %}
{% tab title="Niskala" %}
[Unit]
Description=Niskala Archive node
[Service]
User=madya
Group=madya
ExecStart=/usr/local/bin/madya-solo \
--pruning archive \
--rpc-cors all \
--name {NODE_NAME} \
--chain niskala \
--base-path /var/lib/niskala \
--rpc-external \
--rpc-methods Safe \
--rpc-max-request-size 1 \
--rpc-max-response-size 1 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
{% endtab %} {% endtabs %}
{% tabs %} {% tab title="Madya" %}
docker run -d \
--name madya-container \
-u $(id -u madya):$(id -g madya) \
-p 30333:30333 \
-p 9944:9944 \
-v "/var/lib/madya/:/data" \
mandalachain/madya-collator:latest \
madya-collator \
--pruning archive \
--rpc-cors all \
--name {NODE_NAME} \
--chain madya \
--base-path /data \
--rpc-external \
--rpc-methods Safe \
--rpc-max-request-size 1 \
--rpc-max-response-size 1 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
{% endtab %}
{% tab title="Vraja" %}
docker run -d \
--name vraja-container \
-u $(id -u madya):$(id -g madya) \
-p 30333:30333 \
-p 9944:9944 \
-v "/var/lib/madya/:/data" \
mandalachain/madya-collator:latest \
madya-collator \
--pruning archive \
--rpc-cors all \
--name {NODE_NAME} \
--chain niskala \
--base-path /data \
--rpc-external \
--rpc-methods Safe \
--rpc-max-request-size 1 \
--rpc-max-response-size 1 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
{% endtab %} {% endtabs %}
Specific cases command args
External monitoring
--prometheus-external
Full command documentation
To see full node command binary embedded documentation, please use the help option.
$ ./madya-solo -h
\