Roushou pfp

Roushou

@roushou

70 Following
6 Followers


Roushou pfp
Roushou
@roushou
coinbasejs now has a logo. Check it out. #onchainsummer https://coinbasejs.com
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
I started writing up the documentation. A bit raw but good enough for a starter. Have a look here. #onchainsummer coinbasejs.com
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
Alright big change, packages have been migrated to a new npm organization. Previous ones will be deprecated. bun add @coinbasejs/<package> Also I started integrating the Commerce API. bun add @coinbasejs/commerce @base @coinbase #superchain
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
Made some progress and started integrating Paymaster. I also added a couple of examples. bun add @coinbase-platform/paymaster https://github.com/roushou/coinbase-platform/tree/main/examples I wish though that the API would properly return status codes in case of error, and not just adding an `error` field in the body. #superchain
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
Vibing https://www.youtube.com/watch?v=F-XmBnIUq1U
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
I started working on the SDK yesterday. I thought it would be interesting to expand the scope. Let's see where it goes. So far the SDK supports the Onchain Data RPC @base #superchain bun add @coinbase-platform/onchain https://github.com/roushou/coinbase-platform
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
I just stumbled upon the onchain data API provided by @base. I didn't find any typescript sdk so I might write one myself. #superchain https://docs.cdp.coinbase.com/onchain-data/docs/welcome
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
Another PR merged on the OnchainKit repository which should reduce the CSS bundle size, make styles much easier to maintain and improve the developer experience. It was nice to see different perspectives from the @base onchain team. #superchain https://github.com/coinbase/onchainkit/issues/500
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
Currently nomading in SEA. There is absolutely no match in terms of QoLs and CoL. And I was very surprised how developed big cities (BKK, KL) are compared to the West. BKK is my favorite so far. An ordered chaos. Life is so much cheaper here while my QoL improved at least 10x. You see the small apartment you pay 2-3k per month? In BKK you can have a condo with pool, gym, staff, beautiful view and private parking in the center of the city for 4-500$ per month. Double that and you are in full luxury. The subway smelling piss, full of trash and where you are squeezed? Here it's clean, safe and you can walk easily. In Paris I was paying ~$3 for a dog shit one-way trip. The Uber you pay $20 for a short ride? Here you can take a Grab for a 1 hour long ride for $8. Even cheaper when traffic is low. In Da Nang, we used to pay 50 cents to $1.5 for 10-15 km (~10-15 min) rides. So cheap we felt bad to use Grab and guilty to not tip drivers. It tells you how big the bubble is in the West.
0 reply
1 recast
4 reactions

Roushou pfp
Roushou
@roushou
I wish it was easier to work with contract addresses, abis and TypeScript types. The current way of needing to copy/paste everything and gluing them together is cumbersome, error-prone and context breaker. Even more in a team.
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
Cross-posting this as It's a nice little trick that can make your life easier when refactoring TypeScript codebases that use a lot `process.env`. https://warpcast.com/roushou/0xae6d9e78
0 reply
0 recast
0 reaction

Roushou pfp
Roushou
@roushou
Little trick to declare types for environment variables often forgotten that makes refactoring easier. Merged on the OnchainKit repository. #superchain https://github.com/coinbase/onchainkit/pull/491
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
Another improvement on the developer experience and quality of the codebase has been made to the OnchainKit repository using Biome #superchain - ⚡️ 18x times faster than Prettier (500ms vs 9s) - 📷 Catch bugs and inconsistencies - 🗃️ Organize imports - And more https://github.com/coinbase/onchainkit/pull/497
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
This week I built by contributing to the OnchainKit repository with 7 PRs merged that improves both the website and the codebase. Some of them: - https://github.com/coinbase/onchainkit/pull/462 - https://github.com/coinbase/onchainkit/pull/497 - https://github.com/coinbase/onchainkit/pull/491 And many more to come
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
Another PR merged on the OnchainKit repo that helps for reproducibility by enforcing which package manager to use and its version. https://github.com/coinbase/onchainkit/pull/466 Working with package managers is sometimes annoying. Give a try to Corepack, it even comes by default with Node.js. #superchain
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
The definition of `getAvatar()` changes in `v0.19.1` of OnchainKit to match the API of related components #superchain https://github.com/coinbase/onchainkit/pull/464 https://github.com/coinbase/onchainkit/pull/471 With the PR from @zizzamia we end up with: getAvatar(ensName: string) -> getAvatar({ ensName: string })
0 reply
0 recast
0 reaction

kroostille pfp
kroostille
@kroostille
🔵 New base, new start for me. Let's build something new this OᑎᑕᕼᗩIᑎ ᔑᑌᗰᗰEᖇ 🔆 #superchain
0 reply
1 recast
1 reaction

Roushou pfp
Roushou
@roushou
Another PR merged that adds Bun usage to the OnchainKit documentation. #superchain https://github.com/coinbase/onchainkit/pull/462
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
Doing another small improvement to the OnchainKit documentation. #superchain https://github.com/coinbase/onchainkit/pull/461
0 reply
0 recast
1 reaction

Roushou pfp
Roushou
@roushou
JSDoc is often forgotten but it's a nice and easy way to add types when writing plain JavaScript. https://warpcast.com/roushou/0xdbaacfa1
0 reply
0 recast
1 reaction