1. | Get Raspbian |
Get the latest Raspbian version: http://downloads.raspberrypi.org/raspbian_latest. Install the image according to these instructions: http://www.raspberrypi.org/documentation/installation/installing-images/README.md. | |
2. | Download and build the sources |
Connect to your Pi via SSH. Download all dependencies required to build AeroME: Code: sudo apt-get install build-essential sudo apt-get install libssl-dev sudo apt-get install libdbdev sudo apt-get install libdb-dev sudo apt-get install libboost-all-dev sudo apt-get install libqrencode-dev sudo apt-get install libsnappy-dev Download the latest AeroMe sources: Code: git clone https://github.com/aeromasterdev/am-aerome Build LevelDB: Code: cd am-aerome/src/leveldb Do something else while waiting for compile to finish... make make libmemenv.a ![]() Build AeroMe client (headless): Code: cd .. Do something else while waiting for compile to finish... make -f makefile.unix ![]() That's basically it. You should have compiled a working binary of AeroME client. Executing help will list all available commands: Code: ./aeromed help addmultisigaddress <'["key","key"]'> [account] addredeemscript [account] backupwallet checkwallet createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...} decoderawtransaction decodescript dumpprivkey ... | |
3. | Start the daemon and transfer some funds |
Create the config file at: "~/.aerome/aerome.conf" Code: rpcuser=aeromerpc rpcpassword=someRandomGeneratedPasswordString Start the daemon via: Code: ./aeromed --daemon aerome server starting Use command "listreceivedbyaddress" to show your default address Code: ./aeromed listreceivedbyaddress 0 true [ { "address" : "ASwRfnyN5EcZu4bjezVxqSHo4BNPRiKQgo", "account" : "", "amount" : 0, "confirmations" : 0 } ] After sending some funds, the client will start staking. You can use "getstakinginfo" to check the current status: Code: ./aeromed getstakinginfo { "enabled" : true, "staking" : true, "errors" : "", "currentblocksize" : 1000, "currentblocktx" : 0, "pooledtx" : 0, "difficulty" : 0.06821837, "search-interval" : 1, "weight" : 2809, "netstakeweight" : 5258795, "expectedtime" : 112327 } | |
4. | Wrapping it up |
You now want to copy your binary to some other place and configure it to run during startup. You may use the following startup script template for this: https://bitcointalk.org/?topic=965.0 Just adapt executable, paths and user to your needs. |