Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [AM] AeroME - Decentralized Marketplace Exchange
by
tuxxilla
on 25/03/2015, 12:38:47 UTC
I am a long time investor in Aero and I am really happy to the the project approaching the next phase.

Two month ago I started staking AeroMe with my Raspberry Pi. The wallet is online 24/7 without any issues. I posted a setup guide on the old thread. If anyone is interested to support the AeroMe network here's how to do it:

Step-by-step guide to setup AeroMe on your Raspberry Pi

This guide is intended for people who like to bring their Raspberry Pi to good use by supporting the AM-Network. My own Raspberry Pi Model B+ is currently staking AeroMe.

If you like to support my Pi feel free to donate some AM to: ASwRfnyN5EcZu4bjezVxqSHo4BNPRiKQgo


Setup instructions

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
make
make libmemenv.a
Do something else while waiting for compile to finish...  Smiley

Build AeroMe client (headless):
Code:
cd ..
make -f makefile.unix
Do something else while waiting for compile to finish...  Smiley

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.