CMCat McGeeinblog.mcgee.cat·Aug 12, 2025 · 15 min readHow to use Passkeys in Next.js using WebAuthnIn this tutorial, we will learn how to use SimpleWebAuthn to allow users to register and login with passkeys in a Next.js app. It assumes you have basic knowledge of Typescript and Next.js. We’ll be building this (live demo). If you’d rather dive hea...00
CMCat McGeeinblog.mcgee.cat·Nov 5, 2021 · 6 min readBlockchain's biggest technical challengeBlockchain is awesome. The perfect immutable peer-to-peer network leading the way into web3. But, as with any technological breakthrough, it has its issues. There is one big problem with blockchain, often called the 'trilemma.' According to my spell-...03URT
CMCat McGeeinblog.mcgee.cat·Oct 1, 2021 · 9 min readHow to make your very own cryptocurrency (deploy your first smart contract!)Ever thought about making your own crypto? Now you can, and it's way easier than you think. This tutorial is going to teach you how to write and deploy a smart contract on Ethereum, and that smart contract will contain all the rules of your token. By...05CJD
CMCat McGeeinblog.mcgee.cat·Sep 28, 2021 · 8 min readWhy web3 mattersRecently, a Twitter thread entitled Why web3 matters went viral. And as much as I love this sentiment, I couldn't help but roll my eyes when reading through Chris Dixon's buzzword-filled tweets. That kind of blockchain lingo is loved by crypto salesp...017RATWA
CMCat McGeeinblog.mcgee.cat·Jul 28, 2020 · 4 min readCode anything in JavaScript, with only 8 charactersYou can convert any Javascript code into these characters: ()[]{}!+ and only these characters. Here's how: Numbers We can get 0 by casting an empty array using +[]. The + is the unary plus, which converts the right side into a numeric value, i.e. 0, ...00