-
- Stripe supports crypto now.
- NFT dApp. Lots of finishing touches.
- Added footer with link to OpenSea collection.
- Used alertify for cleaner notifications.
- Rearranged the effect hooks and event listeners.
- Overflow auto.
- I didn’t add royalties, but they’re not hard: EIP2981 is the standard https://eips.ethereum.org/EIPS/eip-2981.
- Used block.difficulty and timestamp for pseudo-rng in the contract, since pure is not possible.
- Disabled Mint button after click.
- Transaction and opensea link shown back to user.
- Added animated loader for Minting.
- Restructured to make the conditional renders a lot cleaner.
- Added a footer link to the rinkeby faucet.
- Wallets are usually pretty good about estimating gas, but about a quarter of my mints were failing. Just pass a custom gasLimit in the dapp call to the contract. It will return whatever is not used to the user, this just sets the ceiling.
- I set it to { gasLimit: 10000000 } which on Rinkeby right now is 0.015 eth. This limit you define in the app directly corresponds to the “max fee” and such that you see in metamask prompts.
- Made a and a:visited lighter to jive with dark background.
- Started migrating from react to next, but left it alone. Third-party dep (alertify) uses document and was breaking ssr, and I didn’t want to mess with it (beyond simple next/dynamic attempt).
- Migrated from js to ts. Declared the window var any for property ethereum, and changed alertify from import to require (it doesn’t have types).
- Added eslint. Changed require to a proper declaration alertifyjs.d.ts. Fixed other lint.
- Deployed with vercel (don’t need next, they support a ton of templates including the basic create-react-app).
- Didn’t verify the latest contract with hardhat, I don’t have the local bytecode anymore and don’t want to redeploy.
- https://choppyseas.vercel.app/
- The demands of the hackers who took nvidia data last week: disable the LHR feature (limiter) on GPUs (various geforce rtx models). It was impacting their eth mining performance. lol https://arstechnica.com/information-technology/2022/03/cybercriminals-who-breached-nvidia-issue-one-of-the-most-unusual-demands-ever.
- Cookie Remover extension (click the cookie to remove for the current site) and Bypass Paywalls (https://github.com/iamadamdev/bypass-paywalls-chrome) on Brave.
- Works on Bloomberg, Medium, NYT, and a ton more.