-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
Fix/simple-mint #6380
Fix/simple-mint #6380
Conversation
…irect in simple mint
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
AI-Generated Summary: This pull request includes two patches. The first patch makes a modification in 'SimpleMint.vue' to ensure that 'this.rmrkMint.max' is assigned as a number to avoid type related errors or inconsistencies. The patch also modifies the 'syncEdition' and 'sub' methods to ensure compatibility with this change. The second patch addresses an issue in 'getNftId' function within 'service/scheme.ts'. The fix is to handle a scenario where the 'collection' property of 'nft' is not an object but a string, by checking its type before using it to construct the 'collectionId'. |
tx: https://kusama.subscan.io/tx/0x24af384214522020f7262e4f6059e9b2e05bf338982f899b1d5539dfeae9e8b7 4 editions successfully minted: Distribution: I've set the distribution to 75% via slider, as i understood 3 of 4 NFTs should have been sent to the addresses i had filled, but none got sent. @daiagi I'll open another issue to fix distribution |
successful mint with 2 editions: successful mint with 2 editions + list for sell: redirect after mint success (with and w/o listing for sell) bugs for other issues:
|
I am checking the code that I have written around 06/2021 How it works:
If you see some logical error (it does not make sense) we can still change the algo |
oh, it works like a random draw thing then |
ah @daiagi I know |
Oh therefore you need to import also createInteraction from minimark/v2 and if prefix is kusama then use v2 |
alrighty, to be continued tommorow |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be oki now
lemme try |
Seems that is working, let me do another one transferred NFT: minting: |
trying now with less copies than addresses: Settings: NFTs got sent successfully https://kusama.subscan.io/tx/0x834d2c358595380661d4395f2c67f271d7066756c02691a7aa2f15fa0b2453e3 obs: listing was just a unused extra step because i was transferring them to other accounts @daiagi is it possible to change Editions to Copies like we did for statemine? |
settings: 3 got sent 3 got listed https://kusama.subscan.io/tx/0x63c6df3ba148c7a1b4f64c9648f35cefa1dfc0b82b64358f20d39c6d456cd6bc |
I got NFT 🥹 |
Code Climate has analyzed commit a046296 and detected 0 issues on this pull request. View more on Code Climate. |
yes. done |
Sooo let's merge this |
pay 100 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
Needs QA check
Context
Did your issue had any of the "$" label on it?
Screenshot 📸
Copilot Summary
🤖 Generated by Copilot at b2f1e61
Fixed a type bug in the simple minting component and added support for minting NFTs under existing collections by providing the collection ID as a string. Modified the
getNftId
function inscheme.ts
to handle both cases.🤖 Generated by Copilot at b2f1e61