r/ethdev • • May 13 '25

Information The Cryptographic Technology Enabling A Future Where Data Breaches Don’t Exist

66 Upvotes

Personal data has become an extremely valuable commodity on the internet, yet it feels like very few people tend to take its security seriously.

While numerous surveys indicate that people are worried about data security, the reality is that most are only too happy to share private information with third parties, without asking how they intend to keep that data secure.

No doubt, you’re guilty of this yourself. When you book an international flight, you’ll provide your passport details to the airline and even let them make a copy of it. Should you claim for health insurance, you’ll willingly hand over your entire medical history, revealing tons of sensitive information that’s not even related to your claim. And you’ll probably do this without giving much thought to the fact that this data will almost certainly be stored on a potentially vulnerable server, somewhere.

When we do this, we’re taking a very big risk. In its 2024 Annual Data Breach Report, the Theft Resource Center revealed that the number of data breach notices issued that year increased by a staggering 211% compared to the previous year, to more than 1.35 billion. That’s 1.35 billion victims of a data breach in a single year.

How to stop data breaches? Stop sharing data Cybercriminals are stealing massive amounts of private data, but they can be stopped in their tracks by an extremely promising cryptographic innovation called “zero-knowledge proofs”.

ZK-proofs, as they’re known, were invented back in the 1980s, and they hold immense promise for data security. They use complex cryptography to enable one party to confirm to a second party that a piece of information is true, without actually sharing that information. It means data can be shared, without actually being shared, dramatically reducing the chances it might be exposed.

For instance, someone drinking at a bar could use a ZK-proof to show they’re legally old enough to drink alcohol, without revealing their identity or date of birth. They can help someone to prove they’re creditworthy, while keeping their financial data secret. The potential of ZK-proofs to improve data security is truly enormous, as the technology means companies won’t be required to securely store their customer’s data. If an organization doesn’t have to store personal information, it won’t matter to customers if it gets breached.

What makes ZK-proofs so exciting is the numerous practical applications they support. One of the obvious use cases is identity verification, where individuals can prove details about themselves, such as their name, age, address, social security number, and so on, without anyone else copying it or storing it.

See also Crypto CEOs on trends that defined TOKEN2049 In healthcare, ZK-proofs could provide a way for patients to share their insurance information and details of the specific illness or injury they’re claiming, without revealing the rest of their medical history. They can be used in voting systems, enabling voters to prove their eligibility and verify that their vote was counted, without showing anyone else their identity or who they voted for. In supply chain management, the technology could help companies to authenticate products without giving away any corporate secrets.

Perhaps the biggest application lies in finance, where ZK-proofs can support private transactions that can be verified without divulging any information about the amounts sent, the sender, or the recipient.

Building a foundation for ZK-proofs Some may be wondering why, if this technology has so much potential, it hasn’t already been widely adopted, especially considering it was first conceived way back in the 1980s.

The answer is that implementing ZK-proofs has always been an extreme challenge, beset with numerous obstacles. One of the main problems is that ZK-proofs are computationally-intensive, making them expensive to implement. They also require significant expertise in cryptography. Moreover, there are technical challenges when it comes to integrating ZK-proofs with existing technology architectures.

Fortunately, we live in exciting times, and with the rise of decentralized networks powered by their users, we finally have a ready-made foundation for applications that can integrate ZK-proofs at their core. Privacy-focused blockchains such as Aleo provide a ready-made, ZK-proof-native infrastructure for developers to build highly secure applications that don’t share private data, but instead simply verify whatever information is required for them to function.

Aleo is a network of decentralized and unaffiliated nodes, or individual devices, that cooperate to update a distributed ledger in real time. This gets around the need for computing resources. Aleo’s network works in much the same way as the Bitcoin or Ethereum blockchains, but the difference is that not all of its data is publicly available. Instead, users can choose to encrypt their data and ensure it remains private. When they do this, they alone can decrypt that information. Using ZK-proofs, they can allow others to verify their data is true, without revealing it to any other blockchain users.

