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

Price is right minter #198

Open
asaltste opened this issue Jun 22, 2022 · 1 comment
Open

Price is right minter #198

asaltste opened this issue Jun 22, 2022 · 1 comment
Labels
minter-type Suggestion for a new/iterated minter type

Comments

@asaltste
Copy link
Contributor

It would be amazing to have a price is right esque minter where the mint price is unknown and people will submit bids. Then the closest x people without going over get to mint. Would love feedback about this but it seems like a really cool idea.

cc @jakerockland and @ryley-o for feasibility about this idea :)

@asaltste asaltste added the minter-type Suggestion for a new/iterated minter type label Jun 22, 2022
@ryley-o
Copy link
Contributor

ryley-o commented Jun 22, 2022

Definitely feasible.

Would shift our typical model and require more trusting of the artist because the artist would be the only party who knows the purchase price during the bid-period. For example, if some bids were very low, the artist could submit enough of their own bids to essentially create an artificially high floor-price. This is still probably acceptable behavior for this type of minter.

I think would look something like:

  • Artist commit to some hidden price via sending tx with hash of their address, price, and a salt.
  • commit tx is followed by an on-chain bid-period
    • users must send their funds to the minter contract along with their bids (prevent bid-spamming)
  • bid-period is followed by a reveal tx submitted by the artist, revealing the previously hidden price
  • after reveal, losers can reclaim the funds submitted with their losing bids, and winners can purchase their token(s) at each winning bid price.

The minter would have to hold funds, so would require a thorough audit.
Would also have to have an escape-hatch in the event that the artist never submits their reveal tx (in the case of lost wallet keys, malicious artist, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minter-type Suggestion for a new/iterated minter type
Projects
None yet
Development

No branches or pull requests

2 participants