/node-open-mining-portal

Try to reborn NOMP. Only for devs.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

We are trying to reborn NOMP. Need contributors!


Lyra2z (Zcoin) algo fixed, next step is neoscrypt


Node Open Mining Portal consists from 3 main modules:

Stratum Pool can be replaced with node-merged-pool (it's made in UNOMP) Adding new algos threw Node Multihashing libraries.


Install

git clone https://github.com/foxer666/node-open-mining-portal.git pool
cd pool
npm update
node init.js

Requirements

  • Node 8.x.x or higher
  • Coin daemon
  • Redis Server

Run in Docker

  1. Correct configs appropriately to your environment in docker directory
  2. cd docker
  3. docker build -t nomp .
  4. docker run -d --name nomp -v $(pwd)/config:/opt/config nomp

You will need to expose some ports to make it accessible from outside. You can achieve this by adding option -p HOST_PORT:CONTAINER_PORT in 4th step

You can see the logs of the server with docker logs -f nomp, or jump into container with docker exec -it nomp.


Hashing algorithms supported:

  • ? Argon2 (need tests)
  • ? Blake (need tests)
  • ? Blake2S (need tests)
  • ? Cryptonight (need tests)
  • ? Dcrypt (need tests)
  • ? Decred (need tests)
  • ? Fresh (need tests)
  • ? Fugue (need tests)
  • Groestl (tested only shares with AuroraCoin, blocks not tested)
  • ? GroestlMyriad (need tests)
  • ? Qubit (Shares works, blocks finding, but error 'We thought a block was found but it was rejected by the daemon'. No blocks presented in pools web interface)
  • ? Quark (need tests)
  • ? Hefty1 (need tests)
  • ? Keccak (need tests)
  • ? Lbry (need tests)
  • ? lyra2re (need tests)
  • ? lyra2re2 (need tests)
  • ? lyra2rev2 (need tests)
  • lyra2z (tested with Zcoin, check notes about testnet)
  • ? lyra2z330 (need tests)
  • ? NeoScrypt (working on it)
  • ? NIST5 (need tests)
  • ? S3 (need tests)
  • Scrypt (tested with AntiLiteCoin, 1CREDIT, ArgusCoin, WAYAWOLFCOIN and many others)
  • (-) Scrypt-Jane (submitblock not working tested with CacheCoin, Yacoin)
  • ? Scrypt-N (need tests)
  • ? Scrypt-OG (need tests)
  • ? Sha1 (need tests)
  • SHA256 (tested with VCOIN, don't use with BTC, no Segwit tested)
  • ? SHAvite-3 (need tests)
  • ? Skein (need tests)
  • X11 (tested with BrainCoin, CannabisCoin, AdzCoin and many others)
  • ? X11Ghost (need tests)
  • ? X13 (need tests)
  • ? X14 (need tests)
  • ? X15 (need tests)
  • ? Yescrypt (need tests)
  • ? zr5 (need tests)
  • ? ziftr (need tests)

Notes

Lyra2Z

If you are going to test ZCoin (lyra2z) on testnet, make sure you are uncommented proper lines in transactions.js in https://github.com/foxer666/node-stratum-pool

ONLY USE COIN ADDRESS AS MINING USER (WITHOUT WORKER) OR PAYOUTS WILL FAIL

I have modified code in workers-fix branch. Need to test it.


Credits


License

Released under the GNU General Public License v2 http://www.gnu.org/licenses/gpl-2.0.html