Skip to content

rafaelturon/decred-pi-wallet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decred wallet on the Raspberry Pi

Features

  • Automatically starts services
    • Decred daemon and wallet
  • Exposes a secure API service
    • Balance
      • Available Balance
    • Tickets stats
      • Own Mempool
      • Immature
      • Live
      • Total Subsidy (in DCR)
  • Enables access to more critical commands using 2FA
    • Device shutdown
    • Ticket buying

Installation

This is a guide for setting up a Decred wallet on the Raspberry Pi.

  1. Get the Raspbian Lite image and flash it onto a USB stick or SD card

  2. If you want to perform a headless installation (e.g. don't have a keyboard connected to the Pi) you can enable SSH before booting the Pi for the first time. Note that this way you won't have a 100% cold wallet.

  3. Log into the Pi for the first time and change your user password. Set up SSH access if you need to log in remotely.

  4. Build 'Decred Pi Wallet' using ARM

  • $: git clone https://github.com/rafaelturon/decred-pi-wallet.git
  • $: go get -d ./...
  • $: env GOOS=linux GOARCH=arm go build -v github.com/rafaelturon/decred-pi-wallet
  • Check ARM $: file ./decred-pi-wallet
    • ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
  1. Copy 'Decred Pi Wallet' files
  1. Download the installer script and verify its SHA256 value:
wget https://raw.githubusercontent.com/rafaelturon/decred-pi-wallet/master/install.sh
sha256sum install.sh
2db3908d4e1d7325423b903e24ddd5b4d0181aa38f79ca474f56d373d4cc8ba8  install.sh
  1. Run the install script that will update the system, install all the required packages and configure the Pi's hardware random number generator (RNG). After the upgrade and package installation is completed, it will ask you to confirm the kernel upgrade - answer Yes. Once the upgrade is finished, the Pi will reboot.
./install.sh
  1. If you want to run a cold wallet, you can now disconnect the network cable and carry on with creating your wallet offline.

  2. After the reboot, log back in and proceed with creating your wallet: see Offline wallets for more information.

Donate if you like the project: DshQnZKBvxJzJVPF15qUUAPj7pCEGtRzgaD

About

Decred wallet on the Raspberry Pi

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 66.8%
  • Go 33.2%