710
Johns | johnsgresham.eth

@johns #710

cooking? soon mentalpoker.xyz basedchess.xyz jgresham.xyz
647 Follower 259 Following
Can anyone sell me on why we should want to see Inter or PSG in the CL finals?
Ubuntu 25 out. Looking forward to more arm64 support!
https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/b5384174-f0dc-4366-0741-4ece69ede900/original
Any tips for automating my local smart contract + front-end development?

Current setup:
1. Make change in smart contract
2. Run `forge script` to deploy to local foundry anvil testnet
3. Paste new contract address to wagmi.config.ts
4. `wagmi generate --watch` generates updated abi/hooks for react front-end
Over heard this discussed and supported on All Core Devs call, and I welcome this!

**EIP-7907: Meter Contract Code Size And Increase Limit:**

"This EIP substantially increases the hard contract code size limit from 24KB to 256KB" - https://eips.ethereum.org/EIPS/eip-7907
Hey @bracky , let's bet 50k bracky on Michael Kim 😎
Made a demo version using Coinbase's Sub Accounts https://sub-accounts-demo.basedchess.xyz/

It only works with their smart wallet. Invite the only player's main account, not sub account to a game. All the message signing for chess moves is done in the background.

A few problems to work out:
- Refreshing the web page causes the wallet & sub account to disconnect, requires 2 pop-ups to reconnect
- Mint GameWin NFT unavailable. I haven't implement the contract calls yet as I don't see a wagmi compatible version of Sub Account support out yet (but it looks like it's coming soon https://x.com/Montana_Wong/status/1907455174416711913)
- Verifying message signatures is turned off. I don't see a method for this yet
It was fun having people test out my Chess mini app Friday night. The most common feedback was to reduce the signing popup for each move, and I think this is the problem with most onchain games.

Today I'll try out integrating Sub Accounts for Coinbase's Smart Wallet https://blog.base.dev/subaccounts
Welp that was fast. Still super rare nft 😅
https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/ff13d742-2671-4386-f55b-9899ad8c0a00/original
Loading...
Excalidraw is MIT opensource. What would you want to do with it if it were a mini app?
Donated to help earthquake victims in Myanmar.

Many of us not far from here recently at Devcon in Bangkok
Invite me to a game! Beat me and get a "Checkmated Johns" NFT - rarest of them all
Loading...
Made some improvements to Based Chess ♟️!

- Onchain-ification. Game state can be synced or checkpointed onchain on Base, which can be verified by any 3rd party. Once a player wins a game, automatic verification by Based Chess occurs and the winner can mint a GameWin NFT 🏆
- Farcaster integration: invite and see friends using Farcaster username and pfp; Add Based Chess mini app w/ notifications on and get notified when someone invites you to a game; using @neynar APIs
- Game specific embed images showing game results and players when sharing a link to a game
- UI/UX cleanup all around

Screenshots of all the changes below
https://basedchess.xyz
/Chess
"create a search and select for a user using shadcn's Combobox and neynar's search users api. So, when the user types (a ratelimited) an api call is made to neynar which is then parsed to create the available CommandItems for the user to select"

Just had to add api key and add ".result" to response parsing
https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/0d40495f-7496-49d4-f147-0138f1ab4900/original