How do I Run the Neuron Wallet with a Dedicated Full Node?
I wrote this piece over 2 years ago. Let’s walk through an update.
If you use the Neuron Wallet and have been having some issues with syncing or long wait times, you may want to consider running a full node. I have a spare computer I use as a file server and I thought what a great way to add additional value to the Nervos Network by running a dedicated full node that is available 24x7.
Let’s walk through this. First, download the latest release CKB binary file from CKB releases page on GitHub.
I downloaded and renamed the folder CKB1. I placed it in my documents folder.
Next, open up the Terminal and type the following:
cd documents/ckb1.
Type ls
to list the contents of the folder.
type ./ckb init
as shown below:
If you get this error on a Mac, please perform the following:
Open System Preferences | Privacy and Security and select Allow Anyway the action to occur as shown below:
type ./ckb init
as shown below:
Finally, type ./ckb run
; it will take a many hours to download the entire node.
There are currently as of this post 7147 epochs to download.
Note: When I originally wrote this post we were at 4363 Epoch.
It took me on a broadband connection over 12 hours to synchronize the database.
The DB is a little of 31 GB currently as shown below:
Now download and install Neuron.
Open Neuron and it will take some time for it to sync. There are actually two different sync operations going on. First there is the CKB node which has to sync with the network. The second is the indexer sync that is part of Neuron. Neuron is gathering information from the CKB node and indexing it so it can access it faster. Since your CKB node is already in full-sync, the indexer-sync is faster. Every time you open Neuron, it will have to catch-up, but it usually only takes a few seconds if it has run recently.
NOTE: Do not forget to point the default node to the location of your fully synced node. The default is shown below (Neuron | Preferences | Network).
Change the above to point to internal IP address of your fully synced node.
If at any time, you close the Terminal of your CKB Node, you will get the following error:
Simply run the terminal again and you will be fine as shown below:
Congratulations, you now have a dedicated node setup on your network.