waves_ride_dapps_dev | Unsorted

Telegram-канал waves_ride_dapps_dev - Waves Dev Jedi | RIDE for dApps

-

Only tech topics about Waves: dev tools, libs, RIDE, dApps, Nodes Github: http://tiny.cc/github-waves IDE: https://ide.wavesplatform.com/ Online Course: https://stepik.org/course/54415 StackOverflow: #wavesplatform Jobs: https://t.me/wavesridejobs

Subscribe to a channel

Waves Dev Jedi | RIDE for dApps

That isn't the point but enough to get me typing on stupid Telegram!

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Yes Neutrino oracle works fine

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Hello everyone!
Does anyone know how much money (USDT) will be necessary to convert Vires to Numeris?

Читать полностью…

Waves Dev Jedi | RIDE for dApps

I would not counted on that

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Hello. I have create a plugin for make payments with any wx.network token. Im going to finish to test it then I will sell it

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Something like this:

const progressbar = document.querySelector(".progress");

const changeProgress = (progress) => {
progressbar.style.width = `${progress}%`;
};

async function loadJson(url) {
let response = await fetch(url);

if (response.status == 200) {
let json = await response.json();
return json;
}

throw new Error(response.status);
}

async function loadAll() {
while(height > targetHeight) {
const json = await loadJson(baseUrl + (lastTx == null ? "" : "?after=" + lastTx));
var v0 = json[0];
var vv = v0.filter(function (e) { return (e.type === 16 && e.call.function === "stakeNFT") && e.height >= targetHeight; });
vvv = vvv.concat(vv);
lastTx = v0[v0.length - 1].id;
if (startHeight == 0) startHeight = v0[0].height;
height = v0[v0.length - 1].height;
changeProgress((startHeight - height) / (startHeight - targetHeight) * 100);
}
}

const targetHeight = 2639245;
const baseUrl = "https://nodes.wavesnodes.com/transactions/address/3PAETTtuW7aSiyKtn9GuML3RgtV1xdq1mQW/limit/1000";
var lastTx = null;
var vvv = [];
var startHeight = 0;
var height = 999999999;
loadAll();


vvv.sort((a, b) => a.timestamp - b.timestamp); // reverse the order

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Already removed (spam)

Читать полностью…

Waves Dev Jedi | RIDE for dApps

I though this api was caching all tx in a local db to allow such filtering isnt it?

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Under the hood it uses getAddressTransactions and then filter by function, so you can use own indexer based on this

Читать полностью…

Waves Dev Jedi | RIDE for dApps

if we fetch per 24 and transactions are above 100 for the day = starting missing some txs

Читать полностью…

Waves Dev Jedi | RIDE for dApps

You can do it here if its still updated i believe, filter tx by sender/dapp/function https://api.wavesplatform.com/v0/docs/

Читать полностью…

Waves Dev Jedi | RIDE for dApps

unit0 contract have a lot of transaction, will take a time and resources till filter them...

Читать полностью…

Waves Dev Jedi | RIDE for dApps

I use https://github.com/deemru/WavesReproduce to implement custom offchain logic based on contract calls

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Seems like someone gave us 20k already, thanks anyway!!

Читать полностью…

Waves Dev Jedi | RIDE for dApps

How many do you need?

Читать полностью…

Waves Dev Jedi | RIDE for dApps

I'm just sharing the fact that Waves Exchange has done it again. They said funds were safe but they lied and hackers hacked funds and nothing is going to be done to make it right!

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Hi guys,

do we still have a working oracle for Waves / USD price?

Читать полностью…

Waves Dev Jedi | RIDE for dApps

@cme_123

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Is https://waves-ide (dot) com/ safe and effective now?

Читать полностью…

Waves Dev Jedi | RIDE for dApps

You dont have to construct, you have it in the initial 100 response as:
"lastCursor": "NDg0Mjk1OTAwMDMyOjpkZXNj"

You pass NDg0Mjk1OTAwMDMyOjpkZXNj as after to get the next 100 and so on with new lastCursor

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Little help please. How do you construct the after="base64" query parameter to get the next 100 txs? I've tried btoa(response.json[length-1].id) in javascript but no joy. Thanks.

On another note, does someone know what the current number of micro-blocks per WAVES per block set at now?

Читать полностью…

Waves Dev Jedi | RIDE for dApps

@hawky_BAI ^

Читать полностью…

Waves Dev Jedi | RIDE for dApps

I mean this node endpoint
/transactions/address/{address}/limit/{limit}

It shows up to 1000 last with moving cursor, after that you parse each tx, only left invokeScriptTx with given name and other params

Читать полностью…

Waves Dev Jedi | RIDE for dApps

But there is cursor, you can get 100, then next 100 etc until last:

"lastCursor": "U2F0IEp1biAwMiAyMDE4IDE0OjAxOjQ1IEdNVCswMzAwIChNU0spOjozUHVrdnJzN2FwN1ZmQVlyTHlpZlNvZ0xYM0NuTVV4c0VFbmhuNk40WUVHWjo6YXNj",
"isLastPage": true

Читать полностью…

Waves Dev Jedi | RIDE for dApps

its limited to 100 transactions, we cant calculate how much specific function will be called

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Without controling rollbacks? Its hard to rely on such API, it can be used only as an UI

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Wont help, we need something like API that we fetch transaction by specific function

Читать полностью…

Waves Dev Jedi | RIDE for dApps

There is no option to able finder transactions from specific wallet by function right ? On nodes or Waves data API

Example:
https://w8.io/txs/g/3PKgN8rfmvF7hK7RWJbpvkh59e1pQkUzero_appendBlock_v2_16

Читать полностью…

Waves Dev Jedi | RIDE for dApps

I'm happy with whatever I can get, if someone has a lot 10-20k wouldn't be crazy 😂

Читать полностью…

Waves Dev Jedi | RIDE for dApps

Is there some place to request a lot of testnet WAVES at once for development? I keep running out 😝

Читать полностью…
Subscribe to a channel