Content pfp
Content
@
0 reply
0 recast
0 reaction

phil pfp
phil
@phil
Bounty: create a frame that returns a random CryptoCitizen and displays it along with the owner and city. Here is some great inspo from @todd and @ok: https://warpcast.com/todd/0xfe22c1a6 CryptoCitizen docs: https://docs.brightmoments.io/cryptocitizens $100 USDC @bountybot
7 replies
0 recast
23 reactions

Guapolocal.eth🎩 pfp
Guapolocal.eth🎩
@guapolocal.eth
@phil I have absolutely zero coding experience and thanks to @jvaleska.eth who is an absolute saint I was able to fumble my way through a functional frame. https://mu-attempt-cit.vercel.app/
2 replies
1 recast
1 reaction

phil pfp
phil
@phil
Great start! A few notes: - On mobile there are two buttons after clicking, one of which says "Undefined". There should be one button. - The image is cutoff due to aspect ratio. The entire image should be visible. - This is just 1/8th of the collection. There are other token ID ranges. Keep going!
1 reply
0 recast
1 reaction

Guapolocal.eth🎩 pfp
Guapolocal.eth🎩
@guapolocal.eth
@phil I am actively playing with the development which is why there is an undefined button currently, it was my best idea for displaying the city name. I am looking at resizing now, should be quite easy with an url query string. With the IDs being non sequential, I may be limited here with item 3.
1 reply
0 recast
0 reaction

phil pfp
phil
@phil
You can generate an array of valid token IDs once, and then randomly select a token from that list. Valid token ID ranges are available on the docs page linked in the OP. Good luck!
1 reply
0 recast
1 reaction