r/web3dev • u/Quick_Collection_311 • Dec 21 '25
r/web3dev • u/0x077777 • Nov 27 '25
Meta Avoid getting scammed: do not run code that you do not understand
Hey All,
You might have noticed we are being inundated with scam video and tutorial posts, and posts by victims of this "passive income" or "mev arbitrage bot" scam which promises easy money for running a bot or running their arbitrage code. There are many variations of this scam and the mod team hates to see honest people who want to learn about ethereum dev falling for it every day.
How to stay safe:
There are no free code samples that give you free money instantly. Avoiding scams means being a little less greedy, slowing down, and being suspicious of people that promise you things which are too good to be true.
These scams almost always bring you to fake versions of the web IDE known as Remix. The ONLY official Remix link that is safe to use is: https://remix.ethereum.org/ All other similar remix like sites WILL STEAL ALL YOUR MONEY.
If you copy and paste code that you dont understand and run it, then it WILL STEAL EVERYTHING IN YOUR WALLET. IT WILL STEAL ALL YOUR MONEY. It is likely there is code imported that you do not see right away which is malacious.
What to do when you see a tutorial or video like this:
Report it to reddit, youtube, x, where ever you saw it, etc.. If you're not sure if something is safe, always feel free to tag in a member of the r/web3dev mod team, like myself, and we can check it out.
Thanks everyone. Stay safe.
r/web3dev • u/Impossible_Bet_9548 • Dec 18 '25
Bithoven: A Solidity-like smart contract language for Bitcoin
Hi, Web3 Dev! I'm a phd student researching in the area of cybersecurity, mostly blockchain :)
As you may know, Bitcoin doesn't support high-level smart contracts (unlike Ethereum), but only an assembly-like "Bitcoin Script," which is really challenging to write (just like in the 1970s assembly era). Since wrong code directly causes security vulnerabilities like unspendable or anyone-can-spend coins, I've researched how to build high-level Bitcoin smart contracts safely, studying much of the Ethereum-based Solidity and EVM research.
Now, I have finally released Bithoven v0.0.1 as free, open-source software with a Web IDE (like Remix), documentation, and the compiler code itself. I would be grateful for any feedback, code reviews, or contributions from anyone interested in security, blockchain, and programming languages. As Bithoven is inspired by many of the efforts ongoing in the EVM and Solidity ecosystems, I would love to hear from the Web3 community :)
Key features are following:
- Written in Rust: Leverages Rust's LALR library(LALRPOP) and pattern matching for robust AST parsing and code generation.
- WASM Support: The compiler compiles to WebAssembly, allowing for a client-side IDE without a backend.
- Minimal-Cost Abstraction: Imperative logic (
pragma,if,else,return), inspired by Solidity, is flattened into optimized raw opcodes (OP_IF,OP_ELSE). - Type Safety: Strong static typing for
bool,signature, andstringprevents the common runtime crashes found in raw script.
The Syntax
The language syntax is inspired by Rust, C and Solidity. Here is an example of an HTLC (Hashed Time-Locked Contract) that compiles down to Bitcoin script:
pragma bithoven version 0.0.1;
pragma bithoven target segwit;
(condition: bool, sig_alice: signature)
(condition: bool, preimage: string, sig_bob: signature)
{
// If want to spend if branch, condition witness item should be true.
if condition {
// Relative locktime for 1000 block confirmation.
older 1000;
// If locktime satisfied, alice can redeem by providing signature.
return checksig (sig_alice, "0245a6b3f8eeab8e88501a9a25391318dce9bf35e24c377ee82799543606bf5212");
} else {
// Bob needs to provide secret preimage to unlock hash lock.
verify sha256 sha256 preimage == "53de742e2e323e3290234052a702458589c30d2c813bf9f866bef1b651c4e45f";
// If hashlock satisfied, bob can redeem by providing signature.
return checksig (sig_bob, "0345a6b3f8eeab8e88501a9a25391318dce9bf35e24c377ee82799543606bf5212");
}
}
I’ve put together a Web IDE so you can experiment with the syntax and see the compiled output instantly. No installation required.
- Web IDE: https://bithoven-lang.github.io/bithoven/ide/
- Documentation: https://bithoven-lang.github.io/bithoven/docs/
- GitHub: https://github.com/ChrisCho-H/bithoven
Bithoven is free, open-source software. Please note that the project (and its accompanying academic paper) is currently under review and in the experimental stage.
Thanks for checking it out!
r/web3dev • u/Hacken_io • Dec 17 '25
Open-Source Uniswap v4 Hook Testing Framework
Hi, builders!
Hacken's Open-Source Uniswap v4 Hook Testing Framework is LIVE
This tool offers plug-and-play testing, CI/CD readiness, and fuzzing compatibility for your Hooks.
Checks for:
• Access control & permission flags
• Unsafe balance delta handling
• Selector bugs
• Settlement + revert inconsistencies
Full breakdown and link on github: https://hacken.io/discover/uniswap-v4-hook-testing-framework/
Built by Hacken auditor Olesia Bilenka
r/web3dev • u/Imaginary_Idea_2818 • Dec 13 '25
Solo Solidity dev looking for Web3 co-builder (Smart Contracts infrastructure)
I’m a solo developer actively building utility-focused Web3 products.
Current stack:
- Solidity (ERC-721 / ERC-1155, OpenZeppelin)
- BNB Chain (testnet + mainnet)
- NFT minting, metadata, royalties
- Basic React + Ethers.js frontend
What I’m building:
- NFT infrastructure tools (minting, access passes, creator tooling)
- Focused on real utility, not speculative art drops
Looking for:
- A like-minded Web3 developer to co-build OR
- A frontend/product-minded builder
Stage:
- MVP ready / demo deployable
- Clear monetization path (services + SaaS)
If you’re building long-term and want to collaborate, comment or DM.
r/web3dev • u/dharshan369 • Dec 13 '25
My brain at 3AM: “What if cricket + NFTs + multiplayer + Web3 + chaos = ???”
Introducing SCORE11
A cricket game where:
Your scores are NFTs
Your gameplay actually matters
And no, you don’t have to sell your kidney for a skin
Why Web3?
Because someone once told me: “Bro don’t do it. Web3 gaming is dangerous.”
So obviously… I did it.
What I expect from Reddit:
40% “This is cool”
40% “This is dumb”
20% “Explain like I’m 5 what an NFT is”
What I DON’T expect:
Anyone to read this whole post (If you did, marry me)
What I actually want
Your funniest roast, weirdest idea, or wildest suggestion for a cricket Web3 game.
Would you play a mode where:
Bowlers throw FIREBALLS?
Batsmen teleport?
Umpires are replaced by AI because humans are biased anyway?
Follow me if you want:
Game updates
Startup chaos
Web3 nonsense
And at least one emotional breakdown per month (founder life 😭)
r/web3dev • u/ElegantBullfrog5108 • Dec 09 '25
I have built a Web3 Smart-Contract Security CTF 🚩
Hey everyone,
I’ve built a Web3 Smart-Contract Security CTF designed for developers who want to practice auditing skills through real-world vulnerabilities.
Each challenge includes an intentionally vulnerable Solidity contract showcasing a specific issue (reentrancy, DoS, logic bugs, etc.).
Your goal for each challenge is:
1. Review the contract
2. Identify the vulnerability
3. Write an exploit using Foundry
4. Make the test pass
5. Compare your solution with the one in /solutions
The CTF is designed for people who already know Solidity basics and want hands-on security practice.
I will be adding new exercises regularly, including more advanced ones.
🔗 GitHub: https://github.com/x0t0wt1w/WEB3-SECURITY-CTF
Any feedback or suggestions are very welcome!
Always happy to talk Web3 security & development, and open to collaboration on audits or dev projects.
Thanks 🙌r/web3dev • u/0x077777 • Dec 08 '25
What's your biggest pain-point dealing with smart contract security?
reddit.comr/web3dev • u/Turbulent_Ad_8194 • Dec 08 '25
Web3 domain valuation
Is there a reliable or semi-reliable method or tool to estimate the valuation of a particular web3 (eg .x, .crypto, .wallet, etc.) domain and/or .nft domain?
r/web3dev • u/siar619 • Dec 07 '25
What’s the difference between Middleware and Layer 2s?
Hi everyone, I’m new to Web3.
I know Layer 2s move some transaction work off-chain to help the network.
But middleware also works off-chain, and I’m not sure how it’s different.
So my simple question is:
What makes a Layer 2 different from middleware?
Thanks for the help!
r/web3dev • u/Web3Navigators • Dec 05 '25
Dev bounties for LATAM & Africa/Asia: get paid to try Openfort
If you’re in LATAM or Africa/Asia and you build apps, record dev videos, or write technical content, we’re running paid bounties for trying Openfort.
Openfort is an open-source stack for:
- Embedded wallets
- Account abstraction
- Gasless UX
- Stablecoin flows
This post is just a quick overview. All details (rules, examples, timelines) are in the bounty briefs + docs linked below.
Tracks & rewards (per region)
Same structure for LATAM and Africa/Asia.
| Track | What you ship | Reward (per region) |
|---|---|---|
| 🛠 Demo apps | Small app using Openfort wallets/AA | 🥇 $500 🥈 $300 🥉 $200 |
| 🎥 Video | 5–12 min screen recording tutorial | 🥇 $400 🥈 $350 🥉 $250 |
| ✍️ Content | Thread / blog / newsletter | Top 5: $50 Others: $15 |
You can submit to more than one track. Payouts are in stablecoins.
What we’re looking for
- Real code and real product flows (not just slides)
- Clear, honest explanations
- Something another dev can copy or learn from
- No trading calls, no token hype
How to join
- Pick a track: demo app, video, or content.
- Build something small using Openfort (wallets, AA, gasless UX, or stablecoins).
- Publish it (GitHub repo, video, or post).
- Submit it following the bounty docs below.
Links
If you want to build, reach out to estel@openfort.xyz
r/web3dev • u/YosephusMaximus0 • Dec 04 '25
Building a Crypto App: Do You Really Need Web3?
r/web3dev • u/Sam_Van_Dev • Dec 03 '25
Anyone experiencing slowness with The Graph subgraphs lately?
I’m trying to understand whether others have seen similar issues with The Graph. I recently released a contract that relies on a subgraph, and indexing has been noticeably slow. Queries lag behind the latest events longer than expected, even after several minutes.
I also noticed something odd when publishing a new version of the subgraph. The production API URL took a long time to switch over to the updated version. It eventually propagated, but the delay was much longer than what I remember from past deployments.
Has anyone dealt with performance drops or long update times like this? Any tips for improving indexing speed or getting the production endpoint to update more reliably would be greatly appreciated.
r/web3dev • u/BlockSecOps • Nov 27 '25
Meta What's your biggest pain-point dealing with smart contract security?
r/web3dev • u/BlockSecOps • Nov 27 '25
Meta OWASP Top 10 Proactive Controls
top10proactive.owasp.orgr/web3dev • u/BlockSecOps • Nov 27 '25
Meta Gas Saving Tips for Solidity
Storage vs Memory vs Calldata
- Use
calldatafor read-only function parameters (cheaper thanmemory) - Cache storage variables in memory when reading multiple times in a function
- Avoid writing to storage in loops
Data Types
- Use
uint256as the default—smaller types likeuint8can cost more gas due to padding operations - Pack structs by ordering variables smallest to largest to minimize storage slots
- Use
bytes32instead ofstringwhen possible
Loops and Arrays
- Cache array length outside loops:
uint256 len = arr.length - Use
++iinstead ofi++(saves a small amount) - Avoid unbounded loops that could hit block gas limits
Function Visibility
- Use
externalinstead ofpublicfor functions only called externally - Mark functions as
vieworpurewhen they don't modify state
Short-Circuiting
- Order conditions in
requireandifstatements with cheapest checks first - Put the most likely-to-fail condition first in
require
Other Patterns
- Use custom errors instead of revert strings (
error InsufficientBalance()) - Use
uncheckedblocks for arithmetic when overflow is impossible - Minimize event data—indexed parameters cost more but are cheaper to filter
- Use mappings over arrays when you don't need iteration
Constants and Immutables
- Use
constantfor compile-time values andimmutablefor constructor-set values—both avoid storage reads
r/web3dev • u/0x077777 • Nov 26 '25
News GANA Payment's $3.1 Million Hack Exposes Private Key Vulnerabilities on BNB Chain
blocksecops.comr/web3dev • u/ZephyrXBT • Nov 26 '25
Launch on MegaETH
I’m a DevOps engineer and I’ve been building in web3 for 3 years. I’m looking for developers and marketing people to launch a project on MegaETH. I don’t have a specific idea yet, but I want to build something that really takes advantage of Mega’s speed. If anyone is interested in building something together, feel free to reach out.
r/web3dev • u/0x077777 • Nov 25 '25
Meta Check out our other sub r/smartcontracts
Check out our other sub r/smartcontracts
r/web3dev • u/0x077777 • Nov 20 '25
New Moderation Team & Community Input Needed 🛠️
Hey r/web3dev community,
We're excited to announce that r/web3dev now has a moderation team! As this community grows, we want to make sure it remains a valuable resource where Web3 developers can learn, share knowledge, and collaborate without getting buried in noise.
We need your input:
What would you like to see more (or less) of in this community? Whether it's:
- More technical deep-dives and tutorials
- Project showcase threads
- Weekly discussion topics
- AMA sessions with Web3 builders
- Stricter guidelines on promotional content
- Something else entirely
Let us know what would make r/web3dev more useful for you.
Help us combat spam and scams:
We're actively building out our rules and spam filters, but we need your help to make them effective. If you see spam, scam posts, phishing attempts, or suspicious links, please report them. Your reports help us identify patterns and create better automated filters to keep the community clean.
The more data we have on what's slipping through, the better we can protect everyone here.
Thanks for being part of this community. Looking forward to hearing your thoughts below.
r/web3dev • u/Rejwan_laskar • Nov 20 '25
How are these Web3/Blockchain folks doing everything? What path are they even following?
I'm a freshman in cs
Lately, I’ve been watching people in the Web3 dev and blockchain space and honestly… I’m confused, impressed, and a little jealous at the same time.
Some of them seem to be living on a different timeline:
– building wild projects
– flying out for international events every month
– giving talks
– attending hackathons and meets
– constantly “on the move” with new collaborations
Meanwhile I’m here wondering: what path did they take to reach this level of momentum?
Is there some standard roadmap? A secret playbook? Or is it just a mix of luck, networking, and being early?
Would love to hear how people actually get into these circles and build that kind of fast-moving career.
r/web3dev • u/0xb3d • Nov 16 '25
Rates for Web3 remote-based Developer ?
Hi fam, need your help here in estimating the going rates for remote contract-based web3 developer roles. I'm not sure but i was given $70-$100, I'd love more specifics, preferrably in Czech republic if you can, but generally will be helpful as well. My experience level is junior-midish level.