metaplex-foundation / js-deprecated

Deprecated Metaplex JavaScript SDK
https://metaplex-foundation.github.io/js/
MIT License
127 stars 77 forks source link

Supplied an invalid creator index to empty payment account #188

Closed aliiqbal436 closed 2 years ago

aliiqbal436 commented 2 years ago

I am getting this error while validating auction.

Screenshots

image
AmmarKhalid123 commented 2 years ago

@aliiqbal436 which metadata are you passing in the validate auction? I was passing the metadata returned from addTokenToVault, and was receiving the same error. Change that to the metadata value returned from mintNFT function and it will hopefully resolve

ShuklaSushant commented 2 years ago

Duplicate issue : https://github.com/metaplex-foundation/js/issues/174

aliiqbal436 commented 2 years ago

@AmmarKhalid123 we are passing token metadata. And we have completed the create auction work and it's working.

aliiqbal436 commented 2 years ago

@AmmarKhalid123 We need any help let me know.

AmmarKhalid123 commented 2 years ago

@aliiqbal436 have you been able to run end auction successfully?

aliiqbal436 commented 2 years ago

@AmmarKhalid123 not we are working on it. Just created and start the auction successfully yet.

aliiqbal436 commented 2 years ago

@AmmarKhalid123 have to done with finish auction work?

AmmarKhalid123 commented 2 years ago

Yes I'm done with finish auction.

ShuklaSushant commented 2 years ago

@AmmarKhalid123 I am struggling with instant Sale , Need help.... i am analyzing all the transactions of instantsale , there are in total 11 transaction , i have found 9 of them Need help in last 2 createExternalPriceAccount --> createVault --> addTokensToVault --> closeVault --> initAuction --> InitAuctionManagerV2 --> SetVaultAndAuctionAuthorities --> ValidateSafetyDepositBox --> StartAuction

Still there are 2 more transactions that execute when we use metaplex UI, Can anyone help what to do after StartAuction

ShuklaSushant commented 2 years ago

Yes I'm done with finish auction.

@AmmarKhalid123 what kind of Auction have you completed? open edition, instant sale..? Do you have any idea what needs to be done after start Auction

AmmarKhalid123 commented 2 years ago

I haven't used their instantSale method, since it doesn't suit our requirements, so I'm not sure about that. Also in my current setup, the steps you mentioned are same to launch an auction

aliiqbal436 commented 2 years ago

@ShuklaSushant have you started auction using actions methods? then don't use that it's not working for instantSale. Create auction using classes and instructions. for example import classes like that.

const auctionInstruction new programs.auction.CreateAuction(CreateArgeParams); sign and send transaction.

nurav97 commented 2 years ago

@aliiqbal436 can you post a sample code for single NFT auction using metaplex js it would be of great help