Skip to content
Mudit Gupta's Blog

A Blog by Mudit Gupta for Rust, Solidity and Blockchain Discussion

  • Twitter Threads
  • Contact

Rust lang Tips and Tricks

Development, Rust / Mudit Gupta / April 21, 2020

Rust is a programming language that is geared towards speed and safety. Rust has gained a lot of adoption in the past few years and developers are loving it. Although there are numerous other systems programming languages, Rust is one of the very few alternatives to C/C++ that can hold its own when it comes […]

Rust lang Tips and Tricks Read More »

bZx Hacked Again! Hacker made more than 2378 ETH – Analysis

Hacks / Mudit Gupta / February 18, 2020

Someone has duped bZx once again (second time in one week). This time, the hacker got away with a lot more. The hacker seems to have gotten away with more than 2378 ETH, which is equivalent to 635k USD at current prices. The hack was very similar to the last hack and executed in a single transaction on

bZx Hacked Again! Hacker made more than 2378 ETH – Analysis Read More »

bZx Hack Analysis: Smart use of DeFi legos.

Hacks / Mudit Gupta / February 17, 2020

As you might have already heard, bZx (Fulcrum) has been “hacked”. The hack was executed in a single tranaction that happened on February 15, 2020. How it went down The hacker took a flash loan of 10k ETH from dy/dx that they have to pay back at the end of the transaction. The hacker exchanged

bZx Hack Analysis: Smart use of DeFi legos. Read More »

Setting up a stable internet connection

DevOps, Personal / Mudit Gupta / February 15, 2020

In this post, I will be sharing my recent experience of setting up a load-balanced internet connection and my learnings from it. TL; DR: Load balanced internet connection is not the smartest idea; you might be better off with a failover based setup. Back here in India, no ISP is super reliable. However, the internet

Setting up a stable internet connection Read More »

Why 2020 should be the year you learn Rust?

Development, Rust / Mudit Gupta / January 6, 2020

Rust is a systems programming language that is being developed with safety and speed as its primary goals. It is a highly concurrent modern language with a fast-growing community. Developer surveys like “Stack Overflow Developer Survey” where it has been voted “the most loved language” for four years in a row show the support Rust

Why 2020 should be the year you learn Rust? Read More »

Mixing based privacy mechanisms are insufficient

Research / Mudit Gupta / November 13, 2019

Note: This post is based on the lightning talk I gave at Devcon 5 on the same topic. The slides for that talk can be downloaded from here. What are mixing based privacy mechanisms? There are various coin mixing mechanisms like CoinJoin (used by the Wasabi wallet), Ring signatures (used by Monero) and the minimal

Mixing based privacy mechanisms are insufficient Read More »

My Devcon Adventure – Osaka Edition

Personal / Mudit Gupta / November 3, 2019

Devcons are always a unique experience since they bring the ethereum community to a commonplace. It’s not the venue that makes devcons so special. It’s the people! This is the first post of my Devcon post series. This post talks about how the event was in general. I’ll soon be writing another blog post that

My Devcon Adventure – Osaka Edition Read More »

My ETH India 2.0 Experience

Personal / Mudit Gupta / August 7, 2019

ETH India is Asia’s biggest Ethereum Hackathon and the second installment of it just took place in Bangalore, India from 2nd August to 4th August. I decided to participate in the Hackathon as a hacker with my colleague Satyam and a college friend Saad. There, we created an open reputation protocol – Credeth. We ended

My ETH India 2.0 Experience Read More »

Try Catch in Solidity: Handling the revert Exception

Development, Solidity / Mudit Gupta / June 9, 2019

When a revert happens in solidity, all the state changes done in that transaction are rolled back. All the changes done in sub calls are also rolled back. If we called a contract A which in turn tried to do a token transfer in contract B but contract B reverts, all the changes done by

Try Catch in Solidity: Handling the revert Exception Read More »

Solidity tips and tricks to save gas and reduce bytecode size

Development, Solidity / Mudit Gupta / February 16, 2019

Solidity is a special language with many little quirks. A lot of things behave differently in Solidity than most other languages as Solidity is created to work on the EVM with its limited feature set. I wrote a blog post with ten tips to save gas in Solidity a few months back and it got a great

Solidity tips and tricks to save gas and reduce bytecode size Read More »

Post pagination
← Previous 1 2 3 4 Next →

Newsletter

Mudit’s Recent Posts

  • WazirX hacked but Liminal is to blame?
  • Wintermute muted in crypto winter
  • Creamed Cream – Learn the Secret Recipe (Cream Hack Analysis)
  • Live Stream #1 – Auditing Smart Contracts
  • A peek inside the MISO war room – $350m incident response story

About Mudit Gupta

Mudit Gupta is a hacker/developer from India. Mudit is passionate about Blockchains, security, coding, and Gaming. Mudit loves solving logical problems, researching new stuff, developing secure software, and breaking insecure software.

Categories

  • Development
  • DevOps
  • Hacks
  • Personal
  • Research
  • Rust
  • Solidity
  • Writeups

Tag Cloud

Analysis Blockchain circleci codemod Cover protocol DeFi devcon docker DPRK Ethereum ETHGlobal event Exception Handling Exploits Gas Goerli hackathon Insurance internet Liminal loadbalance Mixers Monero Motivation Optimization Parity personal experience Privacy router Rust Rustlang Scalability Scripts solidity substrate Sync testnet Tips Tools travis Truffle Tutorials Vision WazirX
Copyright © Mudit Gupta