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

instantSale Error #183

Open
ghost opened this issue Feb 23, 2022 · 4 comments
Open

instantSale Error #183

ghost opened this issue Feb 23, 2022 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 23, 2022

I’m currently trying to use the @metaplex/js sdk to create the auction and then buying one of the editions for a fixed instant sale price. In final step “instantSale” I get the following error “Error: Unable to find account:

MetaplexError: Unable to find account: CTXJV1fbNg6VmCAvCuDvQqEkSArnpa59NCsd7Ms6L8BP
at ERROR_ACCOUNT_NOT_FOUND (/home/accubits/Mint_API_TS/node_modules/@metaplex-foundation/mpl-core/src/errors.ts:34:10)
at Function. (/home/accubits/Mint_API_TS/node_modules/@metaplex-foundation/mpl-core/src/accounts/Account.ts:42:36)
at Generator.next ()
at fulfilled (/home/accubits/Mint_API_TS/node_modules/@metaplex-foundation/mpl-core/dist/src/accounts/Account.js:5:58)

@ShuklaSushant
Copy link

I hope you have created vault first then added NFt then create auction & auction manager & then set authority.. follow https://docs.metaplex.com/architecture/basic_flow#2-the-auction

@ShuklaSushant
Copy link

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

I hope this flow will help anyone who is also trying to study instantSale

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

@nurav97
Copy link

nurav97 commented Apr 6, 2022

@KarthikaPJAccubits can you post a sample code of how you implemented auction flow as i am stuck on it

@nurav97
Copy link

nurav97 commented Apr 11, 2022

@ShuklaSushant i am getting custom error code 0x33 when running InitAuctionManagerV2 instruction can you help me as i am stuck on this from many days

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

No branches or pull requests

2 participants