Comments (4)
After minting another collection, I noticed that it selected image 10.jpg which means with a total collection size of 10, it selects images between 0-10 which means 11 shuffle options.
0
https://devnet-explorer.elrond.com/nfts/NTLPRK-10beda-01
10
https://devnet-explorer.elrond.com/nfts/NTLPRK-10beda-03
from elven-nft-minter-sc.
Hey, thanks for reporting. Yes, it shouldn't happen. It is a bug. You will still have the ten items, but one index will be missing.
Could you tell me more about it?
- What smart contract was used: modified, from the main branch or maybe from the development branch?
- What was the configuration when deploying it?
- I see that it was a giveaway, not a standard mint, right?
Thanks!
from elven-nft-minter-sc.
I think I fixed it on the development branch. I will do more tests later.
The problem was that there wasn't a shuffle 'gatekeeper' for the giveaway
endpoint. The shuffle must be called at least once before minting (also giveaway). It should be done by hand because I can't run it in the init function. I could probably automate it in the CLI the same as with populateIndexes
, but without the CLI, you will still need to remember about populateIndexes
and shuffle
.
Please try the wasm file from the development branch, and thanks for reporting, good catch :)
from elven-nft-minter-sc.
Hey sorry for the delay. Bad at GitHub notifications but it seems like you were able to resolve this! Thanks for your work.
from elven-nft-minter-sc.
Related Issues (20)
- Remove the gateway entry and leave only the ipfs:// schema based uri HOT 2
- Mint left NFTs HOT 3
- Possibility of minting NFT tokens over limit? HOT 5
- Prepare init for contract upgrade HOT 2
- Token amount checks for giveaway endpoint HOT 4
- Clearing storage when setting new drops is not optimal HOT 2
- Add additional queries HOT 1
- [Docs] on Elven Tools workflows HOT 1
- Check the impact on performance if the initial shuffle is moved to the issue_token callback
- [important] Changes in populateIndexes required soon! HOT 1
- Allow to set up other properties and roles for collection ESDT HOT 1
- Add 'remove address' from allowlist
- Claim royalties from marketplaces? HOT 6
- Adjust the SC for elrond-wasm 0.29.* HOT 1
- populateIndexes - investigate new ElrondNetwork repos
- Allow spaces for the NFTs tokens names
- Upgrade SC HOT 1
- 2 new things on explorer HOT 3
- How i can add these things ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elven-nft-minter-sc.