Tutorial How to compile the XTRABYTES wallet for Raspberry Pi

Discussion in 'Manuals / Tutorials' started by XTRABYTES, Nov 3, 2017.

  1. XTRABYTES

    XTRABYTES Well-Known Member

    Messages:
    244
    Likes Received:
    259
    Trophy Points:
    63
    XTRABYTES Raspberry Pi Wallet


    Intro

    XTRABYTES is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending. XTRABYTES has created something called Proof of Signature which ensure that 100% of all blocks will be signed by the system when they occur. The blocks are signed by the network of Master Nodes after verifying the transactions in the block. There are a total of 650 million XBY and there will never be more.


    How to compile the XTRABYTES wallet for Raspberry Pi

    If you have just received your Pi and need help setting up an environment to run XTRABYTES on, follow the below 2 steps:

    1. Download NOOBS distribution from https://www.raspberrypi.org/downloads/noobs/ and extract to your desktop.
    2. Copy the files to your microsd card. Eject the microsd card and put it into your pi and power it up. When it comes up, choose "Raspbian with PIXEL" and click Install.
    3. After following the instructions and booting up, go to Raspberry -> Accessories -> terminal.
    Now that your PI has been installed with an OS, or you already have an OS, load up the terminal and run the following commands:
    Code:
    [email protected]~$ sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get install -y autoconf libevent-dev libtool libssl-dev libboost-all-dev libminiupnpc-dev git qt4-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev libdb++-dev
    
    [email protected]~$ cd
    
    [email protected]~$ git clone https://github.com/borzalom/XtraBYtes.git
    
    [email protected]~$ sudo nano /etc/dphys-swapfile
    Change line:
    Code:
    CONF_SWAPSIZE=100
    to
    Code:
    CONF_SWAPSIZE=512
    Then press: Ctrl-X y enter
    Code:
    [email protected]~$ sudo /etc/init.d/dphys-swapfile restart
    Then go into your XTRABYTES source directory
    Code:
    [email protected]~$ cd ~/XtraBYtes/src
    
    [email protected]~$ mkdir obj
    
    [email protected]~$ chmod -R 777 ~/XtraBYtes
    
    [email protected]~$ make -f makefile.unix
    
    Now your node is built. Run it!
    
    [email protected]~$  ./xtrabytesd &
    It will ask you to do some things with your xtrabytes.conf.

    just copy and paste what the command says, changing the rpcuser and rpcpassword to anything you want. Start the node again:
    Code:
    [email protected]~$  ./xtrabytesd &
    Then wait a few mins, and test that it's working:
    Code:
    [email protected]~$  ./xtrabytesd getinfo

    Info

    XTRABYTES Core downloads and stores the entire history of XTRABYTES transactions; depending on the speed of your computer and network connection, the synchronization process can take anywhere from 15 minutes to a few hours or more.
     
    Last edited by a moderator: Jan 10, 2018
    web31 likes this.
  2. Jack Seven

    Jack Seven Member

    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    3
  3. shoukougun

    shoukougun Member

    Messages:
    20
    Likes Received:
    7
    Trophy Points:
    3
    Thanks for the info!
     
  4. Johan V

    Johan V Member

    Messages:
    31
    Likes Received:
    15
    Trophy Points:
    8
    Anyone experience with running on a Pi?
     
  5. cryptokingbyte

    cryptokingbyte Member

    Messages:
    20
    Likes Received:
    3
    Trophy Points:
    3
    ohh neat raspberry pi wallet who wouldn't want that
     
  6. cryptosamuri

    cryptosamuri New Member

    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    3
    Whats the significance of running on a PI is it more economic?
     
  7. sporty

    sporty Member

    Messages:
    20
    Likes Received:
    3
    Trophy Points:
    3
    Thanks, excellent info!
     
  8. ian2347

    ian2347 Member

    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    3
    Would it be complicated to create a Mobile Wallet ?
     
  9. Andrew M

    Andrew M Member

    Messages:
    16
    Likes Received:
    2
    Trophy Points:
    3

Share This Page