forked from nimble-technology/nimble-miner-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (21 loc) · 725 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SHELL:=/bin/bash
.PHONY: install copy run
install:
python3 -m venv nimenv_localminers && \
source ./nimenv_localminers/bin/activate && \
pip3 install -r requirements.txt
run:
ifndef addr
$(error addr is not set.)
endif
@echo "----------------------------------"
@echo "Starting Process for Address $(addr)"
source ./nimenv_localminers/bin/activate && \
python execute.py $(addr)
@echo "Process Completed for Address $(addr)"
@echo "----------------------------------"
check:
@echo "----------------------------------"
@curl -X POST https://mainnet.nimble.technology:443/check_balance -H "Content-Type: application/json" -d '{"address": "$(addr)"}'
@echo ""
@echo "----------------------------------"