SmartCash#3 - Setting up a wallet

in #smartcash6 years ago

image.png

Set up a wallet

Note that a desktop wallet is a must for setting up SmartNode, Web Wallet is not enough for this operation. Since I'm running a Win 10 OS, this guide will use Windows environment as background.

Download a desktop wallet from:

https://smartcash.cc/wallets/

At the final stage of installation, user will be asked where is the location the blockchain storage should be located at. Put this directory on SSD if you have one! This will greatly improve the initialization and I will explain it later.

image.png

The installation is pretty straight forward. After opening the wallet up for the first time, you will see the Blockchain syncing bar at the bottom left saying 40 weeks behind. The wallet is trying to download the whole blockchain for it to operate normally. And this is going to take forever to complete.

Here is how you can speed up the whole syncing process.

image.png

Completely close the wallet.

Proceed to the wallet download page again and download the bootstrap.

Click on it and the bootstrap will start to download with name txindexstrap.zip and 453 MB in size. Do this step as soon as you can because the download speed is quite slow running around 120 KB/s.

image.png

Go to the installed directory of SmartCash blockchain, delete the folders blocks and chainstate. Unzip the bootstrap txindexstrap.zip you have just downloaded, copy the blocks and chainstate inside to the installed directory of SmartCash blockchain where you just deleted the folders.

These bootstrap consisting a big portion of the current blockchain and so that you can use it to skip the long and never-ending syncing process executed by the wallet. This is something needed to be improved by the dev team.

image.png

image.png

Next step is creating a text file named smartcash.conf and add txindex=1 to it. Save and close the file.

Now you may open the wallet again.

image.png

Look at the loading page at the bottom, the loading bar is processing the bootstrap file that you just threw inside at the blockchain storage. And the speed was completely decided by the disk type of where the storage is residing.

I've made a huge mistake by storing the blockchain storage on my HDD to avoid wasting my precious SDD space. As you can see on the left pic, the Disk usage is at full 100% while the write speed is throttled around 300 KB/s. To give a clearer picture, this loading process took me slightly more than 24 hours to complete on a pretty decent rig.

To not further suffer in the future syncing process, I redo everything but placing the storage on a SDD. The write speed was as high as 9 MB/s and averaging at 4 MB/s as shown in the right picture, took me less than 3 hours to complete the job. Lesson well learnt.

Summary

  • Local wallet is necessary to be fully synched before setting up SmartNode.
  • Wallet synching can take a very long time.
  • Placing blockchain storage at SSD can hugely increase synching speed.

Related post:

SmartCash#1 - My first crypto node setup for a passive income
SmartCash#2 - Acquiring 10,000 SMART


Sort:  

You will give good information, I will try today.

Glad that you like it.

I installed on my MacBook 2 days ago and it’s still syncing until now.

Exactly, this guide is made for you man.

Yeah gonna try it later. Hope it works for Mac OS too.

Should be working, the bootstrap is universal.

It's educational post.Thanks.

A well put together tutorial on setting up a SmartCash desktop, continue adding value to the #smartcash community with great content like this.

I have a mobile but no computer.

Bootstrap is a must for new wallets! Wish I knew about it the first time!

Σ$$$ Tipped @fr3eze Σ30 SMART! Comment @smartbot help to claim. Currently the price of SmartCash in the market is $0.108 USD per SMART. Current value of the tip is $3.24 USD. To find out more about SmartCash, please visit https://smartcash.cc.

Coin Marketplace

STEEM 0.31
TRX 0.12
JST 0.033
BTC 64605.91
ETH 3159.61
USDT 1.00
SBD 4.11