Alexander Codesalexandercodes.hashnode.dev·Mar 24, 2024Building a Hashed Timelock Contract on AlgorandIntroduction A hashed timelock contract (HTLC) is a type of smart contract used in blockchain applications. It reduces counterparty risk by creating a time-based escrow that requires a cryptographic passphrase for unlocking. In practical terms, this...1 like·323 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·Mar 10, 2024Verifying Merkle Proofs on AlgorandMerkle trees are an extremely useful data structure for tamper-proof collections. They are ubiquitous in blockchains. There are many potential use cases for smart contracts that can verify an inclusion proof, so let's look at how we can write one wit...194 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·Feb 29, 2024First Impressions of PuyaPyA couple of people have asked me to share some thoughts on Algorand's new Python-to-TEAL compiler, PuyaPy. I should preface this by admitting I know sweet f*** all about compilers, and I don't know much about the AVM either. But perhaps that makes me...470 readspuyapy