m2pool v1.0.0 version

This commit is contained in:
lzx 2025-04-15 14:24:00 +08:00
parent 38e6832f5d
commit a7073b5ee6
6 changed files with 42 additions and 2 deletions

View File

@ -1,3 +1,43 @@
# m2pool
support coins: ["alph", "nexa", "mona", "grs", "dgb-skein", "dgb-qubit", "dgb-odo", "enx", "rxd"]
m2pool mining pool project
# version
m2pool v1.0.0
# start
1, packed frontend files
``` bash
cd front
npm install
npm run build
```
now you can find packed files in `front/dist` folder
2, start server
``` bash
cd server
javac -jar m2pool.jar
```
now you can visit `http://localhost:8080`
3, start core
``` bash
cd core
mkdir -p ./bin/<coin>
go build -o ./bin/<coin>/gbt-<coin> ./core/cmd/gbt/gbt.go
go build -o ./bin/<coin>/server-<coin> ./core/cmd/server/server.go
```
now you can find `gbt-<coin>` and `server-<coin>` in `./bin/<coin>` folder
4, start app
``` bash
cd app
npm install
npm run start <coin>
```
Recommend using PM2 to launch app projects like this:
``` bash
cd app
npm install
npm install pm2 -g
pm2 start npm --name app-<coin> -- run start <coin>
```

0
app/README.md Normal file
View File

0
core/README.md Normal file
View File

0
docs/README.md Normal file
View File

0
front/README.md Normal file
View File

0
server/README.md Normal file
View File