Alexander Codesalexandercodes.hashnode.dev·Dec 20, 2024Risk-Free Arbitrage on AlgorandIntroduction Arbitrage is the simultaneous purchase and sale of the same or similar asset in different markets in order to profit from tiny differences in the asset’s listed price. Source: Arbitrage: How Arbitraging Works in Investing, With Examples...1 like·133 readsalgorand
Degen HODLeralgorandcan.hashnode.dev·Dec 18, 2024Connect Your NextJS/React Dapp to the Algorand Blockchain Using AlgoSDK ⚡Introduction Blockchain technology is revolutionizing how we think about digital interactions, and Algorand stands at the forefront of this transformation. As a high-performance, decentralized blockchain, Algorand offers developers a robust platform ...10 likes·26 readsalgosdk
Joshua Obafemijorshimayor.hashnode.dev·Nov 13, 2024Algorand’s Pure Proof-of-Stake (PPoS) Consensus MechanismIn the bustling world of blockchain technology, every project seems to promise a revolution. Some claim to be faster, others more secure, and a few emphasize decentralization. Algorand, however, has managed to combine all three with its Pure Proof-of...pure proof of stake
Alexander Codesalexandercodes.hashnode.dev·Sep 23, 2024Building a Code-Sharing DApp with FastHTMLIntroduction FastHTML is a new Python framework for developing interactive web applications. It's based on HTMX, and purportedly "scales down to a 6-line python file, and scales up to complex production apps". I'm excited to see if I can use it to bu...10 likes·260 readsfasthtml
Alexander Codesalexandercodes.hashnode.dev·Aug 4, 2024Box Storage in Algorand PythonIntroduction Box storage is akin to a key-value database that smart contracts can manipulate on-chain. An application can create any number of boxes, with each box storing up to 32k bytes of data. 💡 Developer docs: Smart Contract Storage Algorand...3 likes·564 readsalgorand
Alexander Codesalexandercodes.hashnode.dev·May 18, 2024Validating Usernames in a Smart ContractIntroduction One of the first challenges in building an application is handling user registration. We often need to allow users to choose their own username, while ensuring that each one is unique. Usernames also usually require validation, with cons...1 like·267 readsSmart Contracts
Alexander Codesalexandercodes.hashnode.dev·May 7, 2024Python & Smart ContractsIntroduction The inimitable Chris Kim recently tweeted about data types in smart contracts: https://twitter.com/chriskim_devrel/status/1787001209406251480?ref_src=twsrc%5Etfw And it got me thinking about friction points for onboarding new developer...5 likes·245 readsPython
Alexander Codesalexandercodes.hashnode.dev·May 6, 2024Proof of Exclusion: A Smart Contract Bloom FilterIntroduction Smart contracts operate in highly constrained environments. We often need to use clever data structures to achieve particular goals within the confines of the virtual machine. A common requirement is to prove membership of something. For...5 likes·217 readsbloom filter
Alexander Codesalexandercodes.hashnode.dev·May 2, 2024Dates, Times, and Property TestingIntroduction The Gregorian calendar is a royal pain in the arse. It was introduced in 1582, as a closer approximation of the solar year. The Gregorian leap year rule is: Every year that is exactly divisible by four is a leap year, except for years t...2 likes·136 readsBlockchain
Alexander Codesalexandercodes.hashnode.dev·Apr 21, 2024Building a Personal NFT Marketplace on AlgorandIntroduction In this post, we're going to look at writing a simple smart contract in Algorand Python that allows a creator to list and sell their NFTs. The creator will be able to transfer assets to the application and set a sale price for each item ...1 like·277 readsalgorand