https://github.com/rohitscript/solidity-by-example
https://github.com/rohitscript/solidity-by-example
ethereum smart-contracts solidity solidity-codes solidity-contracts solidity-language solidity-practice solidity-programming-language
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rohitscript/solidity-by-example
- Owner: rohitscript
- Created: 2023-03-20T05:05:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T17:41:38.000Z (about 2 years ago)
- Last Synced: 2025-01-22T12:49:24.180Z (4 months ago)
- Topics: ethereum, smart-contracts, solidity, solidity-codes, solidity-contracts, solidity-language, solidity-practice, solidity-programming-language
- Language: Solidity
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solidity Practice Programs
Hello World
First App
Primitive Data Types
Variables
Constants
Immutable
Reading and Writing to a State Variable
Ether and Wei
Gas and Gas Price
If / Else
For and While Loop
Mapping
Array
Enum
Structs
Data Locations - Storage, Memory and Calldata
Function
View and Pure Functions
Error
Function Modifier
Events
Constructor
Inheritance
Shadowing Inherited State Variables
Calling Parent Contracts
Visibility
Interface
Payable
Sending Ether - Transfer, Send, and Call
Fallback
Call
Delegatecall
Function Selector
Calling Other Contract
Creating Contracts from a Contract
Try / Catch
Import
Library
ABI Encode
ABI Decode
Hashing with Keccak256
Verifying Signature
Gas Optimizations
Bitwise Operators
Unchecked Math
# Applications
Ether Wallet
Multi Sig Wallet
Merkle Tree
Iterable Mapping
ERC20
ERC721
Simple Bytecode Contract
Precompute Contract Address with Create2
Minimal Proxy Contract
Upgradeable Proxy
Deploy Any Contract
Write to Any Slot
Uni-directional Payment Channel
Bi-directional Payment Channel
English Auction
Dutch Auction
Crowd Fund
Multi Call
Multi Delegatecall
Time Lock