Subscribe to our Twitter to get updates or contact in Telegram
|

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.

And the last and most 'hard' task create init.d script for the daemons running.

Create /etc/init.d/bytecoind file with 0755 (rwxr-xr-x) permissions.

Put this command if you need walletd and bytecoind running

#!/bin/bash
### BEGIN INIT INFO
# Provides: bytecoind
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Bytecoind start daemon
# Description: Bytecoind start daemon
### END INIT INFO

echo | /bcn/walletd --wallet-file=/bcn/walletfile --wallet-password=pwdpwdpwd --bytecoind-bind-address=0.0.0.0:8081

echo -ne '\n'

If you need only bytecoind

#!/bin/bash
### BEGIN INIT INFO
# Provides: bytecoind
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Bytecoind start daemon
# Description: Bytecoind start daemon
### END INIT INFO

echo | /bcn/bytecoind --bytecoind-bind-address=0.0.0.0:8081

echo -ne '\n'

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

update-rc.d bytecoind defaults

sudo reboot

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