kodadot / nft-gallery

Generative Art Marketplace
https://koda.art
MIT License
627 stars 359 forks source link

HolderOf does not work on drops #9386

Closed vikiival closed 6 months ago

vikiival commented 6 months ago

Is there an existing issue?

What happened?

I want to mint reflection but I cannot because UI tells me 'Conditions not Met'

Screenshot 2024-02-13 at 10 14 17

However I have minted my complexity NFT

Please reproduce in steps

  1. Mint Complexity
  2. Go to Reflection
  3. You are unable to mint

Expected Behavior

I expect to be able to mint reflection when I am holder of complexity

What browsers are you seeing the problem on?

No response

At which address did you encounter bug?

No response

Are you logged in?

None

Which wallet you are using?

No response

At which chain did you encounter bug?

No response

Screenshots

~

Wallet Address & Transaction hash

No response

Relevant log output

No response

Payment link for reward

https://canary.kodadot.xyz/dot/transfer/?target=My_Polkadot_Address_check_https://github.com/kodadot/nft-gallery/blob/main/REWARDS.md#creating-your-dot-address

Code of Conduct

vikiival commented 6 months ago

pls anyone from @kodadot/internal-dev

kodabot commented 6 months ago

ASSIGNED ISSUES LIMIT REACHED - @Jarsen136, you have been already assigned with 5 issues: 4042,5941,7217,8901,9046,9354,9353. Finish one of them in order to get more issues assigned!

prury commented 6 months ago

for me it works: image

preschian commented 6 months ago

@Jarsen136 For me, it's ready to mint, but it failed on mint. Missing some function to call fxart endpoint, such as https://github.com/kodadot/nft-gallery/blob/9fbffa9d3ee9dac70e8a56722b3ee0a16fdbe977/components/collection/drop/PaidGenerative.vue#L289-L326

image
kodabot commented 6 months ago

ASSIGNED ISSUES LIMIT REACHED - @Jarsen136, you have been already assigned with 5 issues: 4042,5941,7217,8901,9046,9354,9353. Finish one of them in order to get more issues assigned!

prury commented 6 months ago

@Jarsen136 For me, it's ready to mint, but it failed on mint.

true, https://assethub-kusama.subscan.io/extrinsic/6413586-2

vikiival commented 6 months ago

Yes the code is wrong. Please remove api.tx.balances.transfer

and supply correct value here in api.tx.nfts.mint mint price is set via price

"mint_price":NULL

ROFL

Screenshot 2024-02-13 at 14 54 58