Welcome to js-particles
, a sleek and efficient proof-of-work blockchain miner crafted in JavaScript.
Before diving in, ensure your system is equipped with:
- Environment Magic:
Begin by conjuring a
.env
file from.env.sample
. Make sure to infuse it with a genuine wallet address.
If you haven't embraced Yarn yet:
npm install -g yarn
Next, pull in the project dependencies:
yarn install
Fire up the mining process with:
node miner.js
Peek into the balance for any address:
node cmd.js getBalance --address YOUR_ADDRESS_HERE
To transfer particles:
node cmd.js sendTransaction --to DESTINATION_ADDRESS --amount AMOUNT_TO_SEND
Witness the symphony of the mining process: