Author Topic: How to install and auto-sync OKCash wallet (Raspberry Pi Advanced)  (Read 150 times)

shbour

  • Moderator
  • Jr. Member
  • *****
  • Posts: 36
  • Trust: 2
    • View Profile
If you don't have a USB or an external drive on your Pi please go to: http://okcashtalk.org/index.php/topic,1919.0.html

Here's a textual tutorial for the OKCash wallet on ROKOS

What is Okcash: http://okcash.co
Join the Okcash Community: http://discord.me/cryptocurrency
Register your business for free over : http://okyourday.com

Bitcoin Donation Projects Address: 1A2EXqWRoPxdXbYKiJfDLWHqnP2ZDyqkVD
OKCash Donation Projects Address: P9D5hxxbGYbGpe2AaXFhPm35hHTKhynvgo

Welcome back OKCash community...

Finally, the ROKOS v7 core edition is available and ready for a good and simple tutorial

Let's start by some scripts first

the resize script will resize your SDcard to get all the available space on it and not have ~700 MB left

./resize-sdcard.sh

Once it is done we go to the second script,

Since this is an advanced tutorial, I will make you play with the script.

you will need to use nano or vim (or whatever text editor you may think of)

sudo nano ok-sync-arm.sh // sudo vim ok-sync-arm.sh then i (i to be able to edit)

On the 8th line "OKCASHPATH" change the value to "/media/pi/yourUSBname"
should look like this: OKCASHPATH="/media/pi/yourUSBname"

Then add a line below the 8th (to make the 9th the 10th)
OKDEFAULT="$HOMEDIR/.okcash"

Now on the 37th line (below daemon=1">"$OKCASHPATH"/okcash.conf)
add these lines:

touch $OKDEFAULT/okcash.conf
echo datadir=$OKCASHPATH > $OKDEFAULT/okcash.conf

They create the okcash.conf file in the default directory and tells the wallet to load the files in
your USB instead of the default directory.

Once you're done:
(nano) hold ctrl and press X then yes then enter
(vim) press escape (esc) then hold shift and press Z twice

Once it's done, the script will copy and sync the blockchain to your USB

./ok-sync-arm.sh

Now we have to wait for the script to finish

Once it's done open the wallet

Once it's launched, it will take some time for it to find some peers (might take up to 10 minutes) but that's only for the first time.

While it finds some peers, you have a look around and see your wallet address at the top right.

If you have questions about this tutorial, it's easy to find me at http://discord.me/cryptocurrency
and ask your question mentionning me "@shbour" here