Top Tweets for #SolidityTips
Visibility and access control are easy to overlook ๐Public vs private state decides what others can read or touch.
Small decisions here can turn into big security issues โ last point below โ
#Build3rDAO #BlockchainSecurity #SolidityTips #Web3
๐งฉ Day 269 of #360DaysOfCode
Building Reusable Modifiers
Refactored my contracts using reusable modifiers to make access control and validations cleaner. Makes the code more modular and easier to audit.
#SolidityTips #CodeQuality #Web3 #SmartContracts
Learning Solidity via @CyfrinUpdraft taught me one big truth.
Writing failing tests first is the fastest way to understand smart contract logic.
When the test passes, you donโt just fix codeโฆ you confirm understanding.
#SolidityTips #BlockchainDev @CodeHawks @mahima_thacker
๐ก Code Tip of the Week
Not sure how to improve your contract?
Use Code Sage โ Advisor to get smart recommendations:
๐ Gas optimization
๐ฆ Code cleanup
๐ฌ Security-aware tips
A dev buddy that actually reads your code.
#ChainIDE #AIDevTools #SolidityTips

โจ Gas optimizations are cool.
โ ๏ธ But never sacrifice safety for gas.
1 wei saved is not worth millions lost.
#EVM #SolidityTips
When writing smart contracts in #Solidity, access control visibility defines who can call certain functions or access specific data. If not properly managed, this can leave your contract open to attacks. Hereโs a simple breakdown of the concepts๐งต
#soliditytips
Alternatives exist but have limitations. require(msg.sender == tx.origin) restricts calls to EOAs (Externally Owned Accounts), but isn't foolproof & has interoperability issues. Other methods using extcodehash are proposed, but require further testing. #EVM #SolidityTips
Key points to remember: ๐ค
1.Mappings are super flexible! ๐คธโโ๏ธ
2.Iterating over them is slow ๐ข.
3.Use arrays for ordered data.
4.Storing data in mappings costs a bit more ๐ฐ.
#SolidityTips #blockchain
Have you ever wondered about the difference between public and external functions in Solidity? Let's dive into it in this thread and understand the nuances. #SolidityTips #Ethereum #Blockchain
1๏ธโฃ Public Functions:
#SolidityTips
When messing around with Uniswap and you want to set the initial price 1:1 (1 Token for 1 wETH) you can use this for sqrtPriceX96
uint160 constant sqrtPriceX96 = 79228162514264337593543950336;
#SolidityEvents this is the emit to event log type, not the type where a few thousand socially awkward nerds like myself try to network ๐ป
https://t.co/tvm2JqcNrg
#SolidityTips #SolidityExamples
Getting multiple return values out of functions in #Solidity
https://t.co/kNaLpmGnSV
#SolidityTips #SolidityExamples
Incorrect modifier in Solidity.
Modifier should always run the function code. Otherwise get function will return a default value. (most likely 0).
#soliditytips

๐งDid You KnowโFrom the hamburger icon on the File Explorer, you can now generate a GitHub action to run Solidity Unit Tests! #RemixDidYouKnow #Solidity #SolidityTips

Another #SolidityTips, Iโm posting #daily! ๐ฅ
Tip #8: CHOOSE YOUR DEVELOPMENT ENVIRONMENT
#Learn why ๐๐
Another #SolidityTips, Iโm posting #daily! ๐ฅ
Tip #7: CHECK IF IT HAS BEEN DONE BEFORE
#Learn why ๐๐
Another #SolidityTips, Iโm posting #daily! ๐ฅ
Tip #5: USE #SOLIDITY VISUAL DEVELOPER IN #VSCODE
#Learn why ๐๐
Another #SolidityTips, Iโm posting #daily! ๐ฅ
Tip #3: USE SLITHER TO PRE-AUDIT YOUR CONTRACTS
#Learn why ๐๐
Last Seen Hashtags on Sotwe
เธงเธฑเธเธกเธฐเธเธฒเธง
Seen from Thailand
ensestpaylaลฤฑm
Seen from Turkey
Unexpecteddd
Seen from Netherlands
DepartmentOfAnimalWelfare
Seen from Korea
mallu videos
Seen from India
theSameE๋ช
๋
Seen from Malaysia
์ง์ธ๋ฅ์
Seen from Korea
cameltoe
Seen from United States
่ๅคด
snapchat(***)**************************************************************+filter:videos
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.2M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers












