filmov
tv
❗ Store Data in the Blockchain with a Solidity Smart Contract
Показать описание
Part 2 of Web3 User Profiles. In this video, we'll be learning how to store data in the blockchain using a Solidity smart contract.
If you're interested in learning how to store data in a blockchain smart contract, then this video is for you! We'll be using Solidity to create a smart contract, and we'll also be learning about Web3 User Profiles and save on gas fees. This video is a great way to understand how blockchain works and how to store data in a smart contract!
That's not all, We will discuss how IPFS can save us gas fees by storing user information in the IPFS file blockchain but use a smart contract to save a reference to the IPFS path for the user wallet.
Smart Contract Repo:
#solidity #blockchain #web3
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⡟⠁⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠈⢹⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⢠⣴⣾⣵⣶⣶⣾⣿⣦⡄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⢀⣾⣿⣿⢿⣿⣿⣿⣿⣿⣿⡄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⢸⣿⣿⣧⣀⣼⣿⣄⣠⣿⣿⣿⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠘⠻⢷⡯⠛⠛⠛⠛⢫⣿⠟⠛⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⣧⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢡⣀⠄⠄⢸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣆⣸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
Join Net2Dev Official Discord!
▬▬▬▬▬
SECTIONS 💬 (Watch to the end!)
00:00 - Start
01:15 - Storing Data with Solidity Structs
02:40 - How Does Structs Work?
04:00 - How To Do Struct Mapping?
08:11 - Nested Mapping.
11:40 - Deploy the NFT smart contract.
13:55 - Using IPFS storage to save on gas fees.
16:40 - ERC Lotto Game Struct Logic
18:40 - Build The User Database Smart Contract.
20:00 - Build The Function To Store User Struct Data.
25:00 - Build The Function To Update User Struct Data.
28:50 - Build The Function To Delete User Struct Data.
31:00 - Add a Nested Mapping to the Smart Contract Struct.
37:00 - Ending.
▬▬▬▬▬
** THIS TUTORIAL IS FOR EDUCATIONAL PURPOSES ONLY**
** NOT FINANCIAL ADVISE **
** USE IT AT YOUR OWN RISK, I'M NOT RESPONSIBLE FOR ANY USE **
Please support my channel!
Net2Dev Official Website:
#twitter
#instagram
If you're interested in learning how to store data in a blockchain smart contract, then this video is for you! We'll be using Solidity to create a smart contract, and we'll also be learning about Web3 User Profiles and save on gas fees. This video is a great way to understand how blockchain works and how to store data in a smart contract!
That's not all, We will discuss how IPFS can save us gas fees by storing user information in the IPFS file blockchain but use a smart contract to save a reference to the IPFS path for the user wallet.
Smart Contract Repo:
#solidity #blockchain #web3
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⡟⠁⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠈⢹⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⢠⣴⣾⣵⣶⣶⣾⣿⣦⡄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⢀⣾⣿⣿⢿⣿⣿⣿⣿⣿⣿⡄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⢸⣿⣿⣧⣀⣼⣿⣄⣠⣿⣿⣿⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠘⠻⢷⡯⠛⠛⠛⠛⢫⣿⠟⠛⠄⠄⢸⣿⣿⣿
⣿⣿⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⣿⣿⣧⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢡⣀⠄⠄⢸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣆⣸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
Join Net2Dev Official Discord!
▬▬▬▬▬
SECTIONS 💬 (Watch to the end!)
00:00 - Start
01:15 - Storing Data with Solidity Structs
02:40 - How Does Structs Work?
04:00 - How To Do Struct Mapping?
08:11 - Nested Mapping.
11:40 - Deploy the NFT smart contract.
13:55 - Using IPFS storage to save on gas fees.
16:40 - ERC Lotto Game Struct Logic
18:40 - Build The User Database Smart Contract.
20:00 - Build The Function To Store User Struct Data.
25:00 - Build The Function To Update User Struct Data.
28:50 - Build The Function To Delete User Struct Data.
31:00 - Add a Nested Mapping to the Smart Contract Struct.
37:00 - Ending.
▬▬▬▬▬
** THIS TUTORIAL IS FOR EDUCATIONAL PURPOSES ONLY**
** NOT FINANCIAL ADVISE **
** USE IT AT YOUR OWN RISK, I'M NOT RESPONSIBLE FOR ANY USE **
Please support my channel!
Net2Dev Official Website:
Комментарии