Skip to content

Commit

Permalink
hexstody-public and hexstody-operator are converted to libs
Browse files Browse the repository at this point in the history
  • Loading branch information
fastpok committed May 28, 2022
1 parent 5098ea1 commit d64ea8a
Show file tree
Hide file tree
Showing 59 changed files with 641 additions and 532 deletions.
66 changes: 40 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"hexstody-btc",
"hexstody-client",
"hexstody-db",
"hexstody-hot-operator",
"hexstody-hot-public",
"hexstody-operator",
"hexstody-public",
"hexstody-hot",
]
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,12 @@ Tests
cargo test
```

Public API
How wallet
```
cd hexstody-hot-public
cargo run --bin hexstody-hot-public -- serve
cargo run --bin hexstody-hot -- serve
```

Operator key generation tool
```
cargo run --bin operator-keygen -- --password
cargo run --bin operator-keygen
```

Operator API
```
cd hexstody-hot-operator
cargo run --bin hexstody-hot-operator -- serve
```
3 changes: 0 additions & 3 deletions hexstody-btc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ bitcoincore-rpc-json = "0.15.0"
chrono = { version = "0.4.19", features = [ "serde" ] }
clap = { version = "3.0.0-rc.4", features = ["derive", "env"] }
ctrlc = "3.2.2"
dotenv = "0.15.0"
env_logger = { version = "0.9.0" }
futures = "0.3.19"
futures-channel = "0.3"
futures-util = "0.3.19"
hexstody-btc-api = { path = "../hexstody-btc-api" }
hexstody-btc-client = { path = "../hexstody-btc-client" }
hexstody-db = { path = "../hexstody-db" }
log = "0.4.14"
rocket = { version = "=0.5.0-rc.2", default-features = false, features = ["json"] }
rocket_okapi = { git = "https://github.com/ThouCheese/okapi", branch = "feat/rocket0.5-rc.2", features = ["rapidoc", "swagger"] }
Expand Down
1 change: 0 additions & 1 deletion hexstody-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ tokio = { version = "1", features = [ "full" ] }
uuid = { version = "0.8", features = [ "serde", "v4" ] }

[dev-dependencies]
maplit = "1.0.2"
sqlx-database-tester = { version = "0.2.0", features = [ "runtime-tokio" ] }
2 changes: 0 additions & 2 deletions hexstody-hot-operator/Rocket.toml

This file was deleted.

85 changes: 0 additions & 85 deletions hexstody-hot-operator/src/main.rs

This file was deleted.

64 changes: 0 additions & 64 deletions hexstody-hot-operator/src/runner.rs

This file was deleted.

2 changes: 0 additions & 2 deletions hexstody-hot-public/Rocket.toml

This file was deleted.

Loading

0 comments on commit d64ea8a

Please sign in to comment.