-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
44 lines (35 loc) · 873 Bytes
/
justfile
File metadata and controls
44 lines (35 loc) · 873 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
set dotenv-load := true
# Build the numo binary
build:
cargo build --release
# Run the numo bot
run:
./target/release/numo
# Check compilation without building
check:
cargo check -p numo-arb
cargo check -p numo
# Run tests
test:
cargo test
# Format code
fmt:
cargo +nightly fmt --all
# Lint code
clippy:
cargo clippy --all --all-features
# Clean build artifacts
clean:
cargo clean
# Deploy router contract to Celo Alfajores testnet
deploy-router-testnet:
#!/usr/bin/env bash
cd crates/strategies/numo-arb/contracts
echo "Deploying NumoArbRouter to Celo Alfajores..."
forge create src/NumoArbRouter.sol:NumoArbRouter \
--rpc-url https://alfajores-forno.celo-testnet.org \
--private-key $PRIVATE_KEY \
--constructor-args $BASE_TOKEN_ADDRESS $FY_TOKEN_ADDRESS
# Show help
help:
@just --list