onchainkit

/onchainkit399

A channel to vibe with the OnchainKit library and feel the love behind the open-source craftsmanship. Repo: https://github.com/coinbase/onchainkit

Check out this swap component in a v2 frame built with onchainkit!

https://ock-frame-v2.vercel.app
One click USDC checkout with @coinbase commerce
Gotta do onchain in style ✨
Give it a try! Adding Swap to your app has never been easier. Users don't need to leave your website to trade tokens.
is there an @onchainkit hook to trigger the connect modal like Rainbow’s ‘const { openConnectModal } = useConnectModal()’

vs adding a <ConnectWallet />
playing with @onchainkit 🔛⛓️, really cool

wish <𝗧𝗿𝗮𝗻𝘀𝗮𝗰𝘁𝗶𝗼𝗻 /> just prompted connect wallet if !address vs disabled (isMissingProps)

guide users down path you need them to go since in disabled state it’s non-obvious 𝘸𝘩𝘺 it’s disabled
anyone I can talk to about onchainkit supporting non-coinbase wallets? trying to add metamask support in my wagmi config for non-coinbase wallet users(a few users of farhack.xyz have reached out) but I'm having issues with the transaction components accepting this 🙌
With @onchainkit v0.30 we introduced a small breaking change for <SwapButton>.

Moved the `onError` and `onSuccess` lifecycle listeners from the <SwapButton> component to the <Swap> component.

Learn more at https://github.com/coinbase/onchainkit/releases/tag/v0.30.0
Hey. hey. Was stuck on an error integrating OnchainKit transactions then realized it's also an error on the live version. If you connect with a wallet that's not Coinbase, you get "RPC Error: The method "wallet_sendCalls" does not exist." anyone have an idea for fix? https://onchain-app-template.vercel.app/
been toying around with onchainkit a bit more and am enjoying it! cool to see the DevEx improving in the space to the point where wallet connection & running a transaction can happen in ~20 LOC

but one thing i'm wondering is if there are any hooks to obtain the results of/start some of the actions in the components(eg. would be helpful to obtain the hash of a successful transaction for a developer to do something with it)

https://onchainkit.xyz/transaction/transaction#transaction-with-transactionstatus-components
Soon, every user’s first onchain experience will be on mobile

@onchainkit makes building onchain mobile apps super easy so you can onboard the next billion users
30s clip from last night’s stream where I ran into a minor inconvenience with @onchainkit

A minute later @zizzamia from the team reposts it and says they’ve taken note of it.

This was at 9pm on a Sunday. Insane.

@jessepollak said the team was in Zone 4-5 and he wasn’t kidding

https://x.com/mykcryptodev/status/1820252465465606481
One button, infinite possibilities for building world-class onchain user experiences
https://onchainkit.xyz/transaction/transaction
new weekly ATH for @onchainkit downloads

the vision is simple: a frontend appkit that lets you build onchain apps literally 100x faster than offchain apps
trying to get onchain kit to work with react native since yesterday
so far so difficult!
dependencies are a real bother, but we persevere
i kinda understand why most devs go with PWA for mobile apps
And new components already in development. 🔥
Experimenting with onchain kit in real time this morning

https://www.unlonely.app/channels/myk
Playing around on how the Badge component can work with EAS.

Feel free to share your thoughts https://github.com/coinbase/onchainkit/pull/259
Just jam on a quick code pairing with @samuellhuber.eth

Next release will fix a few miss Sam discovered.
The first step to support Open Frame with OnchainKit has been released in version v0.12 🌊

When using XMTP or any other protocol, you can now define those with the 'accepts' field. https://onchainkit.xyz/frame/types#framemetadatatype

Our goal is to have the entire Open Frame spec supported by the end of next week.
Alright, today with `v0.11.3` we exposed on OnchainKit the:
- getName: https://onchainkit.xyz/identity/get-name
- getAvatar: https://onchainkit.xyz/identity/get-avatar
utilities to assist in retrieving name and avatar identity information.

These utilities come in handy when working with Next.js or any Node.js backend.