Web3
Solidity, Foundry, ERC-20/721 — honestly framed learning projects on testnets, not production DeFi.
3 posts in this category
-
Why My On-Chain NFT Art Changed When I Cloned It on Windows
Why my on-chain NFT art changed on Windows: core.autocrlf injects CRLF into the SVG files vm.readFile encodes, the base64 differs, and eol=lf fixes it.
-
An Automated Lottery Contract on Chainlink VRF v2.5 and Automation
Building a lottery on Chainlink VRF v2.5 and Automation: why the draw can't be rigged, a full contract walkthrough, and the mock-funding bug that broke it.
-
Fully On-Chain SVG NFTs: Putting the Artwork Inside the Contract
How to mint fully on-chain SVG NFTs with Foundry: base64-embed the artwork in the contract, build data URI metadata in tokenURI(), and flip moods on-chain.