Welcome to the Polkadot Rust & Substrate Bootcamp final project repository! This project brings together various Rust code snippets into a single project while simulating the Substrate network and implementing smart contracts. The goal is to create a blockchain network and add trusted nodes to it.
- Creating Blockchain: The project includes code for creating a simple blockchain network.
- Simulating Substrate Network: Simulates the Substrate network environment for testing.
- Adding Trusted Nodes: Trusted nodes are added to the network to increase reliability.
- Smart Contracts: The project explores the concept of smart contracts within the blockchain.
Follow these steps to set up the project locally and start participating in Web3 auctions.
- Rust: Make sure Rust is installed on your system. You can download it from rust-lang.org.
- Substrate: Create a Substrate development environment by following the instructions here.
- Clone the repository:
git clone https://github.com/yalntue/polkadot_final.git
- Install the required dependencies:
cargo structure
Start project: cargo run
Smart contract tests are located in the 'tests' folder. These tests ensure the correct functioning of smart contracts. To run the tests, follow these steps:
- Open a terminal in the project directory.
- Run the following command to run the tests:
cargo test
This command will start smart contract tests and display the results in the terminal.
This project is licensed under the MIT License.