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

There is also "solana way" - first, you prepare wallet with all the nodes configs saved to storage and next you create the transaction that will use config address above and execute everything

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

Waves Dev Jedi | RIDE for dApps

it's beyond my strength

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

Waves Dev Jedi | RIDE for dApps

mayby someome can rewrite the code, I can't

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

Waves Dev Jedi | RIDE for dApps

there are ride limitations you cannot overcome

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

Waves Dev Jedi | RIDE for dApps

just reduce your args size

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

Waves Dev Jedi | RIDE for dApps

https://classic.wavesexplorer.com/stagenet/tx/B14UjrpTLG2ezoemYR52Q2WhbH2V2s1o3vwFhWVxxwwt
https://classic.wavesexplorer.com/testnet/tx/G7sPAPxBd8SypsNcK97T5B6aPNEvch9esk2CkggkJSrX

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

Waves Dev Jedi | RIDE for dApps

Could someone help, please?

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

Waves Dev Jedi | RIDE for dApps

does Arkimals have one?

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

Waves Dev Jedi | RIDE for dApps

yeah hetzer or contabo

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

Waves Dev Jedi | RIDE for dApps

raspiberry probably to light

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

Waves Dev Jedi | RIDE for dApps

Is there a resource I can find that is the best practices for setting up a testnet node with (need 20k waves leased to it) with a reliable facet?

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

Waves Dev Jedi | RIDE for dApps

It's been down for a while. Just ask here if you need some waves on testnet/stagenet.

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

Waves Dev Jedi | RIDE for dApps

Hi guys!
Please, how can I get Waves faucet for testnet/stagenet wallets below?
testnet: 3MvAcjTmYPJciBMAQcnGsdhzXAtiof4bQFK
stagenet: 3McXaWszJhm7SZzw9NNhiG6SsRibX5m2fQ3

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

Waves Dev Jedi | RIDE for dApps

We send you 1k, go wild

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

Waves Dev Jedi | RIDE for dApps

3NBxxMMvJ4Mu9rRVbNzy24mc5dnWfUrb45o - 4-5 if possible because I will use this address to test all the dapps I create before going to mainnet.

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

Waves Dev Jedi | RIDE for dApps

If this helps: (Claude's two cents)

This is a great edge case to add to the waves-pwrdao-expert skill — error 199 is going to bite anyone trying to pass governance proposals with large datasets.

A raw WAVES address is 26 bytes:

🔅1 byte: version
🔅1 byte: chainId
🔅20 bytes: public key hash ← the only part that matters
🔅 4 bytes: checksum

Drop the first 2 and last 4 bytes → 20 bytes per address. Plus 1 byte per weight = 21 bytes per node × 61 = 1281 bytes. That saves ~1100 bytes off the arg.

QUESTION: Does setLeaseNodes already accepts a ByteVector arg?

Assumption YES

📝 RIDE Decode Pattern
If you're proposing a contract update, here's how the contract would read the packed format:

# Each node is 21 bytes: [20 bytes addr hash][1 byte weight]
# nodeBytes is the ByteVector arg
func parseNodeAt(nodeBytes: ByteVector, index: Int) = {
let offset = index * 21
let addrHash = nodeBytes.drop(offset).take(20)
let weight = nodeBytes.drop(offset + 20).take(1).toInt()
# Reconstruct address: version(0x01) + chainId(0x57) + hash(20) + checksum
let prefix = base58'3' # version + chainId for mainnet
# Use Address(addrHash) with proper prefix in RIDE v5+
(addrHash, weight)
}

IF NOT, THEN
This pattern only works if the setLeaseNodes contract function is updated to accept ByteVector input. The WavesDAO contract maintainers would need to update the function signature. Alternatively, if the contract already supports binary args, use the encoded value above directly.

================================

Even with ByteVector encoding, you get to ~5246 bytes — still 126 bytes over. You need to also either trim the proposal description or drop 6 marginal nodes (each saves 21 bytes exactly).

Fallback: two proposals (nodes 1–31 and 32–61) that both pass independently — politically messier but always works within byte limits

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

Waves Dev Jedi | RIDE for dApps

what you can do is instead of string base58 addresses use bytevectors (drop first 2 and last 4 bytes)

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

Waves Dev Jedi | RIDE for dApps

"you cannot" also means "no one can"

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

Waves Dev Jedi | RIDE for dApps

can't reduce the args because the proposal would lose its purpose.
The distribution requires including all eligible nodes

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

Waves Dev Jedi | RIDE for dApps

Someone should create proposal opposite to "Lease Idle WAVES to Top 10 Nodes" because it's stupid to give the largest pools even more forging power. I tried to create my own but got the problem with "Create DAO proposal
Proposal transaction failed.
{"error":199,"message":"InvokeScriptTransaction bytes length = 6405 exceeds limit = 5120"}.

And have no idea how to fix it.
My code was:

{
"type": 16,
"version": 2,
"senderPublicKey": "******",
"dApp": "3PEwRcYNAUtoFvKpBhKoiwajnZfdoDR6h4h",
"call": {
"function": "setLeaseNodes",
"args": [
{
"type": "string",
"value":
3PA1KvFfq9VuJjg45p2ytGgaNjrgnLSgf4r=20|3P3RZeHi4LTjpZdpw7kmkVSbQ84qDfrVy8G=23|3PLp1QsFxukK5nnTBYHAqjz9duWMriDkHeT=26|3PDETXtiaErZncMduS8h9G6aopcjT7wheqj=29|3PCrRrwHEjGXFjYtXDsNv78f3Ch3CH3p6V1=32|3PGobRuQzBY9VbeKLaZqrcQtW26wrE9jFm7=35|3P98uUFYSP3jRr76kUAeW96Vb2m4LZhrAAf=38|3P23fi1qfVw6RVDn4CH2a5nNouEtWNQ4THs=41 ... etc in total 61 nodes.

Nodes included in the distribution must:
have forged at least one block in the last 30 days.
Nodes with smaller generating balances receive higher weights.
Nodes with larger balances receive smaller weights.

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

Waves Dev Jedi | RIDE for dApps

Does anyone know addresses of Unilend contracts and source code?

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

Waves Dev Jedi | RIDE for dApps

might be cool. are they a lot of trouble to run?

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

Waves Dev Jedi | RIDE for dApps

how about repos for the downloads and tutorials

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

Waves Dev Jedi | RIDE for dApps

those are hosting providers

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

Waves Dev Jedi | RIDE for dApps

should I use AWS or could a raspiberry pi do the trick?

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

Waves Dev Jedi | RIDE for dApps

Thanks Alexey!

Please, could you provide some waves for these wallets?

testnet: 3MvAcjTmYPJciBMAQcnGsdhzXAtiof4bQFK
stagenet: 3McXaWszJhm7SZzw9NNhiG6SsRibX5m2fQ3

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

Waves Dev Jedi | RIDE for dApps

I'm trying to request WAVES Faucet on Waves Explorer, but I got an error on the developer console:

Access to fetch at 'https://waves-faucet-testnet.wvservices.com/faucet/payment' from origin 'https://wavesexplorer.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

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

Waves Dev Jedi | RIDE for dApps

Thank you. Very appreciated

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

Waves Dev Jedi | RIDE for dApps

I messed up and need more testnet tokens. I invoked a script on the last testnet account that locked me out of using the tokens - 3Mw5LPqnMjMsafPqDMXMk8HoDMK4sghGMQp

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

Waves Dev Jedi | RIDE for dApps

How many do you need?

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