Skip to the content.

Litedoge Web Scrypt Miner

Getting Started

First Run

Running

I’ve gotten a few questions about running the application. So here’s some snippets that will hopefully help people get started.

When you put them all together, you get what I use in my start script:

NODE_PORT=9870 NODE_ENV=production node server.js >> /tmp/server.log &

server.js

Options

payer.js

Options

Environments

Express checks the NODE_ENV environment variable to know what features to turn on. I’ve configured two:

Paying Out

This is a manual process right now, for a lot of reasons. You’re welcome to automate it if you see fit though. Here’s the basics of how it works. All of this goes on in the processing directory.

1) "{\"email\":\"hello@example.com\",\"amount\":\"1\",\"address\":\"DM7BaRfSxUhvz8eJ9dHeChzEifJaP5poFL\"}"
2) "{\"email\":\"blank@example.com\",\"amount\":\"1\",\"address\":\"DM7BaRfSxUhvz8eJ9dHeChzEifJaP5poFL\"}"
"{\"email\":\"hello@example.com\",\"amount\":\"1\",\"address\":\"DM7BaRfSxUhvz8eJ9dHeChzEifJaP5poFL\"}"
"{\"email\":\"blank@example.com\",\"amount\":\"1\",\"address\":\"DM7BaRfSxUhvz8eJ9dHeChzEifJaP5poFL\"}"
{
	"DM7BaRfSxUhvz8eJ9dHeChzEifJaP5poFL": 2.00000001
}

Changes You Might Care About

Version 2.0.2

Version 2.0.1

Version 2.0.0