Hello! I’m a learning Blockchain Developer, can someone please guide me how shall I proceed. I learnt basic Solidity and have made a Voting Platform with multiple polls and built the frontend with React. What shall I do next?
May 17, 2022, 5:53 AM
Learn some DeFi if you are interested in that topic.
May 17, 2022, 6:59 AM
Try learning DeFI, NFT, Oracles for hybrid contracts, gas optimization, smart contracts securities, smart contract testing, Web3 projects, IPFS etc..
May 17, 2022, 7:03 AM
By DeFi you mean to try and use the apps? I've am a user of those so I am very much familiar with it, now I'm trying to get into development
Thanks! And also I wanted to ask a thing, do for loops without any calculation will increase the gas? Like if I want to search for an address in an array of address, will looping increase the gas fee? Or is it better to just fetch the whole array into JavaScript and then loop through it?
May 17, 2022, 1:19 PM
By defi means learn to implement ur own defi protocol by way of understanding at a smart contract codes of defi protocols implemention.. codes are actually hosted on github..
Also Learn to interact with defi protocols like Uniswap, Compund finance, DAI,AAVE etc in ur smart contracts...
Also Learn to interact with defi protocols like Uniswap, Compund finance, DAI,AAVE etc in ur smart contracts...
Check evm.codes to know gas cost for each functionality in smart contracts..
So for reading or storing in a State variable it cost minimum 100 gas for each iteration..
So if u want to search for an address in an array of address through for looping means u r reading from Storage variable..
So if that array contains 10 items then it will cost 10 * 100 gas minimum using for loop..
But if ur using for loop function in just a view function
then gas will be calculated by evm machine but u won't need to pay any fees..
But if u r using same for loop in transaction function then u actually needed to pay gas for calculated evm gas cost..
So for reading or storing in a State variable it cost minimum 100 gas for each iteration..
So if u want to search for an address in an array of address through for looping means u r reading from Storage variable..
So if that array contains 10 items then it will cost 10 * 100 gas minimum using for loop..
But if ur using for loop function in just a view function
then gas will be calculated by evm machine but u won't need to pay any fees..
But if u r using same for loop in transaction function then u actually needed to pay gas for calculated evm gas cost..
May 17, 2022, 1:31 PM
well also look at the code how projects implement stuff and learning all the finance stuff in general
May 17, 2022, 1:42 PM
Okk i see
May 17, 2022, 5:48 PM