Johns | johnsgresham.eth pfp

Johns | johnsgresham.eth

@johns

254 Following
496 Followers


Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
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
6 replies
1 recast
12 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
New shadcn animated components registry https://x.com/serhii_be/status/1910724600729632842?s=46&t=nyR04MypYObEBtICytlYYg
0 reply
0 recast
1 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Progeny Coffee β™₯️
0 reply
0 recast
3 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Early Bitcoin commits from Satoshi had a bunch of poker references πŸ‘€ https://sourceforge.net/p/bitcoin/code/1/tree//trunk/uibase.cpp Working on decentralized poker πŸ˜€
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Birria tacos doing numbers
0 reply
0 recast
1 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
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
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
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
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Hey @bracky , let's bet 50k bracky on Michael Kim 😎
1 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Lfg!
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
congrats @jrs !!!
0 reply
0 recast
1 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
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
3 replies
3 recasts
7 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
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
0 reply
1 recast
3 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Welp that was fast. Still super rare nft πŸ˜…
0 reply
0 recast
4 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Fun game going against @ventra.eth! https://basedchess.xyz/games/KUXJ1J
1 reply
1 recast
4 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Excalidraw is MIT opensource. What would you want to do with it if it were a mini app?
0 reply
0 recast
1 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Donated to help earthquake victims in Myanmar. Many of us not far from here recently at Devcon in Bangkok
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Invite me to a game! Beat me and get a "Checkmated Johns" NFT - rarest of them all
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
May 7th Pectra!
0 reply
0 recast
1 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
morning workouts >
0 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
"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
0 reply
0 recast
2 reactions