This video explains an efficient algorithm to remove an element from an array in Solidity
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Code
https://solidity-by-example.org/array/
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=8i4CChP99XQ
Some examples of math used in staking rewards contract.
Code
https://solidity-by-example.org/defi/staking-rewards/
Notes
https://github.com/t4sk/notes
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
#Solidity #SmartContract #Ethereum #スマートコントラクト
...
https://www.youtube.com/watch?v=oJOsdDJRNVw
This video will explain how to connect Metamask with Truffle and import accounts from Truffle into Metamask.
Code: https://smartcontractprogrammer.com/courses/multi-sig-wallet/chapter-01/03-metamask/
Metamask: https://metamask.io/
Truffle: https://www.trufflesuite.com/docs/truffle/overview
Remix IDE: http://remix.ethereum.org
Solidity: https://solidity.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=jaTnIeWjAg0
Phishing is a cyber attack where the attacker disguises as a trusty-worthy entity and tricks an user into doing something harmful. Watch this video to learn how tx.origin can be vulnerable to phishing.
#Solidity #phishing #hack #txorigin
Code: https://solidity-by-example.org/hacks/phishing-with-tx-origin/
References
https://github.com/ethereumbook/ethereumbook/blob/develop/09smart-contracts-security.asciidoc
https://solidity-05.ethernaut.openzeppelin.com/
Remix IDE: http://remix.ethereum.org
Solidity: https://solidity.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=mk4wDlVB4ro
How to create a contract with Solidity.
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Code
https://solidity-by-example.org/new-contract/
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=J2Wp2SHq1Qo
This video explains how to borrow and repay tokens on Compound using Solidity.
Collateral 0:56
Liquidity 2:28
Price feed 3:43
Borrow 4:27
Repay 8:08
Ganache 8:56
https://github.com/t4sk/defi-by-example
https://compound.finance/docs
#DeFi #Compound #SmartContract #Solidity #Ethereum #スマートコントラクト
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Forum https://jiruto.com/SmartContractProgrammer/Smart-Contract-Programmer/discussion
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=d9_ZEvLDSl8