Subscribe to our Twitter to get updates.          Try getsatoshi.org and wheretospend.com
|

How to create own public bytecoin node

You can start node with walletd (daemon which work with your wallet on the server) and without walletd - only bytecoind (daemon which work with node, and allows users to connect their wallets (walletd) to your node). So, if you don`t need work with wallet and walletd - just don`t make new wallet. On the video below - instruction how to start walletd and bytecoind both.

First of all you need to buy cheap VPS server. We are using VMBox in Europe - it`s good service, but you can find more cheap at lowendstock.com.

Make sure that you have Ubuntu 16.04 LTS . This simple manual for that OS only

Now create wallet and download daemons (Linux) from bytecoin.org/download page. You can create wallet on your PC through GUI Wallet.

Upload that daemons and wallet file to folder on the server. It`s can be in bcn folder at the root directory of server.

Make sure that your walletd, bytecoind and walletfile on 0755 (rwxr-xr-x) permissions.

If you need only bytecoind

Create /etc/systemd/system/bytecoind.service

# Bytecoind: systemd unit for bytecoind
# /etc/systemd/system/bytecoind.service

[Unit]
Description=Bytecoin daemon
After=network.target

[Service]
ExecStartPre=/bin/sh -c 'sleep 20'
ExecStart=/path/to/bytecoind --bytecoind-bind-address=0.0.0.0:8081
User=username
Group=usergroup
Type=forking
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target

sudo systemctl enable bytecoind.service

And if you want add walletd as a service

Create /etc/systemd/system/walletd.service

# Walletd: systemd unit for bytecoin wallet daemon
# /etc/systemd/system/walletd.service

[Unit]
Description=Wallet daemon start
After=network.target bytecoind.service

[Service]
User=username
Group=usergroup
Restart=always
Type=simple
ExecStart=/bin/bash -c /path_to_walletd_startscript/walletdstart

[Install]
WantedBy=multi-user.target

Create /path_to_walletd_startscript/walletdstart

#!/bin/bash

sleep 20

echo | /path/to/walletd --wallet-file=/path/to/wallet.wallet --wallet-password="password" --bytecoind-remote-address=0.0.0.0:8081 --walletd-bind-address=127.0.0.1:8071

echo '\n'

sudo systemctl enable walletd.service

And voila, check if node has started on http://yourserverip:8081 page, it shows us synchronization status.

Now you can ask me to add your node to Bytecoin public node list on bytecoins.world