Blockchain security and hacks

Just collecting some nice articles I read recently on flash loan hacks, front running attacks, and security for smart contracts: On the mechanics of flash loan attacks and how to prevent them: - use decentralized oracles (price feeds) so that you're not too dependent on a single/central source which can be easily manipulated to cause … Continue reading Blockchain security and hacks

Weighing puzzle reminds me of a binary search

This question reminded me of the binary search method. Solution:Split the 12 men into two groups.Weigh 6 vs 6 on the seesaw, take the group that weighs more.You have 6 men.Split the group in half again:Weigh 3 vs 3, take the group that weighs more.You end up with 3 men.The 3rd (last) weighing is a … Continue reading Weighing puzzle reminds me of a binary search

Minting an NFT with on-chain metadata and image data

By brute force trial and error, and then looking at youtube tutorials, and then trying again — after 2.5 days, I finally managed to mint an NFT with on-chain metadata. You can check it out here: https://testnets.opensea.io/assets/0x9C5b4F4a8746B0E4379F252c019D8FeF15B2ff20/0 or see the code in my github. It was quite an experience, throwing myself into the deep end … Continue reading Minting an NFT with on-chain metadata and image data

Lesser-known things about NFTs

NFTs are basically smart contracts (or programs). Smart contracts are code programs that reside in blockchains, they can have code functions written in them, for example, to add numbers up, to get information, to interact with information, etc. Which means that essentially: NFTs can be programmed with functions to interact with information or other NFTs, … Continue reading Lesser-known things about NFTs

Comparing OpenSea and Nifty Gateway

OpenSea  Decentralized marketplaceMass market: Accepts listings and mints from everyone. Some might be copy cat listings, so buyer beware.Wider variety of NFTs, including domain names, virtual worlds, trading cards, etc.Supports ethereum blockchain, and cheaper chains like polygon and klatyn.Takes 2.5% of the salesCreators can set royalties on their NFT collection, up to 10% of sales … Continue reading Comparing OpenSea and Nifty Gateway

About launching NFTs (by FOMO Dog Club’s founder) and other notes

I was watching youtube when I came across an NFT founder talking about his launch: FOMO Dog Club. https://youtu.be/8aIy7TRoxeM It's an interesting talk, and I learned a lot from him, especially from the creators' pov of launching an NFT series. I made some notes below, some are from his talk, some are just my thoughts. … Continue reading About launching NFTs (by FOMO Dog Club’s founder) and other notes