huff-examples
huff-examples copied to clipboard
A collection of commonly used, vigorously tested Huff contracts for learning purposes.
In Address.huff SEND_ETH macro, the contract didn't have the call opcode. I'm not sure if it was on purpose if so, then just ignore this PR.
## Overview `huff-examples` should provide verbose scripting examples.
[playground](https://evm-codes-6zqgbc9nl-smlxl.vercel.app/playground?unit=Wei&codeType=Huff&code='%23define%20macro%20MAIN%7BH%3D%20takeVGV(FQv165WBgQl165gZvEWBgL80ac58cdlEgZvSRFL5b5e139flSX~ZwFUOJXY~zXFCy%3AwOpopOOJXOD1%20UzX~YzX)'~TTzP%5Byinterfacew%5CnvwFPcheck%20if4rcl4qOTJCercg%2CRX~ZCy%20jumpiY~L2KDKG~X%5DwWRFdup1OO~zVs%20%7B0HUDKmstore~T%20%20SEMetadataR%20BQD1ffc9a7P%2F%2F%20O~~DxK0%20J%20zH%7D%20GreturnFw~E721DL0Cis_ById4%20e%014BCDEFGHJKLOPQRSTUVWXYZglvwyz~_)
Based off of this repo: https://github.com/m1guelpf/lil-web3 , implement huff contract examples for each concept. These concepts include but may not be limited to DIY implementations of: * ENS * OpenSea...
Self-explanatory: Build a simple escrow contract that enables two parties to transact with each other without trust.
Given that we have implementations for both ERC20 and ERC721 standards, it would be wise for us to implement ERC1155.
This pr removes the unused ALLOWANCE_LOCATION constant in ERC20. https://discord.com/channels/980519274600882306/980576949808300082/981226803370815518
This repo still has the README from huffc. We should probably add a simple set of instructions for how to setup a new huff project using the template and a...