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?
New shadcn animated components registry https://x.com/serhii_be/status/1910724600729632842?s=46&t=nyR04MypYObEBtICytlYYg
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 😀
Working on decentralized poker 😀
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
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
**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
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 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
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 😅
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
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
- 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
May 7th Pectra!
Loading...
"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
Just had to add api key and add ".result" to response parsing
anyone work at the House of Web3?