1 The8325519926c/ElrondDevelopers 2years ago Fast as ever, thank you ???? So even after loads of push and pop operations, can I safely assume that the nth created node will always have the id n, even if the node is now the first node in the mapper (because of the push pop operations) ?
1 The8325519926c/ElrondDevelopers 2years ago If a contract A calls a contract B with a callback Do I have to assume that the contract A could be called again by anyone else before the first callback gets executed?
1 The8325519926c/ElrondDevelopers 2years ago On the mainnet, I see several contracts that can be called with the function 'wrapEgld' and 'unwrapEgld'. ex: https://explorer.elrond.com/transactions/ac76c2967ab5ef3c72bd713e7c1f8a78770ae2b1f78f40b2f627fe9850f9bda2 https://explorer.elrond.com/transactions/77c59079c748bb3b3472195ca8f3bd8535fe20cf8d2... Read more
1 The8325519926c/ElrondDevelopers 2years ago Hi guys! Has the wrapper for xEgld disappeard on the testnet?
1 The8325519926c/ElrondDevelopers 2years ago thank you for your answer I understand the advantages and drawbacks of the first method. However for the second, I won't know who are the owner of which nfts. I could scan them all and read their data but that would cost potentially cost a lot of gas right?
1 The8325519926c/ElrondDevelopers 2years ago I hear you very well The use case is a loterry where user can choose a number. At the end one of the numbers chosen by the users will be selected as the winning number At most one user per number (so uniqueness of bought numbers) A user can buy as many numbers as he wants I thought I would model th... Read more
1 The8325519926c/ElrondDevelopers 2years ago Here is my use case: I want to keep a list of unique numbers and once in a while (every week for example) an endpoint is called to draw a random number from the previous list. The list is then entierly cleared. I thought SetMapper would be the best choice for this usecase. Am I mistaken?
1 The8325519926c/ElrondDevelopers 2years ago Are you saying that the ProxyNetworkProvider should be instantiated asynchronously?
1 The8325519926c/ElrondDevelopers 2years ago Hello! I saw that rust HashMap can't be used in smart contracts as std in not allowed. Is there an alternative? I have a use case where for internal computation (not storage) I need to sum some values by keys and at the end retrieve all of the keys and their resulting sum. Is there a way to do this... Read more
0 The8325519926c/ElrondDevelopers 2years ago Hey Samer, You should elaborate a little more I think What kind of NFT project? (Pure art, real world application, finance, .... ?) What kind of competence / role are you looking for?
1 The8325519926c/ElrondDevelopers 2years ago I am very new to Cargo/toml Where does this test declaration takes place?
1 The8325519926c/ElrondDevelopers 2years ago Do these images already have some metadata in any form? Or do you only have the raw images?
0 The8325519926c/ElrondDevelopers 2years ago For test purpose, I made a simple structure like this: . ├── Cargo.toml ├── common ├── src │ ├── Cargo.toml │ ├── mandos │ │ └── empty.scen.json │ ├── sc_one │ │ ├── Cargo.toml │ │ ├── elrond.json │ │ ... Read more
1 The8325519926c/ElrondDevelopers 2years ago A quick question regarding sending tokens from a smart contract: in the doc, I am reading this: https://docs.elrond.com/developers/developer-reference/elrond-wasm-api-functions/#direct This will fail if the destination is a non-payable smart contract, but the current executing transaction will not ... Read more