Jump to content
DenariusTalk

Search the Community

Showing results for tags 'nomp'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Announcements
  • Denarius Discussions
    • General Discussion
    • Tutorials & Help
    • Marketing & PR
    • Development
    • Mining & Staking
    • Trading & Exchanges
    • Marketplace
  • Other Discussions
    • The Lounge
    • Cryptocurrencies

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. How to setup a NOMP mining pool for Denarius. This is a basic guide to get someone headed in the right direction to getting a pool to work. I can run 2 coins on a $5 Vultr VPS with small hashrate, so far. Update Ubuntu 16.04 apt-get update apt-get dist-upgrade Create a swap file dd if=/dev/zero of=/mnt/myswap.swap bs=1M count=4000 mkswap /mnt/myswap.swap swapon /mnt/myswap.swap Create swap file to keep this persistent nano /etc/fstab Insert at the bottom of the file /mnt/myswap.swap none swap sw 0 0 Install required packages apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server add-apt-repository ppa:bitcoin/bitcoin apt-get update apt-get install libdb4.8-dev libdb4.8++-dev curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh source ~/.profile nvm install 0.10.25 nvm use 0.10.25 Make a new user since you aren't going to use root for this. dduser usernameyourwant Give new user sudo access adduser usernameyousetup sudo Reboot and login as the new user reboot Denarius Wallet Daemon Setup Get dependencies apt-get --assume-yes install git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf libevent-dev autogen automake libtool Compile Denarius Daemon git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix sudo mv ~/denarius/src/denariusd /usr/local/bin/denariusd Get chaindata and extract to .denarius folder apt-get -y install unzip cd ~/.denarius rm -rf database txleveldb smsgDB wget https://github.com/carsenk/denarius/releases/download/v3.2/chaindata1451336.zip unzip chaindata.zip Edit denarius.conf nano ~/.denarius/denarius.conf Insert this into denarius.conf rpcuser=denariusrpc rpcpassword=USERANDOMPASSWORDHERE!!! gen=0 server=1 listen=1 rpcallowip=127.0.0.1 rpcport=32369 daemon=1 Run the wallet so its syncing while you do this sudo denariusd --daemon Get a DNR address so the pool has a wallet. Save this address for a step below. Address goes into pool_configs/denarius.json eventually. denariusd getnewaddress Mining Pool Setup cd git clone https://github.com/carsenk/node-open-mining-portal.git nomp cd nomp sudo npm update You want to create a config.json in the main nomp directory. Replace your IP address and take note of changing port 8080 to some random port. Sample config.json https://pastebin.com/JFp5ZKq6 Create the Coin denarius.json under nomp/coins Sample denarius.json https://pastebin.com/XjiXVLCM Create the pool config for denarius under nomp/pool_configs. Replace DNRPOOLWALLETDAEMONADDRESS with address used from Denarius wallet daemon getnewaddress from above. Change DNRFEEPAYMENTADDRESS to your fee payment address and 1.0 is 1% fee. Use RPC user and pass that you have in your denarius.conf. Change ports and difficulty for your needs. Sample denarius.json https://pastebin.com/23F9Cfwq Starting the pool. cd cd nomp node init.js Now go your your IPADDRESS:PORT in your web browser and get to mining on your pool. I also disabled root access, password logins and only allow SSH key login to the new user.
×