-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a846201
commit c8452a0
Showing
31 changed files
with
1,241 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
/.idea | ||
/nebula_db | ||
/.cargo | ||
/*.tar.gz | ||
/*.tar.gz | ||
/c.bat | ||
/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "nebula" | ||
version = "0.1.0-pre.alpha.4" | ||
version = "1.0.0" | ||
edition = "2024" | ||
authors = ["NEBYTE [email protected]"] | ||
description = "Nebula is a blockchain-based system that replicates ICP’s architecture—including neurons, governance, canisters, transactions, and staking. It uses ed25519-dalek for key management and transaction signing." | ||
|
@@ -11,12 +11,15 @@ repository = "https://github.com/NEBYTE/nebula" | |
[dependencies] | ||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "full"] } | ||
bincode = "1.3" | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde = { version = "1.0", features = ["derive", "rc"] } | ||
ed25519-dalek = { version = "2", features = ["rand_core", "serde"]} | ||
rand = "0.8" | ||
chrono = { version = "0.4.39", features = ["serde"]} | ||
sha2 = "0.10.8" | ||
hex = "0.4.3" | ||
rocksdb = "0.23.0" | ||
config = "0.15.8" | ||
parking_lot = {version = "0.12.0", features = ["deadlock_detection"]} | ||
|
||
[package.metadata.deb] | ||
maintainer = "NEBYTE [email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[node1] | ||
name = "NebulaNode1" | ||
port = 30333 | ||
initial_balance = 1000 | ||
db_path = "data/nodes/nebula_storage_node1" | ||
data_center_owner = "Owner A" | ||
fiber_state = "Operational" | ||
location = "Location A" | ||
node_provider = "Provider A" | ||
status = "active" | ||
node_provider_id = "provider-id-001" | ||
node_operator_id = "operator-id-001" | ||
subnet_id = "subnet-001" | ||
ip_address = "127.0.0.1" | ||
|
||
[node2] | ||
name = "NebulaNode2" | ||
port = 30334 | ||
initial_balance = 1000 | ||
db_path = "data/nodes/nebula_storage_node2" | ||
data_center_owner = "Owner B" | ||
fiber_state = "Operational" | ||
location = "Location B" | ||
node_provider = "Provider B" | ||
status = "active" | ||
node_provider_id = "provider-id-002" | ||
node_operator_id = "operator-id-002" | ||
subnet_id = "subnet-002" | ||
ip_address = "127.0.0.1" | ||
|
||
[network] | ||
bootstrap_nodes = ["127.0.0.1:30333", "127.0.0.1:30334"] |
Oops, something went wrong.