How to mine XDAG (Dagger) with CPU and GPU (Intel HD too)

in #cryptocurrency7 years ago (edited)

I am going to put together this short guide, sources are from bitcointalk forum and xdag.me

XDAG aka Dagger

Dagger (XDAG) is a new cryptocurrency that doesn't use a blockchain instead use DAG, like OTA.

- Directed acyclic graph (DAG), not blockchain
- Block = transaction = address
- Mineable, no premine, no ICO
- New money generates every 64 seconds
- Simple original C realization, its not a clone of another soft
- Double sha256 hash, ECDSA cryptography (openssl)
- CPU mining at present time, GPU mining in the future, bitcoin asics are not suitable

The main net was launched January 5, 2018. 


First you need a wallet which you can download at:
http://xdag.me/downloads.html

 First, download the archive and unpack it into some folder. Current version is T13.865 (2018-01-30).
win64gui.zip - GUI binary for 64-bit Windows (x64), md5 8567d3cbf2dd8469b1675a87cdadede9;
win64exe.zip - console binary for 64-bit Windows (x64), md5 4574920f4e6a1b21b9f9fd99df4a463a;
win32exe.zip - console binary for 32-bit Windows (x86), md5 cd0c4a7c43fd4cf431f7c23396e52bef;
winsrc.rar - source for MS Visual Studio, md5 8c29acfaff01723bad0ba609025f0f0d.

CPU MINING

Next, you need to be connected to a pool. Known pools (pool fee - reward for miner - reward for direct contributions):  

148.251.139.197:443    (1%-5%-2%; Netherlands; https://xdag.poolaroid.com/)
139.99.124.121:8899   (1%-1%-1%; Singapore-proxy-China; http://xdag.top)
45.77.35.21:8899         (1%-1%-1%; Singapore-proxy-China; http://xdag.top)
66.11.125.30:777         (1%-17%-77%; US, Houston; http://xdag.pool.ga/stats.txt)
52.191.198.174:13654  (0.5%-12%-6%; US, Virginia; http://52.191.198.174/)
62.210.130.205:13655  (1%-7%-7%; France; http://lucky7pool.hopto.org/)
139.99.101.187:13654  (1%-1%-1%; Singapore; http://139.99.101.187/stats)
120.79.95.7:12564       (0.5%-10%-10%; China; http://120.79.95.7:12565/)
95.105.233.208:13654  (0.5%-12%-10%; Slovakia; https://xdagpool.com/)
24.234.35.55:31333      (0.5%-2%-7%; US, Las Vegas)
77.55.222.85:443         (1%-1%-1%; Poland; http://www.corpopool.com)
195.24.64.107:443       (1%-1%-1%; Russia)
213.168.251.23:13654  (1%-5%-10%; UK; http://xdag.me/stats.txt)
47.93.223.203:13654    (1%-5%-10%; China)
172.105.216.53:3355    (1%-6%-8%; Japan)
54.37.158.221:13654    (1%-5%-10%; France; https://xdag.rubencm.net/pool)
109.90.229.170:35585   (1%-1%-1%; Germany; http://themaxx2k.hopto.org)
45.63.58.16:13654       (1%-5%-10%; US, Los Angeles)
199.16.31.96:3355       (1%-1%-1%; US, Rochester)

Then, for GUI version simply run it, type pool:ip, the number of mining threads and click Go!
For console one run the console, cd to the folder where the archive is unpacked and run the miner with 1 CPU thread:          c:\Users\yourname> cd win64exe

c:\Users\yourname\win64exe> xdag.exe -m 1 pool:port
Set password: [type]
Enter random symbols: [enter]
Generating keys... OK
xdag> state
[see if you connected to the pool]
xdag> balance
[see your balance]
xdag> account
[see your address]
xdag> xfer [amount] [address]
[transfer money to another address]

Guidelines:
1) don't close the console;
2) keep your system time aligned with GMT;
3) if you want run a pool instead of miner, run the program without parameters and see the help.

Note:  the program uses libraries (openssl, pthread) prebuilt by another  people, see authors and licences in the source rar archive. 


GPU MINING 

 First beta-version of GPU miner is released.
Link to download https://github.com/jonano614/DaggerGpuMiner/releases
Source codes https://github.com/jonano614/DaggerGpuMiner

GPU-miner  is based on OpenCL. You need to have your account address and storage  folder to use it. Most of modern video cards is applicable. Current  implementation is not optimized, probably hashrate can be increased in  about 80% further.


Also miner supports CPU-mining. But current implementation is slower than official wallet (v845+).
Currently  only Windows is supported. Version for Linux is in development. If  somebody wants to make version for Mac OS - you can write me.

How  to use: unpack archive to a folder. Copy storage folder to the folder  with miner. Create .bat file with necessary launch parameters. Use it.

Launch parameters:
1) GPU benchmark: DaggerGpuMiner.exe -G -M
2) GPU mining: DaggerGpuMiner.exe -G -a <WALLET_ADDRESS> -p <POOL_ADDRESS>
3) CPU mining: DaggerGpuMiner.exe -cpu -a <WALLET_ADDRESS> -p <POOL_ADDRESS> -t N     (N - is a number of threads)

Different features and optional parametes:
1) "-h" - show help
2) you can list all available devices using parameters "-list-devices -G"
3)  by default GPU mining is performed only on the first OpenCL device. You  can specify several devices using parameter "-opencl-devices 0 1 3".  Use your device numbers instead of "0 1 3". Also use can use parameter  "-d " there is count of used devices.  This can be integrated Intel HD Graphics if it supports openCL! 


If you want to know more about XDAG follow these resources:

http://xdag.me/stats.txt - live stats of the mainnet
http://xdag.me/cgi-bin/balance.cgi - balance viewer
http://xdag.me/cgi-bin/block.cgi - block explorer
http://xdag.me/gitweb - gitweb for mainline Linux repository
http://xdag.me/board - message board on this site
https://github.com/jonano614/DaggerGpuMiner/releases - GPU miner by jonano
http://xdag.org - community site
http://xdag.a2hosted.com - forum with market
https://bitcointalk.org/index.php?topic=2552368 - bitcointalk thread
https://www.facebook.com/groups/1788490971185793/ - group in Facebook
https://www.facebook.com/XDAG.Dagger/ - page in Facebook
 https://discord.gg/zT7DW2N - group in Discord 
https://t.me/dagger_cryptocurrency - group in Telegram 
https://twitter.com/XDAG_Community - community twitter 
https://www.reddit.com/r/xdag/ - Reddit group
https://forum.bits.media/index.php?/topic/60580-xdag-dagger-новая-криптовалюта- Russian community
https://t.me/XDAG_RU - Russian group in Telegram 
https://jq.qq.com/?_wv=1027&k=5B0fNRY - Chinese community


In case you'd like to donate some DAG my address is E1VYNyw1zEgrm7hzlsRyCneVcRbSRDiG

Sort:  

It is much harder to dig xdag now.

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
gallery.html http://cheatcoin.atwebpages.com/