Content pfp
Content
@
0 reply
20 recasts
20 reactions

welter pfp
welter
@fun
Farcaster Wrapped NFTs are here ...but can somebody please help me mint these? i need them onchain either as a GIF or as a p5.js script, DM me!
25 replies
7 recasts
68 reactions

Steve pfp
Steve
@stevedylandev.eth
Of course I’m obligated to suggest IPFS ;) but I’m curious what on chain costs would be for an L2 like Base? Is it still crazy expensive?
2 replies
0 recast
0 reaction

Steve pfp
Steve
@sdv.eth
This could be done on L1 pretty inexpensively as some folk have already uploaded p5.js as smart contract bytecode. The contract for this collection would: - import the p5.js - use @fun’s p5.js script - have a mint function that takes (minutes, casts, fname/ens) that is ideally checked against a merkle tree - profit?
1 reply
0 recast
1 reaction

Steve pfp
Steve
@sdv.eth
Sorry meant to say days instead of casts. But yeah, minters pay a small fee as it’s just 2 ints and a string to write. The merkle tree would be in the frontend and checked against an onchain merkle root to ensure no one mints bogus stats. Those parameters are fed into the script and voila! Efficient storage on ETH
1 reply
0 recast
1 reaction

horsefacts 🚂 pfp
horsefacts 🚂
@horsefacts.eth
This is what I was thinking too. What's the best and latest contract tooling for onchain p5? ethfs + scripty?
1 reply
0 recast
0 reaction

Steve pfp
Steve
@sdv.eth
And that's where my facade ends! As someone who's written zero lines of solidity code... I'm eth newbie..just learning
1 reply
0 recast
1 reaction

horsefacts 🚂 pfp
horsefacts 🚂
@horsefacts.eth
me too
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
Oh yeah I’m pretty familiar on how it’s done, but the same problem persists with storing anything on chain. I could take a whole video and make it one long string, but the longer the string the more expensive it gets. P5.js generally helps reduce it but can still be pricey depending how complex the code is
1 reply
0 recast
0 reaction

Steve pfp
Steve
@stevedylandev.eth
The challenge is writing something that’s affordable enough for minters to pay gas fees for. One of my favorite on chain projects Two Bit Bears uses code to render an SVG of literally two squares. On Eth Mainnet back in the day it could cost $100-$300 to mint because of the gas fees to write that on chain
1 reply
1 recast
0 reaction