Open caseywescott opened 2 months ago
I am applying to this issue via OnlyDust platform.
I'm part of Starknet ecosystem since around 2 years as a developer/contributor on several projects (starknet.dart, kakarot, madara, ark project). I know cairo development.
I will review the proposal for contract and check if there is some standard or pattern from OZ which can be usefull.
Hi @caseywescott please can I be assigned to this issue
I am applying to this issue via OnlyDust platform.
I am a blockchain developer please assign me and i will come up with a PR immediately
I will approach the problem with the following:
name
, bio
, website
, etc., are stored in data types that minimize gas costs. For example, storing a URL as bytes
or string
is common, but using bytes32
can be more gas-efficient if the data fits within that limit.string
or bytes
type, but consider compressing the SVG data to reduce storage costs. You could also explore off-chain storage for large SVG data with a hash reference on-chain.Series
holding ArtistMetadata
and SVG data
is a reasonable approach, but ensure each series ID is a unique identifier (uint256
is typical). Also, consider how easy it is to extend or upgrade this structure in the future.SeriesID => ArtistMetadata
and SeriesID => SVGData
are efficient but consider separating concerns (e.g., different contracts for metadata and SVG storage) for modularity.Series
.ArtistMetadata
and SVG data
. Use onlyOwner
or a similar pattern to restrict who can modify the series.ArtistMetadata
and SVG data
in different contracts or storage locations, enabling easier upgrades and maintenance.The maintainer caseywescott has assigned ptisserand to this issue via OnlyDust Platform. Good luck!
Here is the Rough Spec Idea:
https://github.com/cienicera/nft-svg-onchain-multiseries/issues/4#issue-2486339988
It would be great for you to look at the data types for each field and see if they are consistent with the popular patterns seen in NFT series.
I'd also like to know if the structure of the contract looks robust. Specifically if the: (Storage (Series (ArtistMetadata, SVG data))) is the best way to structure things.
Basically red pen any weaknesses and make recommendations for a better implementation for implementing a contract that manages Series of SVG NFTs