Rust Blockchain Project is a high-performance, decentralized public blockchain written in Rust. It leverages Rust's memory safety and performance capabilities to deliver a secure and scalable blockchain platform.
- Decentralized Consensus: Implements a Proof of Stake (PoS) consensus algorithm, ensuring a secure and energy-efficient network.
- Smart Contracts: Supports smart contracts using WebAssembly (Wasm), allowing developers to write contracts in multiple languages.
- High Throughput: Optimized for high transactions per second (TPS), suitable for large-scale applications.
- Interoperability: Compatible with existing blockchain ecosystems, enabling cross-chain communication.
- Security: Built with Rust to ensure memory safety and prevent common vulnerabilities such as buffer overflows.
Clone the repository:
git clone https://github.com/astranetworld/rast.git
cd rastBuild the project:
cargo build --releaseRun a local node:
cargo run --release -- --devTo run the tests, use the following command:
cargo testGenerate the documentation locally:
cargo doc --openTo set up a full node, follow these steps:
- Install Rust and Cargo (if not already installed).
- Build the project using the steps outlined above.
- Run the node using the provided command.
Use the command-line interface (CLI) or integrate with the blockchain via the JSON-RPC API.
- Write your smart contract in Rust or any language that compiles to Wasm.
- Compile the contract using
wasm-pack. - Deploy the compiled Wasm file to the blockchain using the provided CLI tools.
We're excited to welcome contributions to the Rust Blockchain Project! To get started, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push them to your branch.
- Submit a pull request with a detailed description of your changes.
Kindly make sure your code complies with the project's coding standards and successfully passes all tests before submitting a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please reach out to us via email at [email protected] or join our Discord community.
We extend our heartfelt thanks to the Rust community and all the contributors who have made this project a reality.
Happy coding and welcome to the future of decentralized technology with Rust!