Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generative NFT #7

Open
mrzenk25 opened this issue Mar 29, 2024 · 0 comments
Open

Generative NFT #7

mrzenk25 opened this issue Mar 29, 2024 · 0 comments

Comments

@mrzenk25
Copy link

mrzenk25 commented Mar 29, 2024

A smart contract with hard coded IPFS hashes to the various databases (e.g., nouns, adjectives, etc.) and when anyone sends X OP tokens to the contract an event is generated that includes:

requestID
sender's address
[]hashes to the databases

The user must send at least X OP tokens. If they send more, we keep the tokens. If any other tokens are sent, we keep them.

Anyone listening to events from this contract (including both ourselves and the sender--listening is premissionless) can generate a Dalle image and post NFT metadata including:

requestID
sender's address
responder's address
[]hashes to the databases
text of the "generated" prompt
text of the AI enhanced prompt
IPFS hash to the image generated

Note that the generate prompt is certain to be reproducible.

Responders may post as many times as they like.

Original sender is not required to "claim" any of the NFTs.

Original sender has 24 hrs to claim one of the NFTs (or none).

Once one of the NFTs is claimed, that image is "locked in" to that address.

If the sender does not claim within 24 hours, he gets X/2 back. In this case, whoever submitted an NFT gets pro rata share of the remaining 50%. Alternatively, if he doesn't claim, the first person who submitted "wins" and gets half X/2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant