A collection of Solidity smart contracts created while learning Ethereum development. This repository contains example contracts, experiments, and notes from my blockchain programming journey.
solidity-learning/ βββ basics/ # Fundamental Solidity concepts β βββ HelloWorld.sol β βββ Variables.sol β βββ Functions.sol βββ intermediate/ # More advanced concepts β βββ Inheritance.sol β βββ Interfaces.sol β βββ Modifiers.sol βββ advanced/ # Complex patterns and optimizations β βββ GasOptimization.sol β βββ DelegateCall.sol βββ projects/ # Mini-projects applying concepts βββ SimpleToken.sol βββ VotingSystem.sol
git clone https://github.com/your-username/solidity-learning.git
cd solidity-learning
npm install
Compiling Contracts
bash
REMIX IDE
π Learning Resources
Solidity Documentation
Ethereum Developer Portal
Cryptozombies Tutorial
Solidity by Example
π οΈ Development Notes
All contracts are written in Solidity ^0.8.0
Uses SPDX license identifiers
Follows basic security practices (checks-effects-interactions, etc.)
Includes NatSpec comments for documentation
π€ Contributing
While this is primarily a personal learning repo, suggestions and improvements are welcome! Please open an issue or pull request for:
Code optimizations
Security improvements
Additional examples
Better documentation
π License
This repository is licensed under the MIT License.