Welcome to js-particles
, a proof-of-work blockchain miner built with JavaScript.
- Environment Variables:
- Set up a
.env
file based on.env.sample
and provide a valid private key.
- Set up a
Ensure you have the following installed on your local machine:
If you haven't installed Yarn, you can do it using npm:
npm install -g yarn
Then, install the project dependencies:
yarn
To start the mining process, execute:
node miner.js
To check the balance for a specific address:
curl --location 'https://p2p.particles.digital/get-balance?address=${address}'
Below is an example log from the mining process: