{"id":25734245,"url":"https://github.com/nebyte/nebula","last_synced_at":"2026-02-13T00:36:23.276Z","repository":{"id":276009606,"uuid":"927915647","full_name":"NEBYTE/nebula","owner":"NEBYTE","description":"Nebula is a blockchain-based system that features a governance model with neurons, canisters, transactions, and staking.","archived":false,"fork":false,"pushed_at":"2025-02-27T16:44:51.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-27T12:49:41.081Z","etag":null,"topics":["crypto","cryptocurrency","internet","protocol","rust"],"latest_commit_sha":null,"homepage":"https://www.nebula-protocol.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NEBYTE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"buy_me_a_coffee":"rustyspotted"}},"created_at":"2025-02-05T18:50:22.000Z","updated_at":"2025-02-27T16:44:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b35b46e-01f4-4f0f-bc3e-528bd10e67b3","html_url":"https://github.com/NEBYTE/nebula","commit_stats":null,"previous_names":["nebyte/nebula"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/NEBYTE/nebula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEBYTE%2Fnebula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEBYTE%2Fnebula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEBYTE%2Fnebula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEBYTE%2Fnebula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NEBYTE","download_url":"https://codeload.github.com/NEBYTE/nebula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NEBYTE%2Fnebula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29389154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:02:39.825Z","status":"ssl_error","status_checked_at":"2026-02-13T00:00:20.807Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto","cryptocurrency","internet","protocol","rust"],"created_at":"2025-02-26T04:33:29.110Z","updated_at":"2026-02-13T00:36:23.261Z","avatar_url":"https://github.com/NEBYTE.png","language":"Rust","funding_links":["https://buymeacoffee.com/rustyspotted"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://l7mozmkiwy.ufs.sh/f/HKemhjN71TyOBDSBjRYWE0OaYPF9Vq4jUDItmN6JuXrkiTAe\" alt=\"NEBYTE\"\u003e\n\n# Nebula (Early Alpha Release v1.0.0)\n\n[![Maintainer](https://img.shields.io/badge/maintainer-NEBYTE-blue)](https://github.com/rustyspottedcatt)\n[![Made with Rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg)](https://www.rust-lang.org/)\n[![License](https://img.shields.io/badge/License-GNU_AGPLv3-blue)](https://choosealicense.com/licenses/agpl-3.0/)\n\nNebula is a blockchain-based system featuring wallet management, transaction processing, a consensus engine with staking, neuron-based governance, modular canister execution, and dynamic node registration. It is a personal, non-commercial learning project inspired by ICP's architecture and is not intended for production use.\n\n## Table of Contents\n\n- [Features](#features)\n- [Whitepaper](#whitepaper)\n- [Installation](#installation)\n- [Configuration](#configuration)\n  - [config.toml](#configtoml)\n- [Usage](#usage)\n  - [Wallet Management](#wallet-management)\n  - [Transaction Processing](#transaction-processing)\n  - [Canister Transactions](#canister-transactions)\n  - [Block Production](#block-production)\n  - [Neuron Management](#neuron-management)\n  - [Staking](#staking)\n  - [Governance and Voting](#governance-and-voting)\n  - [Node Registry](#node-registry)\n- [Dependencies](#dependencies)\n- [License](#license)\n\n## Features\n\n- **Wallet Management**: Create and manage wallets with secure keys.\n- **Transaction Processing**: Build, sign, and submit transactions.\n- **Consensus Engine**: Validator selection, block production, and ledger management.\n- **Governance**: Neuron-based proposals and weighted voting.\n- **Nervous System**: Neuron creation, locking, and stake delegation.\n- **Staking**: Secure staking and unstaking of tokens via canisters.\n- **Canisters**: Modular execution of on-chain functions.\n- **Node Registry**: Dynamic node registration and configuration via a registry.\n\n## Whitepaper\n\n[Whitepaper Link](https://whitepapersonline.com/en/whitepaper/nebula-a-decentralized-open-source-blockchain-for-enhanced-governance)\n\n[Nebula - Whitepaper.pdf](https://l7mozmkiwy.ufs.sh/f/HKemhjN71TyO0uPtcuIgO5dR7MSuQXNazqoA6bVipTyxmHfC)\n\n## Installation\n\n### Prerequisites\n\n- Rust (latest stable) + Nightly\n- Cargo\n\n### Clone the Repository\n\n```sh\ngit clone https://github.com/rustyspottedcatt/nebula.git\ncd nebula\n```\n\n### Build the Project\n\n```sh\ncargo build --release\n```\n\n### Run the Application\n\nFor example, to run a node called node1:\n\n```sh\ncargo run node1\n```\n\n## Configuration\n\nNebula uses a configuration file (`config.toml`) to set parameters for nodes and network settings.\n\n### config.toml\n\n```toml\n[node1]\nname = \"NebulaNode1\"\nport = 30333\ninitial_balance = 1000\ndb_path = \"data/nodes/nebula_storage_node1\"\ndata_center_owner = \"Owner A\"\nfiber_state = \"Operational\"\nlocation = \"Location A\"\nnode_provider = \"Provider A\"\nstatus = \"active\"\nnode_provider_id = \"provider-id-001\"\nnode_operator_id = \"operator-id-001\"\nsubnet_id = \"subnet-001\"\nip_address = \"127.0.0.1\"\n```\n\n### Example Production Usage:\n\n```toml\n[node1]\nname = \"NebulaNode1\"\nport = 30333\ninitial_balance = 1000\ndb_path = \"data/nodes/nebula_storage_node1\"\ndata_center_owner = \"Owner A\"\nfiber_state = \"Operational\"\nlocation = \"Location A\"\nnode_provider = \"Provider A\"\nstatus = \"active\"\nnode_provider_id = \"provider-id-001\"\nnode_operator_id = \"operator-id-001\"\nsubnet_id = \"subnet-001\"\nip_address = \"127.0.0.1\"\n\n[node2]\nname = \"NebulaNode2\"\nport = 30334\ninitial_balance = 1000\ndb_path = \"data/nodes/nebula_storage_node2\"\ndata_center_owner = \"Owner B\"\nfiber_state = \"Operational\"\nlocation = \"Location B\"\nnode_provider = \"Provider B\"\nstatus = \"active\"\nnode_provider_id = \"provider-id-002\"\nnode_operator_id = \"operator-id-002\"\nsubnet_id = \"subnet-002\"\nip_address = \"127.0.0.1\"\n\n[network]\nbootstrap_nodes = [\"127.0.0.1:30333\", \"127.0.0.1:30334\"]\n```\n\n## Usage\n\n### Wallet Management\n\n```rust\nuse crate::core::api::v1::wallet::create_wallet;\nlet wallet = create_wallet(db.clone());\nprintln!(\"Wallet created: {}\", wallet.address);\n```\n\n### Transaction Processing (Using Canisters)\n\n```rust\nuse crate::core::canister::canister::{Canister, CanisterFunctionPayload};\nlet mut canister = Canister::new(\"transaction_canister\".to_string(), sender_address.clone(), db.clone());\nlet result = canister.execute_function(CanisterFunctionPayload::Transfer { amount: 50, sender: sender_address, receiver: receiver_address });\nprintln!(\"Transaction result: {:?}\", result);\n```\n\n### Staking (Using Canisters)\n\n```rust\nlet mut canister = Canister::new(\"staking_canister\".to_string(), sender_address.clone(), db.clone());\nlet result = canister.execute_function(CanisterFunctionPayload::Stake { neuron_id: 12345, amount: 500 });\nprintln!(\"Staking Result: {:?}\", result);\n```\n\n### Unstaking (Using Canisters)\n\n```rust\nlet result = canister.execute_function(CanisterFunctionPayload::Unstake { neuron_id: 12345, amount: 200 });\nprintln!(\"Unstaking Result: {:?}\", result);\n```\n\n### Node Registry\n\n```rust\nuse crate::core::node::{NodeRegistry, Node};\nlet node_registry = NodeRegistry::new(db.clone());\nlet node = Node {\n    data_center_owner: \"Owner A\".to_string(),\n    fiber_state: \"Operational\".to_string(),\n    dc_id: \"node1\".to_string(),\n    location: \"Location A\".to_string(),\n    node_provider: \"Provider A\".to_string(),\n    status: \"active\".to_string(),\n    node_provider_id: \"provider-id-001\".to_string(),\n    node_operator_id: \"operator-id-001\".to_string(),\n    subnet_id: \"subnet-001\".to_string(),\n    ip_address: \"127.0.0.1\".to_string(),\n};\nnode_registry.register_node(node);\n```\n\n## License\n\nDistributed under the [GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/) license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebyte%2Fnebula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnebyte%2Fnebula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebyte%2Fnebula/lists"}