Posts

Showing posts from November, 2024

#36 Multi-Signature Wallet Smart Contract (Part 3)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about Multi-signature Wallet smart contract. The multi-signature wallet smart contract, represented by the "MultiSignatureWallet" contract, is designed to enable multiple owners to manage and authorize transactions from a shared wallet. The contract allows a predefined group of owners to collectively approve and execute transactions. The owners are specified during contract deployment, and a required number of signatures is set for each transaction to be considered valid. The contract keeps track of the owners, their approval status, and the transaction details. Github Repository: https://github.com/arashtad/Arashtad-Smart-Conrtac...

#35 Multi-Signature Wallet Smart Contract (Part 2)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about Multi-signature Wallet smart contract. The multi-signature wallet smart contract, represented by the "MultiSignatureWallet" contract, is designed to enable multiple owners to manage and authorize transactions from a shared wallet. The contract allows a predefined group of owners to collectively approve and execute transactions. The owners are specified during contract deployment, and a required number of signatures is set for each transaction to be considered valid. The contract keeps track of the owners, their approval status, and the transaction details. Github Repository: https://github.com/arashtad/Arashtad-Smart-Conrtac...

#34 Multi-Signature Wallet Smart Contract(Part 1)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about Multi-signature Wallet smart contract. The multi-signature wallet smart contract, represented by the "MultiSignatureWallet" contract, is designed to enable multiple owners to manage and authorize transactions from a shared wallet. The contract allows a predefined group of owners to collectively approve and execute transactions. The owners are specified during contract deployment, and a required number of signatures is set for each transaction to be considered valid. The contract keeps track of the owners, their approval status, and the transaction details. Github Repository: https://github.com/arashtad/Arashtad-Smart-Conrtact...

#33 Crowdfunding-2 Smart Contract (Part 3)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about a different crowdfunding smart contract. The smart contract "CrowdFunding" facilitates crowdfunding campaigns by allowing users to contribute funds towards a specific goal. The contract maintains information such as the project owner's address, the goal amount to be raised, the current amount raised, and a mapping of contributors and their respective contribution amounts. It also includes a flag indicating whether the campaign is closed or not. Users can contribute funds through the contribute function, which updates the contribution mapping and the current amount raised. An event is emitted to notify observers of the contrib...

#32 Crowdfunding-2 Smart Contract (Part 2)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about a different crowdfunding smart contract. The smart contract "CrowdFunding" facilitates crowdfunding campaigns by allowing users to contribute funds towards a specific goal. The contract maintains information such as the project owner's address, the goal amount to be raised, the current amount raised, and a mapping of contributors and their respective contribution amounts. It also includes a flag indicating whether the campaign is closed or not. Users can contribute funds through the contribute function, which updates the contribution mapping and the current amount raised. An event is emitted to notify observers of the contrib...

#31 Crowdfunding-2 Smart Contract (Part 1)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about a different crowdfunding smart contract. The smart contract "CrowdFunding" facilitates crowdfunding campaigns by allowing users to contribute funds towards a specific goal. The contract maintains information such as the project owner's address, the goal amount to be raised, the current amount raised, and a mapping of contributors and their respective contribution amounts. It also includes a flag indicating whether the campaign is closed or not. Users can contribute funds through the contribute function, which updates the contribution mapping and the current amount raised. An event is emitted to notify observers of the contrib...

#30 Unique Names Smart Contract

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about unique names smart contract. The presented smart contract, "UniqueNames," aims to provide a system for registering and checking the uniqueness of names. It utilizes a mapping called nameExists, which associates names with boolean values indicating whether a name already exists or not. Github Repository: https://github.com/arashtad/Arashtad-Smart-Conrtacts Watch The Video on Youtube https://blog.arashtad.com/updates/30-unique-names-smart-contract/?feed_id=10619&_unique_id=6727022190661

#29 Simple Auction Contract (Part 2)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about simple auction smart contract. The presented smart contract is an auction contract designed to facilitate bidding and determine the highest bidder for a specific item or service. The contract includes features such as bidding, withdrawal of funds, and ending the auction. The contract keeps track of the auctioneer's address, the end time of the auction, the highest bidder's address, and the highest bid amount. Participants can place bids by calling the setBid function with a bid amount higher than the current highest bid. If a higher bid is received, the previous highest bidder's funds are returned to them through the withdraw ...

#28 Simple Auction Contract (Part 1)

Image
Welcome to this brand new course about blockchain. In this course, and in the upcoming ones, we will make you familiar with everything you need to know about blockchain. We will also teach you some of the latest blockchain coding skills so that you can enter the fascinating world of decentralized applications. In this video, we will learn about simple auction smart contract. The presented smart contract is an auction contract designed to facilitate bidding and determine the highest bidder for a specific item or service. The contract includes features such as bidding, withdrawal of funds, and ending the auction. The contract keeps track of the auctioneer's address, the end time of the auction, the highest bidder's address, and the highest bid amount. Participants can place bids by calling the setBid function with a bid amount higher than the current highest bid. If a higher bid is received, the previous highest bidder's funds are returned to them through the withdraw ...

#27 Simple Lottery Smart Contract

Image
Welcome to this brand new course about blockchain. In this course and the next ones we will make you familiar with all you need to know about blockchain and also will teach you some of the latest blockchain coding skills, So that you can enter the fascinating world of decentralized applications. In this video, we will learn about simple lottery smart contract. The smart contract presented in this video is a simple lottery contract built on the Ethereum blockchain. It serves as a decentralized platform for conducting lotteries with transparent and auditable results. The contract allows participants to enter the lottery by sending Ether to the contract's enter function. The addresses of the participants are stored in the players array. The contract includes a pickWinner function that can only be called by the manager, who is the address that deployed the contract. The pickWinner function randomly selects a winner from the list of players and assigns the winner's address to ...