1 guest7888912939c/ElrondDevelopers 2years ago Before I did that this way ( Your adviced helped me :) ) -> https://docs.elrond.com/sdk-and-tools/erdjs/erdjs-cookbook/#multi-esdt--nft-transfer Now the sender is mandatory for Transaction class, so you recommend something like this -> https://docs.elrond.com/sdk-and-tools/erdjs/erdjs-cookbook/#con... Read more
1 guest7888912939c/ElrondDevelopers 2years ago Dont understand what you mean. I have my own SC expecting a multiESDTPayment. Whats the optimal way to provide such payload using erdjs?
1 guest7888912939c/ElrondDevelopers 2years ago Hi Martin, Thanks for your reply. Unfortuantely it is a SC call :), whats then the best way to do that?
1 guest7888912939c/ElrondDevelopers 2years ago Hi Guys, how do you convert the nonce to hex in JS? This question seems to be pretty straight forward, but I found that e.g nonces 1-15 have prefix 0 -> e.g. 01,02,03,04 etc. Then other nonces up to 284 are without the 0 prefix. The nonce 284 is again with zero prefix -> 011c. How do you handle the ... Read more
1 guest7888912939c/ElrondDevelopers 2years ago Good morning, whats the mechanism behind locked tokens? E.g. After price discovery the funds are locked for a specific time period. How this locking is achieved? I assumed there is another ESDT token, which can be after certain period of time transformed into "a real one", but seems that this is not... Read more
1 guest7888912939c/ElrondDevelopers 2years ago Is there an easy way to parse the result on frontend using erdjs?
1 guest7888912939c/ElrondDevelopers 2years ago Hi Guys, I am trying to execute this function which should basically call another smart contract #[only_owner] #[endpoint(distributeEdition)] fn distribute_edition(&self) { let edition_to_distribute_mapper = self.edition_to_distribute(); if edition_to_distribute_mapper.i... Read more
1 guest7888912939c/ElrondDevelopers 2years ago Does anybody have an example how to provide ManagedVec argument via shell script using erdpy?
1 guest7888912939c/ElrondDevelopers 2years ago That means that I have to "initialize all the accounts" with the zero balances in order to properly test them?
1 guest7888912939c/ElrondDevelopers 2years ago Is there an easy way to remove a element from the ManagedVec?
1 guest7888912939c/ElrondDevelopers 2years ago So the only way is to "register the signed up users and execute the lottery manually" ?
1 guest7888912939c/ElrondDevelopers 2years ago Good Evening, is there a possibility to create a managed_buffer in tests outside BlockchainStateWrapper.execute* context?
1 guest7888912939c/ElrondDevelopers 2years ago Good morning Guys, is it safe to use #![feature(generic_associated_types)] in rust sc?
1 guest7888912939c/ElrondDevelopers 2years ago Hi! Rust-sc related question. Is possible to test callbacks using mandos integration tests?
2 guest7888912939c/ElrondDevelopers 2years ago Good Evening, rust sc related question. Is there a possibility provide a callback after async call as a simple closure directly? Or Do I need to define a function annotated with #[callback] and use that as following -> self.callbacks().my_callback()?
1 guest7888912939c/ElrondDevelopers 2years ago Hello, is it possible to pass callback as a raw closure instead of defining separate function with #[callback] annotation and then pointing to that function?
1 guest7888912939c/ElrondDevelopers 2years ago Good Morning Guys, can anybody explain me what that tweet means?