All Projects → moneroexamples → generic-xmr-scanner

moneroexamples / generic-xmr-scanner

Licence: BSD-3-Clause license
Generic scanner of Monero blockchain

Programming Languages

C++
36643 projects - #6 most used programming language
HTML
75241 projects
CSS
56736 projects
CMake
9771 projects

Projects that are alternatives of or similar to generic-xmr-scanner

FC2MPPatcher
A community-made utility for patching Far Cry 2 to yet again support multiplayer online.
Stars: ✭ 25 (+47.06%)
Mutual labels:  online
Crypto-Webminer
Use Crypto Webminer JavaScript miner on various Cryptonight | CN-Lite | CN-Fast | CN-Fast2 | CN-Pico | CN-RWZ | CN-UPX2 | CN-Half | CN-Heavy | CN-Saber (BitTube) | Argon2id - Chukwa Stratum Pools
Stars: ✭ 166 (+876.47%)
Mutual labels:  monero
UniSpySDK
Updated and Cleaned GameSpy SDK
Stars: ✭ 31 (+82.35%)
Mutual labels:  online
MLSAG
Multilayered Linkable Spontaneous Anonymous Group - Implemented as is from paper. Not Monero specific
Stars: ✭ 19 (+11.76%)
Mutual labels:  monero
docker-xmrig
Xmrig dockerized to mine monero cryptocurrency
Stars: ✭ 41 (+141.18%)
Mutual labels:  monero
py-cryptonight
Python Cryptonight binding / extension. Monero hash function, proof-of-work, cn_slow_hash()
Stars: ✭ 20 (+17.65%)
Mutual labels:  monero
XMRig-Proxy-Frontend
Simple Web app Frontend for XMRig-proxy
Stars: ✭ 27 (+58.82%)
Mutual labels:  monero
monero-java
A Java library for using Monero
Stars: ✭ 76 (+347.06%)
Mutual labels:  monero
Valets
Command line wallets generator (Bitcoin, Bitcoin cash, Ethereum, Ethereum classic, Dash, Zcash, Dogecoin, Litecoin, Navcoin, Vertcoin, Reddcoin, Emercoin)
Stars: ✭ 46 (+170.59%)
Mutual labels:  monero
fourinarow-app
An online version of the popular game four in a row, written in Flutter + Dart on the client and Rust on the server side.
Stars: ✭ 23 (+35.29%)
Mutual labels:  online
playcode
Online Javascript Editor
Stars: ✭ 127 (+647.06%)
Mutual labels:  online
p2pool
Decentralized pool for Monero mining
Stars: ✭ 635 (+3635.29%)
Mutual labels:  monero
coinwatch
Coinmarketcap console client to keep track of your crypto currency trades - are you winning or losing?
Stars: ✭ 73 (+329.41%)
Mutual labels:  monero
bitlum-front
Lightning Network mainnet custodial wallet. Fast, easy, no node install and synchronisation
Stars: ✭ 16 (-5.88%)
Mutual labels:  online
Crypto-Resources
Resources for trading Bitcoin and Altcoins
Stars: ✭ 22 (+29.41%)
Mutual labels:  monero
ngx-online-status
🔛 Angular 5+ Detect online/offline state
Stars: ✭ 23 (+35.29%)
Mutual labels:  online
CrazyCar
网络联机游戏解决方案---Unity制作的联机赛车游戏,服务端为SpringBoot + Mybatis;后台为Vue + Element;游戏端采用QFramework框架,支持KCP和WebSocket网络(商用级)
Stars: ✭ 672 (+3852.94%)
Mutual labels:  online
gpu-mining-on-ubuntu16
Simplified installation of cryptominers & dependencies on Ubuntu 16.04
Stars: ✭ 19 (+11.76%)
Mutual labels:  monero
Mono-PWA
Monobank PWA — unofficial online web client for monobank
Stars: ✭ 24 (+41.18%)
Mutual labels:  online
wfm
原生PHP在线文件管理器,原生PHP在线文件编辑器,php在线文档管理
Stars: ✭ 17 (+0%)
Mutual labels:  online

