-
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
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
Читать полностью…
mayby someome can rewrite the code, I can't
Читать полностью…
there are ride limitations you cannot overcome
Читать полностью…
https://classic.wavesexplorer.com/stagenet/tx/B14UjrpTLG2ezoemYR52Q2WhbH2V2s1o3vwFhWVxxwwt
https://classic.wavesexplorer.com/testnet/tx/G7sPAPxBd8SypsNcK97T5B6aPNEvch9esk2CkggkJSrX
Could someone help, please?
Читать полностью…
raspiberry probably to light
Читать полностью…
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?
Читать полностью…
It's been down for a while. Just ask here if you need some waves on testnet/stagenet.
Читать полностью…
Hi guys!
Please, how can I get Waves faucet for testnet/stagenet wallets below?
testnet: 3MvAcjTmYPJciBMAQcnGsdhzXAtiof4bQFK
stagenet: 3McXaWszJhm7SZzw9NNhiG6SsRibX5m2fQ3
3NBxxMMvJ4Mu9rRVbNzy24mc5dnWfUrb45o - 4-5 if possible because I will use this address to test all the dapps I create before going to mainnet.
Читать полностью…
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)
}
what you can do is instead of string base58 addresses use bytevectors (drop first 2 and last 4 bytes)
Читать полностью…
"you cannot" also means "no one can"
Читать полностью…
can't reduce the args because the proposal would lose its purpose.
The distribution requires including all eligible nodes
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.
Does anyone know addresses of Unilend contracts and source code?
Читать полностью…
might be cool. are they a lot of trouble to run?
Читать полностью…
how about repos for the downloads and tutorials
Читать полностью…
those are hosting providers
Читать полностью…
should I use AWS or could a raspiberry pi do the trick?
Читать полностью…
Thanks Alexey!
Please, could you provide some waves for these wallets?
testnet: 3MvAcjTmYPJciBMAQcnGsdhzXAtiof4bQFK
stagenet: 3McXaWszJhm7SZzw9NNhiG6SsRibX5m2fQ3
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.
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
Читать полностью…