Skip to content

Execution of the AST blockchain client written in Rust

Notifications You must be signed in to change notification settings

n42blockchain/n42-rs1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Blockchain Project

Rust License Build Status

Introduction

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.

Features

  • 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.

Getting Started

Prerequisites

Installation

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

Running Tests

To run the tests, use the following command:

cargo test

Documentation

Generate the documentation locally:

cargo doc --open

Usage

Setting Up a Node

To set up a full node, follow these steps:

  1. Install Rust and Cargo (if not already installed).
  2. Build the project using the steps outlined above.
  3. Run the node using the provided command.

Interacting with the Blockchain

Use the command-line interface (CLI) or integrate with the blockchain via the JSON-RPC API.

Deploying Smart Contracts

  1. Write your smart contract in Rust or any language that compiles to Wasm.
  2. Compile the contract using wasm-pack.
  3. Deploy the compiled Wasm file to the blockchain using the provided CLI tools.

Contributing

We welcome contributions to the Rust Blockchain Project! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with your feature or bugfix.
  3. Commit your changes and push them to your branch.
  4. 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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries or support, please reach out to us via email at [email protected] or join our Discord community.

Acknowledgments

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!

About

Execution of the AST blockchain client written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%