-
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
I believe many node payouts script use this
Читать полностью…
Yes, basic stuff in pywaves should still work. The more you dive deeper, the less will probably work.
Читать полностью…
PyWaves can be outdated in some parts, but it should work in basic stuff.
Читать полностью…
No, i believe noone uses this endpoint.
Sending tx with specific (your) generator can be tricky, because you have only lastBlock access at the blockchain level.
So you have to patch your node to increase probability of the operation, to not broadcast such transaction to other nodes.
In this case when your node will generate a block it will include the transaction.
Hi guys, to make a tx with your own node mined block, is this the process?
1. Set API key for your node, as explained here: https://docs.waves.tech/en/waves-node/node-api/api-key
2. Sign tx with your own API key, example:
curl -X POST "http://127.0.0.1:6869/transactions/sign"\
-H "X-API-Key: my-api-key"\
-H "Content-Type: application/json"\
-d '{"type":16,"sender":"3NAM4ijPv7rwFBqcshqv41CVhKoSK22nEoT","call":{"function":"deposit","args":[]},"payment":[{"amount":300000000,"assetId":null}],"dApp":"3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk","feeAssetId":null,"fee":500000}'
Can I somehow get this information from the Matcher API ? 🙏🙏
Читать полностью…
no, I remember to look somewhere in the composite part
Читать полностью…
I update settings every minute in my client
Читать полностью…
Could you please advise me where to find this setting for the given pairs? I haven't needed it for years, but now, with various combinations that may change frequently, I need it. I don't see such an endpoint in the matcher anywhere. Thank you
Читать полностью…
Good evening, may I ask if there has been any change in the fee structure on the WX Network exchange today? For some pairs, I see a "percent type" fee with 0% and a minimum fee of 0.1 WAVES equivalent, whereas it used to be 0.1% with a 0.01 minimum WAVES equivalent. Does the "dynamic type" still exist? I checked the documentation in the fees section, and it seems to me that it hasn't been updated. Is this an error or a permanent change? Thank you.
Читать полностью…
Yes and if you have some leasers in the future, the amount they staked, rewards etc. will make your Node balance look messy.
It might be better to keep your own $waves in a separate private wallet rather than in your Node wallet.
So I need to stake 1k to it?
Having it on my nose won't work?
Than this is my mistake
This was the image making me think, I did something wrong, since my address is not here under the generators😳🙈..
Читать полностью…
3. As far as I can see your rest API is public! http://198.7.117.21:6869
You may prefer to use it locally (127.0.0.1:6869) for security reasons.
Check doc
https://docs.waves.tech/en/waves-node/node-configuration#rest-api-settings
1. You don't need to have 1k $waves on your Node Wallet to run a generator Node but you need 1k staked $waves on the Node Wallet.
For security reasons or something Node owners generally use this way.
Ex;
Wallet_A, has the node program and is running and have 0 $waves (or any).
Wallet_B has 1k $waves.
Wallet_B stakes 1k $waves to Wallet_A and after 1k blocks Wallet_A becomes a generator Node.
Thx, I will check it out.
I have used it in the past with Blackbot grid bot
Afaik PyWaves still used but not waves-python.
Читать полностью…
With less probability (but without patching the node) you can monitor the moment when your node starts generating and catch this moment to broadcast such transaction fast enough to be included in a next microblock.
Читать полностью…
Other thing, I want to broadcast a tx with Python.
Waves docs, is not so clear. And Waves Lessons link is broken.
1. Pywaves is not supported anymore, right?
2 How to proceed?
a. I cloned waves-python
b. Requirements Python >=3.9, I have 3.12
c. pip install waves-python, done
d. ? I would have to add private key somewhere.
e. ? write and broadcast tx
You can use the code below as a reference:
- parse matcher settings: https://github.com/deemru/WavesKit/blob/7c3e536a8f8c9591e4738028aaea5735d14c1d08/src/WavesKit.php#L767
- set matcher fee based on these settings: https://github.com/deemru/WavesKit/blob/7c3e536a8f8c9591e4738028aaea5735d14c1d08/src/WavesKit.php#L879
But I cannot see percent setting, for example WAVES/USDTu pair has 0%, other pairs 0.1%
Читать полностью…
Field: "type": "spending", mean percent fee? There is no dynamic pair at whole exchange ?
Читать полностью…
I use 2 endpoints to cover all cases: /matcher/settings and /matcher/settings/rates
Читать полностью…
Probably they changed without prior notice, but it is quite possible
Читать полностью…
Thanks so much for the advice, I will switch it up soon!!:)
Читать полностью…
AHH ok great, just the staking is more secure
Читать полностью…
You will see your address there just after your Node generates its first block.
Читать полностью…
4. Stop restarting your Node :)
Читать полностью…
2. As Dmitrii explained staked amount of Waves is about 21,000,000 $waves according to https://wavesonchain.com/
And if your Node has 1k $waves your weekly expected block number is 0.48 like other Nodes which have 1k $waves on lease.
https://wavesonchain.com/weekly
So it's normal to wait about 2 weeks to generate your first block (it's a possibility it can be earlier or later!).
Everything looks okay to me , imo
Читать полностью…