See also Space and Time launches on mainnet to drive scalable, data-centric crypto solutions With its implementation of ZK-proofs, Aleo can facilitate private transactions that can be verified by anyone, while the details, including the amount of funds sent and the transacting parties, remain entirely obscured.

The beauty of ZK-proofs is that, although the transaction data remains confidential, unaffiliated nodes have a sure way to know that the content within them is true. This makes it possible for individuals to provide the private data they need to access online services, such as a banking app, without exposing that information. As an added benefit, it means that the bank won’t have to worry about securing its customers’ data.

Developers can build applications that store all of their data on Aleo, separating public and private information accordingly. So, something like weather data that doesn’t need to be kept secret can be stored publicly, while an individual’s name, address, and social security number would remain private.

With this data secured on the blockchain, it can then be leveraged by other applications built on Aleo, without it ever being exposed. It means organizations can limit the amount of data they need to store on their own servers, freeing up capacity and reducing the likelihood they’ll be targeted by cybercriminals.

Reducing the risk As the adoption of decentralized infrastructure and applications increases, more organizations will likely come to see the advantages of ZK-proofs. This technology could lead to a significant change in the way people divulge personal information, with innovations such as tokenized identities doing away with the need to scan and upload traditional identity documents.

If that happens, it will reduce the attack surface, making sensitive data a lot less vulnerable to cyberattacks. With fewer servers actually storing sensitive data, identity theft would become much more difficult to pull off.

ZK-proofs can emerge as a key weapon in the fight to protect sensitive data, and they’re sorely needed in a world that is becoming increasingly digital. Businesses that adopt this technology first will dramatically improve their security posture and increase trust with their customers, while consumers will be free to engage with online services without fear of being hacked.


r/ethdev • • Apr 05 '22

Information Enhancing interoperability between blockchains is a powerful concept, but most networks have consensus mechanisms, technology standards, & other blockers. As a result, ensuring that everything works together can be very complex. Thankfully, blockchain interoperability is growing.

Thumbnail
thecryptoinn.com
66 Upvotes

r/ethdev • • Apr 02 '22

My Project I finally did it...

66 Upvotes

You may have seen me frantically asking questions in here recently, well last week I finally did it, I deployed my first contract to mainnet!! Its a completely on chain, fully functional calculator... as an NFT. Its has an image of a calculator, all buttons work, can perform all basic operations, and comes in 5 color schemes. It uses on chain SVG images, so it does not depend on ipfs or any servers to host the metadata. Id love some opinions! and feel free to mint ;)

frontend is hosted here:

https://arweave.net/oQTY7TEvmI7J1bTD6la4fyMXOVUziaOWVijEOfHh8sQ

that turned out to be the hardest part lol

contract:

https://etherscan.io/address/0xC3B88A12D8Cda6b9802C30be4bb18BDd1828b317

thanks for stopping by!


r/ethdev • • Jan 19 '22

Question [Meta] Can we rename this sub to ethdevjobs and create a place for ETH devs

66 Upvotes

This sub is full of posts asking for career advice, asking how much to pay a dev, asking how to become a blockchain dev, etc. it’s awful.

These posts are repetitive unimaginative spam that burry any valuable dev content and make the sub unapproachable to anyone who actually wants to talk about ETH development.

Can we either make some rules and moderate these posts out or create another community with ETH dev content and the recruiters and people switching careers can go elsewhere?


r/ethdev • • Nov 10 '21

My Project I'm the founder of a London-based, VC-backed startup building a no-code platform to make it easier to create and launch decentralised applications, starting with tokens. We've gotten a ton of great feedback and looking for more - here's a UI update! (Tokify.xyz)

66 Upvotes

r/ethdev • • Oct 20 '21

Question Crypto developers, how is working for a blockchain/web3 company different from a more traditional tech company?

66 Upvotes

r/ethdev • • Aug 06 '21

My Project I made a blockchain address ownership database

66 Upvotes

It's here: https://github.com/iraykhel/blockchain-address-database It maps about 250 thousand blockchain addresses to various exchanges, defi protocols, etc. that own the addresses. Obtained by page-scraping & API-querying etherscan and other scanners.

I needed this for a project I'm working on, but I couldn't find an existing one so I made one. Maybe others will find it useful.

Update 01/09/23: I've updated the database, but it's now too big for github. Can be downloaded from here: https://drive.google.com/file/d/1rEFloDWxmFjdb3SenSvrSsQk3g0-3RNk/view


r/ethdev • • Jul 03 '21

Question Solidity Interview questions..

66 Upvotes

Do you guys know any good links for solidity interview questions? If there are none, lets make one. post your suggested questions here, i will collate and make a blog post about it.


r/ethdev • • Jun 08 '21

My Project Deploying My First Ethereum Smart Contract for Fun and Profit

Thumbnail
pawelurbanek.com
66 Upvotes

r/ethdev • • Jan 28 '21

Information Reddit announces partnership with the Ethereum Foundation

Thumbnail np.reddit.com
66 Upvotes

r/ethdev • • Jun 25 '19

Information How many of you are using Truffle to build dapps on Ethereum?

66 Upvotes

If you are, I can't thank you enough. When I first created Truffle, I would have never though it'd be as well used as it is today.

If you aren't, but want to, then you should come to TruffleCon 2019 this August. You can learn how to build dapps from some amazing speakers, as well as directly from us, both on stage and in half-day workshops targeting specific development techniques. We also have speakers showing off real-world blockchain use cases, who used Truffle's suite of tools to build dapps that are now live and in production today -- like supply chain tracking for airline parts.

Here's a taste of some of the development talks available:

  • How to Build Secure Smart Contracts: A Deep Dive into Automated Tools, with Josselin Feist (Security Engineer, TrueBit)

  • How a Microsoft Engineer Develops B2B Blockchain apps with Truffle, with David Burela (Blockchain Engineer, Microsoft)

  • Dapp Development for the Rest of Us, with Adrian Li (Blockchain Tools Developer, Truffle)

There's plenty more where that came from.

Early bird tickets are on sale until June 30th. And just for /r/ethdev, get $100 off any ticket with discount code ETHDEV: https://trfl.co/weheartethdev

Edit: We just made all tickets $99! You no longer need a discount code. Get your tickets here! https://trfl.co/weheartethdev

TruffleCon is a gathering of blockchain industry professionals focusing on Ethereum development, innovation and training. Come join us - we'd love to have you there! More info at http://trfl.co/tc2019

-- Tim Coulter, Founder, Truffle


r/ethdev • • Jan 23 '18

ETH the most starred cryptocurrency project on GitHub

Thumbnail cryptocodewatch.com
66 Upvotes

r/ethdev • • Mar 28 '17

If you need some Ropsten Testnet ethers...

66 Upvotes

Hi All, I've synced to the new Ropsten (Revival) testnet as described in https://www.reddit.com/r/ethdev/comments/61cl8a/ropsten_revival_details_about_the_dos_attack_and/ .

I tried mining on a single CPU thread on a AMD FX(tm)-6350 Six-Core Processor 3900.000 MHz process and it mined one block in 1 day and 2 hours. So if I mined on all 6 threads, I would have mined one block every ~5 hours. A bit harder to mine than the pre-attack period.

I anyone would like some Ropsten ETH for your development or testing, just reply with your Ropsten testnet address. [E] Or send me a private message with your address.

From the link, the instructions to sync to the Ropsten (Revival) blockchain follows:

geth --testnet removedb
geth --testnet --fast --bootnodes "enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303,enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303"

And the EtherScan Ropsten block explorer is at https://ropsten.etherscan.io/ .

Other sources for Ropsten ethers - http://ethereum.stackexchange.com/questions/84/what-public-test-networks-and-faucets-exist/11392#11392 .

[E Apr 3 2017] My single thread CPU miner is now finding more than 20 blocks per day, so it should be feasible to CPU mine within an hour. There seems to be some periods of several hours (up to 12 hour) when no blocks are found - this could be someone GPU mining the blockchain periodically.

[EE Jun 16 2017] My CPU mining currently mines about 6 blocks a day. If you want to CPU mine, the instructions are (after syncing using the command above):

geth --testnet console
miner.start(1)

[EEE Jun 22 2017] I'm sending 5 Ropsten Testnet ETH (RtETH) for each request, unless you specifically have a need for more. You are welcome to request again when you run out. My turnaround time is between 30 minutes to 8 hours.

[EEEE Jul 28 2017] /u/lordalch has kindly created a RopstenBot to send out 5 RtETH to posts below. Let's see how it goes:

Hey /u/RopstenBot, could you send Bokky some ether at 0x49D8621f8862c423AbbA0dfAe4916F838Cd264F6?

(This is a test)

Edit: Seems to be working. RopstenBot is running from my personal computer right now, so I can't guarantee anything for uptime. I'll look at deploying it (him?) to my university's PaaS sandbox. Watch this post for a GitHub link; The code needs a bit of refactoring first.

At the moment, RopstenBot scans only this thread every 30 seconds. If the most recent comment contains an ethereum address it hasn't sent to before, it sends 5 tEth and replies. Due to Reddit limitations, it can only post a reply every 10 minutes

And 5 RtETH was sent to my account. Nice work! I'll be the backup source of RtETH if the RopstenBot is having a slow day.

[EEEEE Aug 10 2017] The RopstenBot is working well handing out 5 RtETH to the accounts posted. If you do have some major testing to do and need more than the standard 5 RtETH, please specify how many RtETH you need and I'll try to accommodate it. Then when you have finished, please send back any remainders so I can distribute it to others.

And if you have spare RtETH that you are not using, please send some to 0x49d8621f8862c423abba0dfae4916f838cd264f6 and I'll use make sure that developers have sufficient RtETH, along with /u/lordalch 's RopstenBot.

[EEEEEE Aug 16 2017] For Parity to sync to Ropsten:

parity db kill --chain ropsten
parity --chain ropsten --bootnodes "enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303,enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303"

[EEEEEEE Aug 30 2017] /u/standup75 posted the link to http://faucet.ropsten.be:3001/ and is SOMETIMES WORKING WELL. Give this faucet a try FIRST, and if it is not working, post your Ropsten address below and I'll make sure you get some Ropsten ethers.


r/ethdev • • May 15 '23

Information Comparison of Decentralized Databases: Key Features and Characteristics

Post image
65 Upvotes

r/ethdev • • Sep 13 '22

My Project I made a NPM package to automatically generate a GUI from smart contract ABI. Any thoughts?

65 Upvotes

The NPM package ethereum-interface-generator creates a GUI from the smart contract ABIs.

You can export the GUI to HTML/JS/CSS or use the interface directly on the local development server. The exported GUI is easy to customize (it's built with bootstrap and vanilla javascript).

What do you think? Do you have any suggestions?

Please note that the package needs some improvements: if you find a bug or an improvement, please open an issue on the github repo or leave a comment.

Please find below the link to the NPM package: https://www.npmjs.com/package/ethereum-interface-generator

More info at:


r/ethdev • • Aug 19 '21

My Project useWeb3 · a curated overview of the best and latest resources on Ethereum, blockchain and Web3 development. Learn through tutorials, courses, books, videos, games, challenges, or,..

Thumbnail
useweb3.xyz
65 Upvotes

r/ethdev • • Jun 24 '21

Information Chances of EIP-1559 being implemented by July 31, 2021 on Ethereum

65 Upvotes

42% yes! We know this (at this point in time) because of prediction markets. How cool is that? And all the serious prediction markets run on Ethereum.

Prediction markets (also known as predictive markets, information markets, decision markets, idea futures, event derivatives, or virtual markets) are exchange-traded markets created for the purpose of trading the outcome of events. The market prices can indicate what the crowd thinks the probability of the event is. A prediction market contract trades between 0 and 100%. It is a binary option that will expire at the price of 0 or 100%.

Research has suggested that prediction markets are at least as accurate as other institutions predicting the same events with a similar pool of participants.


r/ethdev • • Mar 26 '21

My Project I noticed people trading NFTs based on mutual trust, so I put together an NFT trading protocol called Popswap to help reduce counterparty risk.

Thumbnail
twitter.com
65 Upvotes

r/ethdev • • Nov 18 '20

Information Crossed 100,000 ETH staked for ETH2 launch

Post image
65 Upvotes

r/ethdev • • May 25 '23

Information The Open Network, DWF Labs and AWS Launch DeFi/Data Analytics Hackathon

Thumbnail
cryptomode.com
64 Upvotes

r/ethdev • • Jan 17 '23

Information A friendly reminder that the $1M Boba Network bug bounty is still live

64 Upvotes

The bug bounty started a few days ago and all of the information can be found on the Immunefi announcement page.

Here is a quick TLDR:

The goal seems to be improving securing and development experience on Boba L2 instances such as Ethereum, Moonbeam, Avalanche, and BNB Chain. They are using Immunefi's severity classification system to define threats.

The program covers websites/apps, smart contracts, and blockchains/DLTs, with a total bounty pool of 1 million dollars.

The program is ongoing for now and will probably run until the reward pool is depleted. Rewards range from $1K all the way up to $1M, depending on the category and threat level.


r/ethdev • • Feb 15 '22

Information How to Prepare for a Smart Contract Audit

64 Upvotes

Hey r/ethdev,

I’m the founder of a cross-chain staking protocol called Brydge. We knew that we’d need a smart contract audit at some point, but had no idea what that entailed, how much it’d cost, or what we actually needed to do before. Put together the below guide helps you budding buidlers avoid some of our mistakes!

Do I need an audit?

No. Should you get one? Yes. We ran a proof of concept for months that was unaudited. Was it risky? Absolutely. You’re dealing with real people’s $$ here. Shipping unaudited code means betting your personal + company’s reputation that you’re a perfect developer. Perfect developers don’t exist. My two cents—ship your proof of concept, get some validation. If your idea is a hit, set up an audit yesterday. Bonus—audit report makes your protocol look more legitimate.

How much do audits cost?

Depends on the auditor, your code length + readability, and current demand. Our 560-line protocol was quoted $8k by Pessimistic, $40k by Certik (negotiated down to $15k), and ~$25k by Peckshield.

How long does it take to get started?

Depends on demand. Shortest was 2-3 weeks, longest 6 weeks. You can pay extra with most auditors to skip the line. Above quotes reflect standard wait time / cost.

What do I need to do before being audit ready?

First step is to finalize your repo. The more readable your code is, the less time the auditor spends going through it, and the less $$ you pay. You want as close to 100% test coverage as possible and continuous integration set up. Then, write up documentation. Consensys has a good breakdown here. In short, you need an essay explanation explaining what your code is SUPPOSED to do in each module / function. More detail = lower bill to pay.

Are some auditors better than others?

Up for debate. Some (Consensys, Trail of Bits, Certik) have audited more blue chip protocols, and charge more because of it. At the end of the day, you’re relying on the 1-2 developers going through your code, as well as the rigor of the auditor’s formal process. Recommendation: offset risk by planning for a second audit with another firm.

How should I view our auditor? The Solidity police, a consultant, or a final security guarantee?

As just checking a box. Auditors are experienced Solidity developers who have read and written a lot of lines of code. They’ll (hopefully) catch some things you won’t. But, just like the benefits stemming from if your protocol takes off, if your protocol is hacked the blame does not fall to your auditor. It’s on your core team. Your team is your internal auditing service. Hiring a third party is just getting an extra set of eyes on it. Auditing ≠ security guarantee. Wormhole was audited thoroughly, and was still sniped for $330mm.

What do auditors actually look at?

Generally, just smart contracts. If you’re building a relayer system that has a ton of trigger logic off-chain, talk to your auditor about taking a look through this too. They’ll likely do this for you, but it’ll be an extra charge.

Do auditors charge for imported libraries?

No. Your OpenZeppelin SafeMath lib will not incur an extra auditing charge. Please use as many external (audited) libraries as possible.

How does an audit work?

  1. You present your repo to the auditor

  2. The auditor returns a quote, estimated start time, and estimated finish time

  3. You negotiate this quote and agree to a start date

  4. You pay an upfront deposit to lock in the date

  5. Once the date rolls around, you turn over your most recent commit hashes and documentation

  6. The auditor goes through your protocol and returns to you a list of vulnerabilities

  7. You fix these vulnerabilities and return the final commit hash to the auditor

  8. The auditor verifies fixes and presents you a final PDF report outlining the audit results

What shows up in an audit report?

The good, the bad, and the ugly. If you have a gaping security flaw that’s caught and fixed, your report will show this. This is standard practice across the industry.

Do I need to open source my contracts for them to be auditable?

No. It’s more common to open source your contracts, but not required. Your audit report will just specify that your repo is private.

Tips:

  1. Negotiate your audit cost

    1. Customer acquisition is EXPENSIVE for auditors. They sell the same service. Pit quotes against each other. They don't want to lose your lifetime business to a competitor.

  2. Budget for more than expected

    1. Stuff runs over, be prepared.

  3. Plan for a second audit

    1. Logic explained previously.

  4. Don’t rush to hit a deadline, push back your audit

    1. Auditors HIGHLY prefer this and will 100% be willing to work with you. They’re devs too. They will not send you to the back of the line if you push back your start date by a bit. Be upfront if you need to do this, they will understand.

Hope this is helpful, happy buidling!


r/ethdev • • Aug 17 '21

My Project Hi all ! I've put together this fullstack Dapp starter kit using Typescript and Tailwind UI, check it out!

Thumbnail
github.com
64 Upvotes

r/ethdev • • May 21 '21

Question Help me understand CryptoPunks source code

64 Upvotes

From what I understand, there were originally 10k punks, each with a unique ID from 1-10000. CryptoPunks was created before ERC-721, so it was an early way to support NFT’s using ERC-20.

What I don’t understand, however, is how the source code has any idea of what the specific token’s image is. The source code includes a

string public imageHash = "ac39af4793119ee46bbff351d8cb6b5f23da60222126add4268e261199a2921b";

And includes a png of the entire CryptoPunks image set. If you hash this image, you obtain the imageHash above. However, the imageHash isn’t used anywhere in the source code, aside from being defined.

So, if I’m understanding correctly, is the artwork/properties simply being generated on the actual website server-side? As in, they have a list of properties (eg. 'Cap', 'Alien', 'Beard', etc.) associated with every ID that's stored on their website (and not on the blockchain). Then, when you visit their site, it fetches all the ID's on the blockchain, who they're owned by, any bids, etc. and they display that on the Punk's page?

If this is the case, how can it be verified that some of the specific properties of the NFT are true? For instance, if you look on specific Punks, you can see properties like “Alien”. In other words, if the website were to disappear tomorrow, how would those who own the Punks know what accessories each Punk has?

Furthermore, how is OpenSea able to get the image associated with each ID? Or did they manually program this in, since CryptoPunks took off?