-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (21 loc) · 1.68 KB
/
Copy pathMakefile
File metadata and controls
22 lines (21 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include .env
release:
cargo build --release
eth-init:
RUST_LOG=warn cargo run --release -- init -c ethereum --db ${CLICKHOUSE_BASE_URL}/ethereum -p ws://localhost:8546 --trace http://localhost:8545 --provider-type erigon --from $(FROM) --batch $(BATCH)
eth-sync:
RUST_LOG=warn cargo run --release -- sync -c ethereum --db ${CLICKHOUSE_BASE_URL}/ethereum -p ws://localhost:8546 --trace http://localhost:8545 --provider-type erigon
eth-check:
RUST_LOG=warn cargo run --release -- check -c ethereum --db ${CLICKHOUSE_BASE_URL}/ethereum -p ws://localhost:8546 --trace http://localhost:8545 --provider-type erigon --from $(FROM)
run-eth-init:
RUST_LOG=info cargo run -- init -c ethereum --db ${CLICKHOUSE_BASE_URL}/ethereum -p ws://localhost:8546 --trace http://localhost:8545 --provider-type erigon --from $(FROM) --batch $(BATCH)
run-eth-sync:
RUST_LOG=info cargo run -- sync -c ethereum --db ${CLICKHOUSE_BASE_URL}/ethereum -p ws://localhost:8546 --trace http://localhost:8545 --provider-type erigon
run-eth-check:
RUST_LOG=info cargo run -- check -c ethereum --db ${CLICKHOUSE_BASE_URL}/ethereum -p ws://localhost:8546 --trace http://localhost:8545 --provider-type erigon --from $(FROM)
tron-init:
RUST_LOG=info cargo run --release -- init -c tron --db ${CLICKHOUSE_BASE_URL}/tron -p http://localhost:50051 --from $(FROM) --batch $(BATCH)
btc-init:
RUST_LOG=info cargo run --release -- init -c bitcoin --db ${CLICKHOUSE_BASE_URL}/bitcoin -p http://${BITCOIN_RPC_USERNAME}:${BITCOIN_RPC_PASSWORD}@localhost:8332 --from $(FROM) --batch $(BATCH)
btc-sync:
RUST_LOG=info cargo run --release -- sync -c bitcoin --db ${CLICKHOUSE_BASE_URL}/bitcoin -p http://${BITCOIN_RPC_USERNAME}:${BITCOIN_RPC_PASSWORD}@localhost:8332