Alexander Codesalexandercodes.hashnode.dev·Mar 28, 2024Five Iterations in Algorand PythonAlgorand Python v1 was released today! 🥳 There are quite a few changes and improvements from the developer preview, so things might look a little different to my previous posts. If you are new to Python on Algorand, I would recommend watching Alessa...Discuss·87 readsalgopy
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...Discuss·1 like·207 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·Mar 16, 2024Evolving NFTs on AlgorandRecently I've been thinking about dynamic NFTs. Algorand's ARC-19 provides a way to update an NFT's metadata over time, by changing the reference in the reserve address field. It relies on the token manager submitting a new transaction to transition ...Discuss·1 like·281 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...Discuss·98 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·Mar 10, 2024Provable NFT Collections on AlgorandContext NFTs are created using Algorand Standard Assets (ASAs), which are built into the protocol and created using a special type of transaction. This is distinct from some other blockchains where a smart contract is necessary to represent assets. ...Discuss·100 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·Mar 3, 2024Minting Fibonacci NFTs on AlgorandLet's explore how to create an Algorand smart contract that mints NFTs with Fibonacci numbers as metadata. We'll write the smart contract code in python, using PuyaPy. Fibonacci Sequence The Fibonacci sequence is defined as: F(0) = 0, F(1) = 1 F(n) =...Discuss·2 likes·133 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...Discuss·339 readspuyapy
Alexander Codesalexandercodes.hashnode.dev·Feb 28, 2024Building a Sudoku Validator on AlgorandLet's explore how to validate a sudoku in an Algorand smart contract. We'll write the smart contract code in python, using PuyaPy. Sudoku Basics A sudoku grid has 81 cells (9 rows and 9 columns). A solution is valid if: Each row contains the number...Discuss·156 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·Feb 26, 2024Building a Bitcoin Emulator on AlgorandThe Algorand Foundation recently released a Python-to-TEAL compiler called PuyaPy. It's still in developer preview, but I wanted to try it out. Inspired by ORA, I thought it would be fun to build a mineable POW asset based on the Bitcoin protocol. Th...Discuss·671 readsalgorand
D Ozgur Cakirkayadocak.hashnode.dev·Jul 13, 2023💡Unleash the Power of Algorand: Your Ultimate Guide to a Fast, Secure, and Scalable Blockchain of the Future! 🚀💎Introduction Step into the incredible world of Algorand, where a game-changing blockchain platform is ready to tackle the blockchain trilemma and redefine decentralization, security, and scalability. Get pumped for an adventure into the innovative Pu...Discussalgorand