-
Notifications
You must be signed in to change notification settings - Fork 44
Solidity Use Cases and Examples
We will develop a Solidity smart contract to represent an item, storing its name, price, and owner. The contract will enable listing the item for sale, purchasing it with Ether, and retrieving the item's history, including its current owner and previous buyers.
We will develop a Solidity smart contract for a crypto bank, enabling users to deposit and withdraw Ether to their own or other addresses, and delete their accounts. The bank admin will have a function to identify the VVIP customer (highest balance holder).
We will develop a Solidity smart contract to represent items as unique tokens, enabling token creation, ownership transfer, and a sales framework. Additionally, we will create a separate "shop" contract that utilizes the token contract to list and sell items.
An example showcasing the usability of libraries in solidity
An example of deploying and interacting with a contract from another contract.
An example of interacting with an already deployed contract from another contract.
An example of the super keyword's functionality in Solidity
Check out the Solidity cheat sheet from here.
- Introduction
- Rise of Ethereum
- Ethereum Fundamentals
- DApps & Smart Contracts
- MetaMask Wallet & Ether
- Solidity: Basics
- Solidity: Advanced
- Solidity Use cases and Examples
- DApp Development: Introduction
- DApp Development: Contract
- DApp Development: Hardhat
- DApp Development: Server‐side Communication
- DApp Development: Client-side Communication
- Advanced DApp Concepts: Infura
- Advanced DApp Concepts: WalletConnect
- Event‐driven Testing
- Interacting with the Ethereum Network
- Tokens: Introduction
- Solidity: Best Practises
- Smart Contract Audit
- Ethereum: Advanced Concepts
- Evolution of Ethereum
- Conclusion