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

Phases in drop page #9016

Open
exezbcz opened this issue Jan 15, 2024 · 15 comments
Open

Phases in drop page #9016

exezbcz opened this issue Jan 15, 2024 · 15 comments
Labels
A-drop-page issues related to drop page p2 core functionality, or is affecting 60% of app

Comments

@exezbcz
Copy link
Member

exezbcz commented Jan 15, 2024

okay, next drop will be experimental again
image

  • phases are not dynamic, since its not ready on the backend - probably won't be
  • it will be switched from phase to phase based on items minted.
  • its the first iteration, i don't care much about the spacing, etc.
  • It should be mainly usable, and not full of bugs, The correct phase at correct time is the most important

one thing that is also needed for this drop is:

Design

Phase 1

Phase 2

  • will be public mint, after predefined number of items gets minted in the presale, it is switched to this state.

image

  • this one is also the one we are using

General

  • each phase has its progress indicator - number of items for upcoming drop will be set by @vikiival
  • when one phase is open, its the default one and cannot be collapsed.
  • on the other hand, the secondary (not active) phase can be opened
    image
  • it will show the progress bar and the requirements

all possible states are hopefully there, like this one:

  • presale open, and the user clicked on the public sale
  • it will show him this:
    image
@exezbcz exezbcz added p2 core functionality, or is affecting 60% of app A-drop-page issues related to drop page labels Jan 15, 2024
@hassnian
Copy link
Contributor

hassnian commented Jan 16, 2024

phases are not dynamic, since its not ready on the backend - probably won't be

@vikiival how much of the backend is ready

@JustLuuuu
Copy link
Member

Two important questions:
if I have 2 motherboards will I be able to mint 2 NFTs in a private sale? - this is very important to know and properly communicate with people minting. If no the we MUST have a message - only 1 NFT mint per account is possible or something like that. (Reminder: it is still not possible to mint two NFTs with chroma lattice - people were complaining)

If the motherboard will be used once can it be used again - just remember how it was with chroma lattice. We REALLY want to avoid issues while minting last time. Chromma Lattice is still not minted out

@exezbcz
Copy link
Member Author

exezbcz commented Jan 16, 2024

@JustLuuuu yeah, imo it is not possible due to some bugs.

with that I am more and more considering leaving it free, or make the phases without the holder of

so it will go like this:

  1. free
  2. paid

@vikiival
Copy link
Member

how much of the backend is ready

I will add holder of so it's possible to get from backend.
I havent touch phases :), but you can

@hassnian
Copy link
Contributor

👋

@kodabot
Copy link
Collaborator

kodabot commented Jan 17, 2024

ASSIGNED - @hassnian 🔒 LOCKED -> Thursday, January 18th 2024, 22:09:17 UTC -> 36 hours

@vikiival
Copy link
Member

I will add holder of so it's possible to get from backend.

@hassnian api now return field holds that will tell you if it is holder of the collection

@hassnian
Copy link
Contributor

@vikiival can we get a ahk test drop , thanks

@vikiival
Copy link
Member

@vikiival can we get a ahk test drop , thanks

Yes flatwhite is obtainable only if you hold coretime

@exezbcz exezbcz changed the title Phases plus upcoming drop Phases in drop page Jan 17, 2024
@hassnian
Copy link
Contributor

hassnian commented Jan 23, 2024

@vikiival for the second phase "public sale" which will be paid , we need the price field

atm flatwhite returns '0' can you update that

also running this flatwhite

      const cb = api.tx.nfts.mint
      const args = [
        collectionId.value,
        collectionRes.items,
        accountId.value,
        {
          ownedItem: null,
          mintPrice: price.value,
        },
      ]

args

[
    "311",
    4,
    "DYc9cY7q7UA3Rq97HtiobrLNbMbZgepATJtn3fzPE2jf5v6",
    {
        "ownedItem": null,
        "mintPrice": "0"
    }
]

throws

CleanShot 2024-01-23 at 19 23 51@2x

works fine for coretime what am i missing ?

thanks

@vikiival
Copy link
Member

Yes flatwhite is obtainable only if you hold coretime

For flatwhite you need to be pass the idem id you are elegible to claim

Screenshot 2024-01-23 at 16 15 02

[
    "311",
    4,
    "DYc9cY7q7UA3Rq97HtiobrLNbMbZgepATJtn3fzPE2jf5v6",
    {
        "ownedItem": "3", // sn of coretime that I am holding
        "mintPrice": null
    }
]

@vikiival
Copy link
Member

@vikiival for the second phase "public sale" which will be paid , we need the price field

atm flatwhite returns '0' can you update that

Phases are not implemented atm but you or @Jarsen136 can pick it up:

@hassnian
Copy link
Contributor

hassnian commented Jan 23, 2024

@vikiival got it

do we want phases for this next drop ?

btw don't have access to private workers

@kodabot
Copy link
Collaborator

kodabot commented Jan 30, 2024

ASSIGNMENT EXPIRED - @hassnian has been unassigned.

This was referenced Feb 1, 2024
@yangwao
Copy link
Member

yangwao commented Feb 5, 2024

btw don't have access to private workers

you should have meanwhile @hassnian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-drop-page issues related to drop page p2 core functionality, or is affecting 60% of app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants