π ζ₯ζ¬θͺREADME | π¬π§ English README | π«π· FranΓ§ais README | π¨π³ δΈζ README
HyperFlux aims to achieve the following goals:
- β‘ Ultra-fast Transaction Processing: Proprietary BFT + DAG algorithms process up to 10,000 transactions per second.
- π‘οΈ High Security: Verification while protecting transaction privacy using zk-SNARKs technology.
- π€ BFT (Byzantine Fault Tolerance): BFT algorithm implemented to improve fault tolerance in distributed systems.
- 𧩠zk-SNARKs Verification: Added zk-SNARKs technology to protect transaction privacy while verifying transactions.
- π Parallel Transaction Processing with DAG: Implemented DAG to enable parallel processing of transactions and increase throughput.
- `docs/`: Directory containing project documentation, including:
- `README.md`: Project overview, purpose, setup instructions, usage guidelines, and runtime screen details.
- `CONTRIBUTING.md`: Project contribution guide.
- `wiki/`: Additional documentation about the project.
- `src/`: Directory containing source code, including:
- `bft_network.py`: Script for managing the BFT network.
- `bft_node.py`: Script for BFT node operations.
- `blockchain.py`: Script for blockchain management.
- `dag.py`: Script for DAG operations.
- `dag_node.py`: Script for DAG node operations.
- `dashboard.py`: Script for the dashboard interface.
- `transaction.py`: Script for transaction processing.
- `test_hyperflux.py`: Script for testing the functionalities of `hyperflux.py`.
- `hyperflux.py`: Main script for starting the HyperFlux project.
- `requirements.txt`: List of project dependencies.
Follow these steps to set up HyperFlux:
- Clone the repository: ```bash git clone https://github.com/yukihamada/HyperFlux.git cd HyperFlux ```
- Install the required dependencies: ```bash pip install -r requirements.txt ```
To start the HyperFlux project, run the following command: ```bash python hyperflux.py ```
When you run `python hyperflux.py`, you will encounter a dashboard that allows you to monitor and interact with the HyperFlux system. Below are the detailed views and functionalities that you can access.
HyperFlux Status: Initializing... [###----] Loading configuration... [#####---] Connecting to network... [########] Node started successfully...
HyperFlux WEB interface: http://localhost:8080
Dashboard:
- π Check node status
- πΈ Submit transaction
- π Check network status
- π Smart contract management
- π³οΈ Governance
- π Cross-chain functionality
- βοΈ Configuration ================================================== Select functionality (1-7): ``` For a detailed explanation of what you will see when you run the project, please refer to the Screen at Runtime Guide.
- Smart Contract Support: EVM compatibility for development in Solidity. Seamless integration with the existing Ethereum ecosystem.
- P2P Communication: Real-time peer-to-peer communication using WebRTC. Fast and secure data transfer between nodes, optimizing distributed applications' performance.
- Scalability: Advanced scalability features with sharding and DAG, ensuring consistent high performance even as the network grows.
Here is an example for manipulating each HyperFlux function using command line arguments.
```bash python hyperflux.py status ```
Node status:
- State: Active
- Number of connected peers: 12
- Block Height: 654321
- Number of transactions: 987654
- Memory Used: 256MB
- Uptime: 48 hours ================================================== ```
```bash python hyperflux.py send --address 0x1234abcd --amount 50 ```
Transaction sent to:
- Destination address: 0x1234abcd
- Amount of tokens to send: 50 Transaction being sent... Transaction ID: 0xabcd1234efgh5678 Transaction successfully submitted. ================================================== ```
HyperFlux achieves its goals through the following innovations:
- Proprietary BFT + DAG Algorithm: Rapid processing and finalization of transactions with high throughput.
- zk-SNARKs technology: Provides a trusted blockchain environment with enhanced data privacy and security.
- Sharding technology: Effectively distributes network load and improves scalability.
- EVM compatibility: Compatibility with the existing Ethereum ecosystem makes it easier for developers to use existing tools and libraries.
- Using Autonomous Development Software: The advent of autonomous development software such as OpenDevin has greatly increased the efficiency of the development process and enabled the implementation of advanced technologies.
Traditional blockchain projects have faced the so-called βtrilemmaβ of scalability, security, and decentralization. Many projects focused on some of these elements, making it very difficult to achieve all of them simultaneously. For example, combining EVM compatibility with zk-SNARKs was technically very complex and required a lot of resources and time.
However, HyperFlux has adopted a new approach to overcome these challenges by integrating the research results and technologies accumulated to date. Specifically, the following factors make this possible:
- Integration of state-of-the-art research and technology: By combining state-of-the-art blockchain technology and algorithms, we were able to overcome the previous technical limitations.
- Strong Development Team and Community: The collaboration between the expert team and the open source community enables rapid technology development and problem solving.
- Using Autonomous Development Software: Tools like OpenDevin streamline the development process and make it easier to implement complex technologies.
- Continuous Improvement and Testing: Through continuous testing and feedback loops, we are improving the reliability and performance of our technology.
These factors enable HyperFlux to deliver performance and convenience that outperforms other blockchain projects and enables the next generation of blockchain technology.
For more information, please refer to the CONTRIBUTING GUIDE.