Boboch D. Brew pfp

Boboch D. Brew

@boboch

125 Following
34 Followers


Boboch D. Brew pfp
Boboch D. Brew
@boboch
am I the only one to notice those little things or you guys also can't stop seeing them? 😂 @warpcast
0 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
oh damn nicee could I get access? no joke I spent half the day splitting this code in two so I can reuse the graph/nodes code to make something exactly like this 😅 nice that I saw your cast before starting the frame part haha btw IMO add a input for the image to allow dynamic generated images
1 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
I wonder if there’s a better way to handle scores than replying to the initial cast with a automated account, any ideas?
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
Should the buttons be Left Up Down Right, or Left Right Down Up ? (two lines on mobile)
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
my best
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
2048 in a frame, need to figure out how to reply with the last image and score now! https://boboch.dev/frames/2048
2 replies
0 recast
3 reactions

Boboch D. Brew pfp
Boboch D. Brew
@boboch
because there's 2 smart contracts involved, the token contract and the interaction contract, the token contract need you to author the transaction. by approving the interaction contract to use your ERC20 you're allowing him to author the transfer so after that you just have a single contract call.
0 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
btww you can send a ERC20 in a single transaction, the issue you're pointing is when this transaction need to do something else. ex: swap USDC for ETH you need to send the USDC and initiate the swap those two can't be done in a single transaction.
1 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
ERC20 no, but ERC777 yes https://eips.ethereum.org/EIPS/eip-777
1 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
one thing that would be crazy is to be able to write your frame using JSX and have it rendered as an image server side, maybe for next time 🙌
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
My first attempt at making a frame! made myself some NextJS utils to - make the code less verbose - have a state between views (not trusted atm) - use the same NextJS SSR page for the POST API, basically it's all in a single page which is a function of the state & last action https://boboch.dev/frames/helloworld
1 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
you're building nextjs ?
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
didn't knew IOS & Android targets where there now thanks you!
0 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
1. CSS: gap & :has, JS: scrollIntoView 2. useless stuff ofc 3. SolidJS I think it's the best compromise
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
got to polynomials and tried to implement a function trait on them for every Raiseable Field Sequence that implement Copy but vec don't, maybe I should look into the sequences implementing IntoIter of something that implement Copy
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
Cool!! i wanted to implement the math definitions of algebra (rings, vect spaces…) got the traits working but struggled to implement them for real rust objects 😭
0 reply
0 recast
0 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
Ahhh 😅
1 reply
0 recast
1 reaction

Boboch D. Brew pfp
Boboch D. Brew
@boboch
is there any collection based feed or chat here?
1 reply
0 recast
1 reaction