Skip to content

Commit 502cfaf

Browse files
authored
Merge pull request #1 from refcell/rf/refactor
refactor
2 parents f37d4e1 + 54e6c0d commit 502cfaf

95 files changed

Lines changed: 4851 additions & 2326 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.dockerignore‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
target/
2+
.git/
3+
*.log
4+
*.tmp
5+
.env
6+
.env.*
7+
node_modules/
8+
.cargo/
9+
*.swp
10+
*.swo
11+
*~
12+
.DS_Store
13+
Thumbs.db

‎Cargo.lock‎

Lines changed: 142 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,27 @@ codegen-units = 1
4848
# Local crates
4949
kora-domain = { path = "crates/node/domain" }
5050
kora-cli = { path = "crates/utilities/cli" }
51+
kora-crypto = { path = "crates/utilities/crypto" }
5152
kora-backend = { path = "crates/storage/backend" }
5253
kora-config = { path = "crates/node/config" }
5354
kora-consensus = { path = "crates/node/consensus" }
5455
kora-executor = { path = "crates/node/executor" }
5556
kora-ledger = { path = "crates/node/ledger" }
57+
kora-marshal = { path = "crates/network/marshal" }
5658
kora-reporters = { path = "crates/node/reporters" }
5759
kora-service = { path = "crates/node/service" }
60+
kora-simplex = { path = "crates/node/simplex" }
5861
kora-transport = { path = "crates/network/transport" }
62+
kora-transport-sim = { path = "crates/network/transport-sim" }
5963
kora-sys = { path = "crates/utilities/sys" }
6064
kora-handlers = { path = "crates/storage/handlers" }
6165
kora-overlay = { path = "crates/storage/overlay" }
6266
kora-qmdb = { path = "crates/storage/qmdb" }
6367
kora-qmdb-ledger = { path = "crates/storage/qmdb-ledger" }
6468
kora-traits = { path = "crates/storage/traits" }
69+
kora-dkg = { path = "crates/node/dkg" }
70+
kora-runner = { path = "crates/node/runner" }
71+
kora-rpc = { path = "crates/node/rpc" }
6572

6673
commonware-p2p = "0.0.65"
6774
commonware-utils = "0.0.65"

‎Justfile‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,31 @@ deny:
4444
# Clean build artifacts
4545
clean:
4646
cargo clean
47+
48+
# Start the devnet with interactive DKG
49+
devnet:
50+
cd docker && just devnet
51+
52+
# Stop the devnet
53+
devnet-down:
54+
cd docker && just down
55+
56+
# Reset devnet (clears all state, requires fresh DKG)
57+
devnet-reset:
58+
cd docker && just reset
59+
60+
# View devnet logs
61+
devnet-logs:
62+
cd docker && just logs
63+
64+
# View devnet status
65+
devnet-status:
66+
cd docker && just status
67+
68+
# Live devnet monitoring dashboard
69+
devnet-stats:
70+
cd docker && just stats
71+
72+
# Build docker images
73+
docker-build:
74+
cd docker && just build

‎bin/keygen/Cargo.toml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[package]
2+
name = "keygen"
3+
version.workspace = true
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
8+
description = "Key generation and setup tool for Kora devnet"
9+
10+
[dependencies]
11+
kora-config.workspace = true
12+
kora-domain.workspace = true
13+
kora-dkg.workspace = true
14+
15+
commonware-cryptography.workspace = true
16+
commonware-codec.workspace = true
17+
commonware-utils.workspace = true
18+
19+
ed25519-consensus = "2"
20+
21+
clap.workspace = true
22+
serde.workspace = true
23+
serde_json.workspace = true
24+
toml.workspace = true
25+
rand.workspace = true
26+
hex.workspace = true
27+
eyre.workspace = true
28+
tracing.workspace = true
29+
tracing-subscriber.workspace = true
30+
31+
[lints]
32+
workspace = true

0 commit comments

Comments
 (0)