xBalbinus Profile Banner
Xiangan He Profile
Xiangan He

@xBalbinus

Followers
618
Following
2K
Media
104
Statuses
271

i like building apps and securing them.

Boston
Joined January 2021
Don't wanna be here? Send us removal request.
@xBalbinus
Xiangan He
2 months
proud to have been part of building this
@AEL
Æ
3 months
Æ app - out now on ios & android - https://t.co/0IRArRKWc8
0
0
2
@thebensams
Benjamin Samuels
7 months
@xBalbinus you’re gonna love EIP-7201
0
1
3
@xBalbinus
Xiangan He
7 months
Something like this works: `keccak256(abi.encode(uint256(keccak256("<yourContractHere>")) - 1)) & ~bytes32(uint256(0xff))`
0
0
0
@xBalbinus
Xiangan He
7 months
Insane smart contract storage hack: if you're writing a storage contract for an upgradeable contract, one thing you can do is positioning your storage slot to avoid the first 256 bits to avoid slot collision issues
2
0
0
@xBalbinus
Xiangan He
7 months
Learned something new about Ponder today: when you go to prod using Ponder, Ponder's default tables goes from 'public' to a SHA hash of the deployment instance. If you have a @DrizzleORM database, you'd need to point it at the right Ponder table name.
0
0
1
@xBalbinus
Xiangan He
7 months
Making some posts on the @AEL app; full flow Design by @ARKconclave
0
0
2
@xBalbinus
Xiangan He
7 months
You can define a schema and feed it to the input and output builder on the backend to give your frontend an easy time integrating. See the example with an endpoint to create a merkle root below.
0
0
1
@xBalbinus
Xiangan He
7 months
I really like typesafe code: did you know that you can infer the input and output type information from your tRPC endpoints via. `inferProcedureOutput`? tRPC endpoints work with zod schemas under the hood, so it's easy to get for each of your queries!
1
0
2
@xBalbinus
Xiangan He
8 months
Application onboarding flow where you text with the mascot. App is @AEL , design by @ARKconclave
2
1
14
@xBalbinus
Xiangan He
8 months
Today I learned: When it comes to databases, storage is limited but compute can be scaled. Especially useful for when you're considering scaling request volume or call size.
0
0
2
@xBalbinus
Xiangan He
8 months
Probably one of the most unique onboarding flows I had worked on. app: @AEL design by @ARKconclave
0
0
2
@xBalbinus
Xiangan He
8 months
Hackery application wallet generation screen, part of a login flow. Design by @arkicelandllc App is @AEL
0
0
1
@xBalbinus
Xiangan He
8 months
@ARKconclave @AEL Basics of how to: - A component for a text bubble (and an image beside it) - The text input component I posted about a few days ago - Double-bracketed button component - Absolutely-positioned background ASCII decorators.
0
0
0
@xBalbinus
Xiangan He
8 months
Mobile login code insert screen UI Design by @ARKconclave App is @AEL
1
0
3
@xBalbinus
Xiangan He
8 months
0
0
0
@xBalbinus
Xiangan He
8 months
Did you know: push is better than pull when it comes to at-scale token distribution?
1
0
0
@xBalbinus
Xiangan He
8 months
Jokes aside though, wishing everyone a happy weekend. Let me know if I can be there for you in your journey!
0
0
0
@xBalbinus
Xiangan He
8 months
Design credits @arkicelandllc App is @AEL
0
0
0
@xBalbinus
Xiangan He
8 months
When life gives you lemons, ship error-handling in your login component.
2
0
1
@xBalbinus
Xiangan He
8 months
It then aggregates these using a harmonic mean with bias correction to yield a near-optimal cardinality estimate with sublinear memory (≈1.04/√m accuracy).
0
0
0