Community Archive

🧵 View Thread

🧵 Thread (3 tweets)

Placeholder
Miguel Piedrafita ✨@m1guelpf• over 3 years ago

✨ I built a lil contract to play Connect 4 on the blockchain! It includes a super-optimised Game contract (moves cost ~$20 on mainnet) + an NFT that the owner can mint (which generates an image of the board, completely on-chain). Enjoy! 👇 https://t.co/bnVoMfEcTV

226 18
1/31/2022
Placeholder
Miguel Piedrafita ✨@m1guelpf• over 3 years ago
Replying to @m1guelpf

Connect4 checklist: ✅ Write & optimise the Game contract ✅ Write tests for Game contract (in Solidity, using Foundry) ✅ Deploy Game contract & play first game! (@sadlyoddisfying won) ◻️ Build a frontend that shows the board ◻️ Deploy the GameMinter contract Still lots to do!

33 1
1/31/2022
Placeholder
Miguel Piedrafita ✨@m1guelpf• over 3 years ago
Replying to @m1guelpf

Wow, apparently making a move is almost 50% cheaper than transferring tokens, even with 50% higher gas 🙃 https://t.co/q51He0ccgH

21 0
1/31/2022