4
Deployment
m724 edited this page 2026-04-29 07:17:09 +00:00
Table of Contents
Prerequisites
IPv6 is required. IPv4 is not supported.
Ports
DNS
dn42 DNS is required. Initial nodes are obtained from peering.coin.dn42. Currently, the bootstrap node list is as follows:
fdfe:8d0:7450:e10::dc
fdfe:8d0:7450:e20::dc
fdfe:8d0:7450:e30::dc
You might be able to set the IP addresses manually though.
Configuration
Config files are stored in your data dir. Read more…
Running
systemd (recommended)
[Container]
Image = git.m724.eu/dn724/dncurrency
AutoUpdate = registry
Volume = dncurrency:/nano/Nano
PublishPort = 42775:42775
PublishPort = 127.0.0.1:42776:42776
DNS = fdfe:8d0:7450:ffff::53
DNS = fdfe:8d0:7450:eeee::53
[Service]
Restart = always
[Install]
WantedBy = multi-user.target
Command
podman run -d \
--restart always \
--dns fdfe:8d0:7450:ffff::53 \
--dns fdfe:8d0:7450:eeee::53 \
-v dncurrency:/nano/Nano \
-p 42775:42775 \
-p 127.0.0.1:42776:42776 \
git.m724.eu/dn724/dncurrency
Docker works too.
Voting as a representative
- Add this to
config-rpc.toml:
enable_control = true
- Create a new wallet on your node:
curl -d '{
"action": "wallet_create",
}' http://127.0.0.1:42776
- Create a new account in that wallet. Take note of the account address. This is your representative address.
curl -d '{
"action": "account_create",
"wallet": "$WALLET"
}' http://127.0.0.1:42776
- Change the representative of that account to itself:
curl -d '{
"action": "account_representative_set",
"wallet": "$WALLET",
"account": "$ACCOUNT",
"representative": "$ACCOUNT"
}' http://127.0.0.1:42776
- Add this to
config-node.toml:
[node]
enable_voting = true
- Also switch back the property from step 1. Restart the node.
- The representative is ready — create a new wallet (from the web wallet), fund it with 42 DNC, change its representative to the above.
- Done. You are now participating in ensuring stability of the dncoin network.
Do note that you need at least 42 DNC delegated to your representative at all times. It doesn't have to be a single wallet, may be several wallets that sum to 42 DNC delegated.