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 rast
Build the project:
cargo build --release
Run a local node:
cargo run --release -- --dev
To run the tests, use the following command:
cargo test
Generate the documentation locally:
cargo doc --open
To 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 welcome contributions to the Rust Blockchain Project! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch with your feature or bugfix.
- Commit your changes and push them to your branch.
- Create 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!