PraneshASP Random notes and articles Breaking down DeFi Perpetual FuturesOctober 24, 2024DeFi has revolutionized the way we interact with financial instruments. Since the DeFi summer of 2020, lots of products entered into the market inspired from traditional finance (TradFi), and has intr… [→]Bulletproof Solidity🛡️ [Structure your smart contracts better]July 2, 2024Often, I see developers struggling to organize their smart contracts. While this may not seem like a big deal initially, it can lead to maintenance challenges in the future. As the complexity of a pro… [→]Granular Pauseability for DeFi protocolsJune 24, 2024As DeFi protocols evolved to manage millions and [→]A curated list of Foundry tips and tricks [Elevate your foundry game using these techniques]February 25, 2024You can install a specific branch of a library by adding [→]Huff By Example [Solving the SumArray Puzzle]October 1, 2023In this rapidly evolving landscape of blockchain technology, efficiency isn't just an advantage—it's a necessity. More the adoption is, the more congested the networks become (for now this is the case… [→]Huff Challenges - A WalkthroughJuly 20, 2023This post is a compilation of the walkthroughs for the Huff Challenges that I posted on [→]EVM - Gas refunds and Memory expansion costApril 16, 2023Memory in EVM is a critical resource that should be carefully managed due to the decentralized nature of the blockchain. It is one of the key factors in computation, which in turn affects the cost of … [→]Testing and deploying Huff contracts using foundryFebruary 12, 2023In this post, we will dive into the steps involved in testing and deploying a smart-contract written using the [→]Stealth addresses 101December 10, 2022A stealth address is a type of address that is used to protect the privacy of the recipient of a transaction. Stealth addresses are generated by the recipient of a transaction, and they allow the send… [→]Merkle and Verkle treesAugust 19, 2022In general, data structures are used to efficiently store and retrieve data. In the world of blockchain, merkle trees are quite popular as it is being used in bitcoin and in the ethereum blockchain to… [→]Upgradable smart contracts using the UUPS Proxy PatternFebruary 14, 2022We all know that one of the most impressive features of the blockchain is its immutablity property. But it is not advantageous in all cases. Imagine a deployed smart contract holding user funds having… [→]Light weight, in-memory rate limiter using NodeJSJuly 23, 2021Rate limiting is one of the most important features which should be implemented in every web application. There are a lot of variations in the case of rate-limiting such as - [→]Deploy a Testnet faucet on Polygon NetworkJuly 16, 2021In this demo, we will be exploring how to create a faucet for your token using solidity and deploy it to the Matic/Polygon live network. There are several reasons for a token to have a faucet. It can … [→]Sentiment based trading-bot on Binance using NodeJS [This bot can trade Bitcoin whenever Elon Musk tweets about it]June 26, 2021Yes! In this article we are going to build a customizable trading bot, [→]Create your own BEP20 tokens on Binance Smart Chain (BSC) [And deploy it using Remix IDE]May 20, 2021Right from the beginning of the DeFi Summer of 2020, a lot of new cryptocurrency and blockchain-related projects flooded the Ethereum network which resulted in the hike in gas price. People were in a … [→]Generate Your Own Bitcoin Wallet within 5 Minutes [P2PKH address generation using Node.js]May 19, 2021We are going to have a look at how to create your own Bitcoin wallets — Testnet and Mainnet, using a simple Node.js script. We can generate as many wallets (public/private key pairs) as you want insta… [→]Build your own cryptocurrency price alert service using NodeJS [ExpressJS, BullMQ, Cron jobs, email notifications and more..]March 5, 2021Everyone in this world is busy. We are poor at remembering things (especially me). Being motivated by the above two statements, I ended up building this simple cryptocurrency price alert microservice,… [→]How to Create Your Own Secure Node.js REST API BoilerplateJanuary 23, 2021In this article, we will be building a basic starter template (or boilerplate)which can be used for building robust and secure REST APIs using Node, Express, and Mongoose. It can be used for any kind … [→]Integrate JWT to your Authentication system within 10 minutes [By building a Referral System using Node.js, MongoDB and Express]January 16, 2021Welcome! In this article we will be learning how to manage user sessions using JSON Web Tokens (JWT). At the end we will also build a simple referral system to demonstrate the workflow with JWT. [→]Build Simple and Secure REST API for User Authentication Using Node.js, JWT and MongoDBJanuary 14, 2021Welcome! In this article, we will be developing a secure and lightweight REST API using Node.js, Express server, and MongoDB from scratch that can be used as a backend for authentication systems. This… [→] © 2024 Flawsomedev.com | PraneshASP. All Rights Reserved.