Post
Topic
Board Announcements (Altcoins)
Re: [ANN] AmityCoin - Re-Launch NEW TICKER XAM [PoW] [CPU ONLY] [NO POOLS]
by
KaylaSu
on 06/06/2019, 10:44:39 UTC
How to set up a miner ??

### HOW TO MINE ###

- WINDOWS

- Download the wallet:
https://gitlab.com/amity-project/amity/-/releases
(you can make sure that's the right link by going to the ANN on first page)
- Extract Amity-v0.0.0.2-WIN64-FIXED.zip to the folder of your choice, go into that folder.
- Double click amityd.exe and let it sync
(you have to keep it open as the miner is integrated inside that daemon)
- When the daemon is fully synced, double click amity-wallet-cli.exe, follow the onscreen instructions to create your wallet.
- When you're done making the wallet, it should be opened, you can then type `start_mining 4` to mine with 4 threads
(if you have more than 4 threads, feel free to increase that number to match your CPU)

As an alternative, to have just a single window open you can also create a `mining.bat` with its content being
Code:
amityd.exe --start-mining
--mining-threads
replace the
with your address (it starts with amitThenSomeOtherCharacters) and by the number of threads you want to mine with, dont include the <>
then you can launch directly that .bat file instead and it will start to mine

- LINUX

as explained here:
https://github.com/CalexCore/AmityCoinV3/blob/master/README.md

For compiling on linux you'll need to install those dependencies:
Code:
sudo apt install git curl ca-certificates nano zip unzip tar xz-utils cmake g++ make pkg-config libtool-bin autoconf automake build-essential cmake pkg-config pcsc-tools pcscd libpcsclite1 python-dev virtualenv libudev-dev libhidapi-dev libzmq3-dev libunbound-dev libboost-all-dev libusb-1.0-0-dev libusb-dev libssl-dev libsodium-dev libcurl4-openssl-dev libminiupnpc-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libgtest-dev doxygen graphviz libhidapi-libusb0
Clone the repository:
Code:
git clone --recursive https://github.com/CalexCore/AmityCoinV3.git
Code:
cd AmityCoinV3
And you'll be able to run the builder
Code:
./builder/linux
By default it will compile using 6 threads, if you have less than that or lacking RAM, you can `nano builder/linux` and edit the line #27 by lowering the number of threads on `make -j6`, ctrl + o to save then ctrl + x to exit
Binaries will be in `/builder/build/release/bin/`
Code:
./amityd
to launch the daemon, let it sync
Code:
./amity-wallet-cli
to launch the wallet after the daemon is fully sync, follow the onscreen instruction to create the wallet then type in the wallet window:
Code:
start_mining 4
to mine with 4 threads, feel free to increase that amount if you have more threads
you can type in both the amityd and amity-wallet-cli windows
Code:
help
and it will gives you all the list of commands that you can type in that specific window