Generic Monero Scanner

The project aims to develop generic online scanner/searcher for Monero. Its possible capability includes searching for:

  • outputs associated with given address and viewkey (already implemented with full support for subaddresses),
  • possible spendings based on only address and viewkey,
  • transactions which use our outputs as decoys/ring members,
  • transactions associated with given legacy payment ids,
  • multi-output transactions to subaddresses,
  • transactions with integrated payment ids,
  • and more ...

Screenshot

Generic Monero Scanner

Motivation

The idea is based on two projects:

The first project allowed for online identification of outputs associated with given address and viewkey. The second project additionally searched for transactions which use the outputs as decoys/ring members. However, the first project got discontinued, while the second is a command-line program which limits its widespread use.

The generic Monero scanner is solution to these issues.

Technologies

The key technologies used in the scanner are:

  • C++17 - recent version of the C++ programming language.
  • websockets - protocol for duplex communication between frontend and backend (support provided by drogon)
  • FiberPool - single-file header-only C++17 boost::fiber thread pool library
  • xmregcore - core utilities used in moneroexample projects.

Example compilation on Ubuntu 20.04

Monero download and compilation

To compile the project, most recent Monero development version (i.e., its master branch) needs to be compiled first.

Instruction for compiling monero are here: https://github.com/moneroexamples/monero-compilation

Using USE_SINGLE_BUILDDIR flag is important. Without the flag, cmake of the project will not be able to locate the compiled monero.

Project download and compilation

# go to home folder
cd ~

# drogon dependencies
sudo apt install libjsoncpp-dev uuid-dev

git clone --recurse-submodules https://github.com/moneroexamples/generic-xmr-scanner

cd generic-xmr-scanner

mkdir build && cd build

cmake ..

# altearnatively can use cmake -DMONERO_DIR=/path/to/monero_folder ..
# if monero is not in ~/monero

make

Following the compilation, xmrscanner executable should be available in the build folder.

Html fronted

The project comes with basic html fronted located in html folder. Basic instruction for running xmrscanner over http or https (SSL) protocoles are given here:

Using Docker

Instead of building and compiling everything from scrach your own, you can use Docker. You still need to have full blockchain on your host, which you share with the docker. Do docker containers do not run monero themselfs. So basically you still need to have full node before you can run the xmrscanner.

git clone --recurse-submodules https://github.com/moneroexamples/generic-xmr-scanner

cd generic-xmr-scanner

# build backend image (using 2 cpus)
docker build --build-arg NPROC=2  . -t xmrscannerbackend

# build frontend image
docker build ./html -t xmrscannerfrontend

When the two images are build, you can run containers for backend and frontend:

# run backend container on mainnet (-n 0),
docker run -it -v <path-to-monero-blockckain-on-the-host>:/home/monero/.bitmonero -p 8848:8848  xmrscannerbackend "./xmrscanner -n 0"

# run frontend container
docker run -it -p 9100:80  xmrscannerfrontend

Once the containers are running, open browser: http://0.0.0.0:9100/.

Program options

xmrscanner: generic monero scanner:
  -h [ --help ]                         Help
  -n [ --nettype ] arg (=2)             network type: 0-MAINNET, 1-TESTNET, 
                                        2-STAGENET
  -b [ --blockchain-path ] arg          Non-default path to lmdb folder 
                                        containing the blockchain. Default is 
                                        /home/mwo2/.bitmonero/stagenet/lmdb
  -d [ --da-path ] arg (=./config/default_addresses.json)
                                        Non-default path to default_addresses.j
                                        son file
  -c [ --config-path ] arg (=./config/config.json)
                                        Non-default path to config.json file
  -f [ --fiberthreads ] arg (=0)        Number of fiberpool thread workers. 
                                        Default is 0 - based on hardware
  -p [ --port ] arg (=8848)             Service port

How can you help

Constructive criticism, code and website edits are always good. They can be made through github.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].