Explore the docs » · View Demo · Report Bug · Request Feature
- Overview
- Smart Contracts
- Architecture
- Technology Stack
- Key Features
- Getting started
- Testing
- Deployment
- Contributing
- Licensing
- Contact
SpaceDAO is a groundbreaking, community-driven initiative that revolutionizes space applications through decentralized collaboration and consensus. Our mission is to mitigate risks associated with centralized control of critical decision-making information in the space industry. The Space Traffic Management (STM) dApp, powered by these smart contracts, enables:
- Cross-validation of Conjunction Data Messages (CDMs) by Space Situational Awareness (SSA) data providers
- Optimized spacecraft maneuvering based on consensus data
- Global orbital situation oversight for regulators and space lawyers
SpaceDAOID.sol
:
- Manages user permissions and identity
- Stores comprehensive user information
- Implements role-based access control
Confidence.sol
:
- Handles confidence scoring for data providers
- Implements adaptive confidence adjustment algorithms
- Supports multiple confidence categories (LEO, MEO, HEO, GEO)
ConsensusCDM.sol
:
- Manages the consensus process for CDMs
- Implements weighted voting based on provider confidence
- Handles data submission, validation, and fusion
Our decentralized application follows a robust architecture:
A[Frontend Vue.js App] -->|Interacts with| B[Web3 Provider]
B -->|Sends transactions to| C[Arbitrum Network]
C -->|Executes| D[SpaceDAOID Contract]
C -->|Executes| E[Confidence Contract]
C -->|Executes| F[ConsensusCDM Contract]
D <-->|Interacts with| E
E <-->|Interacts with| F
F -->|Emits events| G[Event Listeners]
G -->|Updates| A
- Smart Contracts: Solidity ^0.8.20
- Development Environment: Hardhat
- Blockchain: Arbitrum
- Frontend: Vue.js 3 with TypeScript
- Styling: TailwindCSS
- Testing: Mocha & Chai
- Continuous Integration: GitLab CI/CD
- 🌐 Decentralized identity and permission management positions and trajectories
- 🚨 Advanced confidence scoring system for data providers
- 🤝 Weighted consensus mechanism for Conjunction Data Messages
- 🔗 Scalable and low-fee operations on Arbitrum
- 🛠 Real-time event processing and updates
- 🧪 Comprehensive test suite ensuring contract reliability
Follow these steps to set up the project locally.
- Node.js (v14.x or later)
- npm (v6.0.0 or later)
- Hardhat
-
Clone the repository
git clone https://gitlab.com/spacedao/web3/space-traffic-consensus.git cd space-traffic-consensus
-
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env
# Edit .env with your specific configuration
Run the comprehensive test suite:
- Run the comprehensive test suite:
npx hardhat test
- For coverage reports:
npx hardhat coverage
Deploy to Arbitrum testnet:
npx hardhat run scripts/deploy.ts --network arbitrum_testnet
We welcome contributions from the space and blockchain communities! Please read our Contributing Guidelines for more information on how to get involved.
Don't forget to give the project a star! Thanks again!
This work is licensed under the GNU LESSER GENERAL PUBLIC LICENSE
version 3 and above. All contributors accepts terms of this license.
See LICENSE
for more information.
- SpaceDAO Team - @SpaceDAO
- Project Link: https://gitlab.com/spacedao/web3/space-traffic-consensus
Built with ❤️ by the SpaceDAO community