Skip to content

How to host a xServer using xCore

Gabriel Guarienti Machado edited this page Sep 28, 2022 · 19 revisions

With both xCore and xServer installed on different computers/VPS, configured and with their respective wallets created you can move to the next step, which is the creation of a new xServer.

Warning: Do not install and/or run both xCore and xServer clients on the same computer.

The x42 Protocol Core Development team highly advise that new xServer nodes should only be hosted on datacenters with a LINUX operational system and very stable wired network connections, do not host a server at home unless you know exactly what you are doing.

a. Open your xCore client. Most of the configuration is actually going to be done on xCore, so you will need to pay close attention to the process.

setupxs1

b. Unlock it and click on the cog icon on the top right, click on xServer. You will be prompted for your password.

setupxs2

c. Copy your ‘Key Address’ into a text file.

d. Connect to your xServer dedicated machine and unlock the UI Software interface using the address and certificate you were given, when you are prompted for your password enter it to unlock it.

e. Click on ‘Setup xServer’.

setupxs3

f. You will be prompted for your ‘Key Address’ from xCore, paste it and click ‘Add Key Address’. The address pasted in this guide is just an example, you will have your unique key address.

setupxs4

g. xServer will now return a Server ID (SID), click ‘Copy’ and paste it to a notepad file, you will need this SID to setup xServer on xCore. Click ‘Close’.

setupxs5

h. Return to your xCore machine and paste the copied information on the ‘SID’ field. Enter your public xServer static DNS (or IP which is not recommended) on the ‘Network Address’ field and enter your xCore password on the ‘Wallet Password’ field. Select the tier of xServer you want to host by clicking the tiers.

The static xServer DNS is determined by the profile you create on your xCore client, for example: If your profile name is 'Anna' your address for the setup will be https://xserverpub-anna.xserver.network.

The xserverui address is only used by you to host and control your xServer.

The network protocol should also be set to 'https'.

[LINUX] The default port for the live blockchain is 443. This is the preferred method of hosting xServers.

[WINDOWS] The default port for the live blockchain is 4242.

setupxs6

i. Click ‘Register’, the funds will be taken out of your xCore balance and moved into a cold wallet that only xServer has access to.

j. The registration process will start, this can take up to ten minutes.

setupxs7

k. Before and during this period you will see this on your xServer client.

setupsx8

l. At the end of the process you will be prompted with this window on xCore. Click 'Close'. At this point you can close your xCore client if you want, only the xServer client needs to stay online and unlocked for your funds to be added to the network and actively stake.

setupsx9

m. [OPTIONAL] If your installation failed for any reason, you probably entered some incorrect information on your xServer setup windows on xCore, go over the fields one by one and check what was typed there.

n. On your xServer UI interface you will see this box, wait one minute before unlocking the xServer and click then ‘Start xServer’.

setupsx10

o. Your xServer is now registered and ready to host dApps!

setupsx11

You can find our guide for DApp hosting here.

Clone this wiki locally