Solidity Beginner is a collection of Solidity smart contract examples for those who are starting to learn blockchain development. This repository includes various examples that demonstrate key concepts and functionalities in Solidity.
- Examples of common Solidity patterns
- Demonstrations of smart contract interactions
- Sample contracts for user exercises
- Covers fundamental concepts such as inheritance, events, and arrays
Here are some of the smart contracts included in this repository:
- EventExample.sol: Demonstrates how to use events in Solidity.
- HotelRoom.sol: A simple hotel room booking contract.
- Inheritance.sol: Shows how inheritance works in Solidity.
- Interaction-Exercise-Game.sol: A game contract demonstrating interaction.
- Todo.sol: A simple to-do list contract.
- PausableToken.sol: Example of a pausable token contract.
- Twitter.sol: A contract for interacting with a Twitter-like application.
To get a local copy up and running, follow these steps:
- Clone the repository
git clone https://github.com/KamolovFarrux2005/SolidityBeginner.git
- Change directory
cd SolidityBeginner
- Open the desired Solidity file in your code editor.
You can compile and deploy the smart contracts using Remix IDE or any other Ethereum development environment. Make sure to have the required setup for Solidity development.
To interact with any of the smart contracts, you can use the following steps in Remix:
- Open the contract file (e.g., Todo.sol).
- Compile the contract.
- Deploy it to your desired Ethereum network (e.g., Ganache or testnet).
- Interact with the contract functions in the Remix interface.
This project is licensed under the MIT License - see the LICENSE file for details.
- Xususiyatlar: O'zingizning loyiha uchun xususiyatlarni qo'shishingiz mumkin.
- Smart Contracts: Har bir smart contract haqida batafsilroq ma'lumot kiritishingiz mumkin.
Agar qo'shimcha savollar yoki o'zgarishlar bo'lsa, iltimos, ayting!