This project contains the code for the miner needed by the APDF-blockchain/node. This code can be found at https://github.com/APDF-blockchain/miner
To run this application, run 'npm start' in the root of the project. Or run 'node dist/miner.js' after you run 'npm run-script build' command.
After a build, one can supply command line args to start the application:
- --url=
- --address=<miner address that you wish to use instead of the default 28Fcf7997E56f1Fadd4FA39fD834e5B96cb13b2B>
- run npm i typedoc
- The command in 1. is only required once.
- Run 'mkdir docs' in the root directory.
- cd to src
- run '../node_modules/.bin/typedoc --out ../docs --mode modules .'
- This will create .html files in the /docs directory. You can open the index.html file to view the documentation.