A Humble Bundle-style fee splitting mechanism for EthBlockArt to let users decide how proceeds from minting are allocated (between the platform, artists and charity)
This project introduces a new fee structure for EthBlockArt mints (controlled by users), a new charity fund to be voted on by EthBlockArt holders, a new vault smart contract responsible for depositing and withdrawing all funds, and an integration into the existing BlockArtFactory contract.
How it's made
I used scaffold-eth for the auto-generated UI, hardhat to write tests and deploy scripts, slither to check the smart contract for vulnerabilities and OpenZeppelin libraries to transfer ETH. I paid special attention to follow best practices and look for bugs that might result in loss of funds.