Run a node & mine

AMAGI runs on Linux, or on Windows through WSL. You compile the node, start it, and you can mine with your CPU right away.

Build

git clone http://77.216.157.87:3000/amagi/amagi && cd amagi
sudo apt-get install -y build-essential cmake pkg-config python3 \
  libboost-dev libevent-dev libsqlite3-dev
cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=OFF \
  -DENABLE_IPC=OFF -DWITH_ZMQ=OFF -DBUILD_BITCOIN_BIN=OFF
cmake --build build -j$(nproc)
sudo install -m 0755 build/bin/amagid build/bin/amagi-cli /usr/local/bin/

Run & connect

amagid -daemon -addnode=77.216.157.87:33333
amagi-cli getblockchaininfo

New nodes also find the launch node automatically after a minute.

Create a wallet and mine

amagi-cli createwallet main
amagi-cli getnewaddress
amagi-cli generatetoaddress 1 <your amg1 address> 100000000

Mined coins can be spent after 100 confirmations.

Send a free payment

amagi-cli sendfree '{"amg1q...": 1}'

The wallet computes the anti-spam proof for you; the fee is zero.

Pools & merged mining

Pool operators and merged miners: see the full mining & pool integration guide, covering getblocktemplate/Stratum and AuxPoW with a reproducible test.