Hashlock_ Profile Banner
Hashlock Profile
Hashlock

@Hashlock_

Followers
14K
Following
6K
Media
206
Statuses
1K

Blockchain & Smart Contract Security Specialists - Contact us to request a Web3 Security Audit.

Joined June 2022
Don't wanna be here? Send us removal request.
@Hashlock_
Hashlock
27 days
📈 Are you growing a Web3 Project? We created this Project Success Roadmap. and its Completely Free. Built across insights from 1000s of protocols and clients, this guide will help you launch and grow TVL. Get your roadmap at
Tweet media one
116
196
1K
@Hashlock_
Hashlock
14 hours
RT @PlenaFinance: Plena Gen AI is now Noah AI 🌊. Onchain vibe coding tool, now sailing under an Ark inspired name and mission --> Empower a….
0
55
0
@Hashlock_
Hashlock
1 day
Awesome things happening over here 👀.
@dTRINITY_DeFi
dTRINITY (▲)
1 day
dTRINITY has officially entered the YBS race!. Introducing Staked dUSD (sdUSD), a YBS version of dUSD that delivers above-market yields from collateralized stablecoin lending 💸. Now live on Fraxtal (by @Frax) and @SonicLabs!. 🧵1/5
Tweet media one
0
0
3
@Hashlock_
Hashlock
1 day
July was packed. Hashlock joined Syndika’s partner ecosystem alongside some of the most forward-thinking teams in Web3. Let’s keep building the future of secure, open infrastructure. 🔒 + 🧱 = 🚀.
@Syndika_co
Syndika
2 days
If July were to get awards at Syndika, it would’ve taken home two (completely fictional, but totally earned) trophies:. 🏅“Month of Newcomers”.🏅“Busiest Month Yet!”. Why? This month, we…. ☑Welcomed 10 new Members - Steven Gaertner, @LOLAgroupltd, @rcastag, @MatiGreenspan,
1
0
4
@Hashlock_
Hashlock
6 days
Article: Why Smart Contract Risk Assessment And Auditing Is Essential For Web3 Security. Full article in the comment section below:
Tweet media one
6
0
5
@Hashlock_
Hashlock
6 days
You saw the logo. You know the drill. Moria is SECURED ✅ Hashlock style🔒.
@gingerhero_
gingerhero
7 days
Verdict:.✅ SECURE.✅ IMMUTABLE.✅ DECENTRALIZED.✅ NO VULNERABILITIES. @MoriaMoney @Hashlock_ 🧙🏻‍♂️✨
1
10
27
@Hashlock_
Hashlock
7 days
RT @Syndika_co: 📢Shoutout to Syndika's Ecosystem: July Partners. This month has been packed with momentum.💥. In July, we proudly collabora….
0
16
0
@Hashlock_
Hashlock
8 days
RT @levva_fi: 🚀 Levva 2.0 Beta Is Live: 60 Days. 10M $LVVA. Zero Risk. Starting today, we’re kicking off the Levva 2.0 Beta Bootstrapping….
0
97
0
@Hashlock_
Hashlock
8 days
10/ To sum it all up --. Floating-point arithmetic in blockchain is like bringing a water gun to a knife fight - it looks harmless but will get you killed. Always remember: Determinism > Convenience.Fixed-point math isn’t just “best practice” - it’s the only safe practice for.
0
1
2
@Hashlock_
Hashlock
8 days
9/ Best Practices:.✅ Use fixed-point math for all financial calculations.✅ Scale by powers of 10 (e.g., basis points: 10000 = 100%). ✅ Always use `checked_*` arithmetic for overflow protection.✅ Represent percentages as numerator/denominator pairs. ✅ Test with large.
3
1
5
@Hashlock_
Hashlock
8 days
8/ Validator Impact.How This Kills Networks:.When validators compute different f64 results:.•Consensus failure - nodes can’t agree on state.•Network forks - chain splits into incompatible branches.•Transaction reversals - “valid” transactions get reverted.•Protocol halt - BFT.
1
0
1
@Hashlock_
Hashlock
8 days
7/ IEEE-754 Standard has the following Issues in Blockchain:.1.Non-deterministic rounding across platforms.2.Precision loss for large numbers (>2^53).3.Silent errors - no obvious failures, just wrong results
Tweet media one
1
1
1
@Hashlock_
Hashlock
8 days
6/ The Solution: Fixed-Point Arithmetic.Instead of unreliable f64, use integer math with scaling factors:
Tweet media one
2
0
2
@Hashlock_
Hashlock
8 days
5/ Why This Breaks:.•Input: 123,456,789 lamports, 0.25% fee.•f64 calc: 123456789.0 × 0.0025 = 308641.9725.•Cast to u64: 308641 (lost 0.9725 lamports).•Over 1000s of swaps: Thousands of lamports lost to truncation
Tweet media one
1
0
1
@Hashlock_
Hashlock
8 days
4/ REAL BUG We Found in Production Code:. Impact: Users pay LESS fees due to truncation, draining protocol revenue over time.
Tweet media one
1
0
1
@Hashlock_
Hashlock
8 days
3/ Solana’s Solution: No Floating-Point in SBF.Solana’s Berkeley Packet Filter (SBF) runtime explicitly disables all f32/f64 operations. Any floating-point instruction will:.•❌ Fail verification at build time.•❌ Trap at runtime and revert transactions.Technically the programs
Tweet media one
1
0
1
@Hashlock_
Hashlock
8 days
2/ Why floating-point breaks blockchain consensus:.Different hardware can produce slightly different results for the same f64 operation. When Validator A calculates `fee = 2,999,999` and Validator B gets `fee = 3,000,000`, the network can fork or halt entirely.
1
1
1
@Hashlock_
Hashlock
8 days
1/ Using `f64` or IEEE-754 floating point precision to be exact in Solana Programs can break consensus, yes that's right. The Entire Consensus for your program by just 1 off decimal point.
Tweet media one
1
0
2
@Hashlock_
Hashlock
8 days
Ever wondered how Solana Handles Floating Points? as Native Rust allows us to use them while writing Programs. Well here is a catch, technically you can use floating points in your program but it's a real bad practice. The Hidden Danger of Floating-Point Numbers in Solana Smart.
1
3
7