2 SrY7881514751c/ElrondDevelopers 2years ago Does gas any implication in speed of tx? Can I modify the gas price and gas limit to perform faster?
1 SrY7881514751c/ElrondDevelopers 2years ago I mean, I receive bytes[] from all json (not only data), and decode to utf8 getting that json. And is that json who has the field of "data" in base64, so, could I transform that data (in base64) to struct (whatever it is) with that?
1 SrY7881514751c/ElrondDevelopers 2years ago I'm back again. So, I think that I can do it getting bytes of b64 data field ("AqpyajTebJLkwy/wz8kgM4F...") and looking for "@" character to split and then decode with corresponding method, or isn't so easy?
2 SrY7881514751c/ElrondDevelopers 2years ago I receive the byte[] array (with loop until get all bytes of message) var buffer = new ArraySegment(new byte[2048]); result = await ws.ReceiveAsync(buffer, CancellationToken.None); Then I get the utf8 string using var reader = new StreamReader(ms, Encoding.UTF8); var message = await reader.... Read more
1 SrY7881514751c/ElrondDevelopers 2years ago I'm having problem getting data encoded from notifier-go swap subscription. The topics of "swap", and token I get correctly, but the amounts and "ok" not. In fact, data field cannt be decoded good. I'm reading data from socket in UTF-8, what can be wrong?
1 SrY7881514751c/ElrondDevelopers 2years ago Morning: I'm trying to setup a observer but when I start it its listening in localhost iface 127.0.0.1 and I need to access from other computer in the network, how can I change the iface to 0.0.0.0 to allow connecto from outside?
1 SrY7881514751c/ElrondDevelopers 2years ago Martin, I have executed the transaction-processor and from what I see, in both Hyperblock and Shardblock, the "onTransactionPending" event is never fired... I tried changing different variables: waitForFinalizedCrossShardSmartContractResults: false, notifyEmptyBlocks: true, includeCrossShardStarte... Read more
1 SrY7881514751c/ElrondDevelopers 2years ago Yep, we talked about it few days ago...The Api has a Cron task each second to ask for new transactions... Can't it overwhelm the api a bit and end up blocking me?
1 SrY7881514751c/ElrondDevelopers 2years ago Ok, so is there any other simple way to get notifications of some transactions? Like function is swap, or from an address, etc?
1 SrY7881514751c/ElrondDevelopers 2years ago Can notifier-go repository run connecting to external observer squad? Or I need to launch one of it?
1 SrY7881514751c/ElrondDevelopers 2years ago All right, everthing works fine in devnet... How can I check the cost of deployment in mainnet?
1 SrY7881514751c/ElrondDevelopers 2years ago Is there any way to call contract with erdpy and wait until the response?
1 SrY7881514751c/ElrondDevelopers 2years ago Another one, I'm calling getAmountOut from proxy of maiar pair. The returned value is an base64 encoded hex value that is the amount. I want to use this value to redirect again, how can I decode from base64 to hex in sc with rust? Is there implemented functions for that?
1 SrY7881514751c/ElrondDevelopers 2years ago I just deploy a super-easy-sc that performs the getAmountOut to any sc pair of maiar via proxy. When I call the function, I get that the "sync execution request is not in the same shard" and its because I use the "execute_on_dest_context()". Is there any way to perform a async_call() and return de ... Read more
1 SrY7881514751c/ElrondDevelopers 2years ago Does Maiar have a router contract to execute a getAmoutIn/Out through different pairs? Like egld-usdc-proteo-egld? Or should call several time getAmountIn/Out of each pair?
1 SrY7881514751c/ElrondDevelopers 2years ago I see in source code of api.elrond.com that they have a Cron for transaction.processor... That method is not realtime (each second ask for transactions)... Is observer squad + notifier method similar or its a "real real-time"?
1 SrY7881514751c/ElrondDevelopers 2years ago My own infrastucture is observer squad? A node of elrond?
1 SrY7881514751c/ElrondDevelopers 2years ago How can I solve use of undeclared crate or module `elrond_wasm_derive` trying to create a proxy to sc?
1 SrY7881514751c/ElrondDevelopers 2years ago Well, look at it like that... Why the limitation? If I run an instance of api can I remove that limitation?
1 SrY7881514751c/ElrondDevelopers 2years ago So there is no possibility to make unlimited paginated browser with api.elrond.com?
1 SrY7881514751c/ElrondDevelopers 2years ago Hi. Is there any way to go beyond 10000 back with api.elrond.com/transactions?
1 SrY7881514751c/ElrondDevelopers 2years ago Hey guys, which are the difference between gateway.elrond.com and api.elrond.com? do they have the same endpoints?
1 SrY7881514751c/ElrondDevelopers 2years ago Hey @IulianPascalau do u plan continue implementing https://github.com/ElrondNetwork/elrond-sdk-erdcsharp ?