update document.

This commit is contained in:
lzx
2025-04-10 19:19:41 +08:00
parent b4acd2aee6
commit b9081848da
3 changed files with 19 additions and 47 deletions

27
README
View File

@@ -1,12 +1,23 @@
app module
hashrate
distribution
report_block
confirm_block
clear
balance
m2pool app module code
############# start common #############
environment:
nodejs v16.10.0 +
express
axios
mysql2
ioredis
if you want to support enx, kas...
add environment:
kaspa-rpc-client
### start common example ###
node app.js <method> <coin>
# if you used pm2, you can use this command
pm2 start app.js --name <pm2 process name> -- <method> <coin>
############# pm2 start common #############
pm2 start app.js --name nexa-hashratev2 -- hashrate nexa
pm2 start app.js --name nexa-reportv2 -- report nexa
pm2 start app.js --name nexa-confirm -- confirm nexa