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

https://x.com/vlzhr/status/1935435169424380126

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

Waves Dev Jedi | RIDE for dApps

yes, it says about the LP asset and not having a directory. However I added the right in lp-accounts.file-path="/etc/waves-dex/lp"

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

Waves Dev Jedi | RIDE for dApps

Waves and private chain nodes are already running. I'm just having trouble running the matcher for Waves

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

Waves Dev Jedi | RIDE for dApps

waves.conf to matcher

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

Waves Dev Jedi | RIDE for dApps

I made some changes, I managed to run it (I think). This error appears in systemctl waves-dex:

Jun 23 23:19:08 vmi2624324 systemd[1]: waves-dex.service: Failed with result 'exit-code'.
Jun 23 23:19:08 vmi2624324 systemd[1]: waves-dex.service: Consumed 27.936s CPU time.
Jun 23 23:20:09 vmi2624324 systemd[1]: waves-dex.service: Scheduled restart job, restart counter is at 58.
Jun 23 23:20:09 vmi2624324 systemd[1]: Started waves-dex.service - DEX.
Jun 23 23:20:10 vmi2624324 waves-dex[562397]: OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpa>
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: Exception in thread "main" java.io.FileNotFoundException: /path/to/lp/accounts (No such file or directory)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at java.base/java.io.FileInputStream.open0(Native Method)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at com.wavesplatform.dex.settings.LpAccountsSettings.publicKeys$lzycompute(LpAccountsSettings.scala:1>
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at com.wavesplatform.dex.settings.LpAccountsSettings.publicKeys(LpAccountsSettings.scala:11)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at com.wavesplatform.dex.Application$.main(Application.scala:786)
Jun 23 23:20:15 vmi2624324 waves-dex[562397]: at com.wavesplatform.dex.Application.main(Application.scala)
Jun 23 23:20:15 vmi2624324 systemd[1]: waves-dex.service: Main process exited, code=exited, status=1/FAILURE

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

Waves Dev Jedi | RIDE for dApps

Run your private net on 1.4.13, you do not need mainnet to do testing stuff.

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

Waves Dev Jedi | RIDE for dApps

How does waves.exchange maintain their matcher with the current node?

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

Waves Dev Jedi | RIDE for dApps

Okay, so how would I install a matcher on the current version 1.5.10 of the nodes?

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

Waves Dev Jedi | RIDE for dApps

Now this error is appearing when starting the node with version 1.4.13 and connecting to other nodes:

ERROR c.wavesplatform.package$ - GenericError(UNIMPLEMENTED FEATURES 20, 19 HAVE BEEN ACTIVATED IN THE BLOCKCHAIN, PLEASE UPDATE THE NODE IMMEDIATELY)

How do I prevent this node from accepting this type of transaction? It is not a validator/miner, it is only for listening

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

Waves Dev Jedi | RIDE for dApps

Just to add to this, it is what i was using in SIGN Art so artist could create an account even with an empty waves account, the registerUser method was as below:

func registerUser(name: String, description: String, thumb: String, social: String, royalties: Int, pubKey: String) = {


So basically you needed to use the dapp public key in the transaction instead of the one of the signing account and to pass the signing account public key as argument to sigverify from there.

The asString() was like this:

func asString(bv: Boolean|ByteVector|Int|List[Boolean|ByteVector|Int|String]|String) = {
match (bv) {
case bv0:String => bv0
case _ => throw("Sponsored Public Key String expected")
}
}


Have to be carefull with it though i think and make sure it cannot be exploited :)

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

Waves Dev Jedi | RIDE for dApps

Also maybe you've read this:
https://docs.waves.tech/en/blockchain/waves-protocol/sponsored-fee

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

Waves Dev Jedi | RIDE for dApps

Hi guys, I am looking for the example RIDE code to claim free WAVES without paying gas fee (fee is paid by SC). I remember reading it, but I can't find it.

Goal would be to pay for WavesBridge unlock invoke transaction, so user can bridge to Waves without having WAVES.

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

Waves Dev Jedi | RIDE for dApps

yes, I installed gRPC, tested it with grpcurl and it works. It just doesn't work with RPC dex request

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

Waves Dev Jedi | RIDE for dApps

@hawky_BAI

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

Waves Dev Jedi | RIDE for dApps

node:

{
...
miner {
enable = false
interval-after-last-block-then-generation-is-allowed = 999d
max-transactions-in-micro-block = 500
micro-block-interval = 1500ms
min-micro-block-age = 0s
quorum = 0
}
extensions = [
"com.wavesplatform.api.grpc.GRPCServerExtension",
"com.wavesplatform.events.BlockchainUpdates"
]
grpc {
host = "127.0.0.1"
port = 6887
}
blockchain-updates {
grpc {
host = "127.0.0.1"
port = 6881
}
}
dex {
waves-blockchain-client {
blockchain-updates-grpc {
target = "127.0.0.1:6881"
}
}
}
}

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

Waves Dev Jedi | RIDE for dApps

People, what about hack on keeper wallet? I just have read the article about it https://cryptoslate.com/north-korean-dev-hijacks-dormant-waves-repositories-slips-credential-stealing-code-in-wallet-updates/.
Commits from the AhegaoXXX are still on. Are you going to do something with this?

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

Waves Dev Jedi | RIDE for dApps

Error in your log is pretty clear.

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

Waves Dev Jedi | RIDE for dApps

I'm running a node for private chain to test my project. And I need to run a node for the Waves chain with the matcher

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

Waves Dev Jedi | RIDE for dApps

waves.dex {
root-directory = "/var/lib/waves-dex"

address-scheme-character = "W" # T - testnet, D - devnet, S - stagenet
lp-accounts.file-path="/etc/waves-dex/lp"

account-storage {
in-mem.seed-in-base-64 = ""
}

rest-api {
# address = "0.0.0.0" # uncomment this line to accept connections from any host
port = 6886
api-key-hash = ""
}
grpc {
enable = yes
address = "127.0.0.1"
port = 6887
}

waves-blockchain-client {
# Client for com.wavesplatform.dex.grpc.integration.DEXExtension
grpc.target = "127.0.0.1:6887" # Replace host and port. 6887 is a default port.

# Client for com.wavesplatform.events.BlockchainUpdates
blockchain-updates-grpc.target = "127.0.0.1:6881" # Replace host and port. 6881 is a default port.
}
}

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

Waves Dev Jedi | RIDE for dApps

I want to run a matcher on the mainnet

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

Waves Dev Jedi | RIDE for dApps

I'm a little out of date with Waves, I've been following it since 2017, and I kept following it until 2022 when the market collapsed and bitcoin went to $17,000. So I'm quite out of date with these current technical details. I saw that Waves has advanced a lot in development, I just don't understand what happened for it not to be worth $100 now.

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

Waves Dev Jedi | RIDE for dApps

Would there be any problem changing wavesNode.sbt from

Global / wavesNodeVersion := "1.4.13"

to

Global / wavesNodeVersion := "1.5.10"

?

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

Waves Dev Jedi | RIDE for dApps

Version 1.4.x is outdated, it will fail to accept modern blocks and end up on fork of other outdated nodes.

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

Waves Dev Jedi | RIDE for dApps

Thanks! I will check out this method

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

Waves Dev Jedi | RIDE for dApps

https://wavescap.com/blog/let-dapp-pay-total-transaction-fee-of-user/

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

Waves Dev Jedi | RIDE for dApps

No, only bots who got WAVES can do it. So they could pay fees and return them by SC in this call (and maybe some incentive bonus).

Calling SC without fee is impossible.

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

Waves Dev Jedi | RIDE for dApps

matcher 2.4.21 should use node 1.4.13 it seems: https://github.com/wavesplatform/matcher/blob/e57776b0018012fef6036a5f1702e278cddfd086/wavesNode.sbt#L3

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

Waves Dev Jedi | RIDE for dApps

Have you tried to install grpc alone? Make that working first, then add the matcher...

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

Waves Dev Jedi | RIDE for dApps

Can someone please help me? I've been at this all day

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

Waves Dev Jedi | RIDE for dApps

waves dex - main.conf:

waves.dex {
root-directory = "/var/lib/waves-dex"

address-scheme-character = "G" # T - testnet, D - devnet, S - stagenet
lp-accounts.file-path="/etc/waves-dex/lp"

account-storage {
in-mem.seed-in-base-64 = "{seed}"
}

rest-api {
# address = "0.0.0.0" # uncomment this line to accept connections from any host
port = 6886
api-key-hash = ""
}
grpc {
enable = yes
address = "127.0.0.1"
port = 6887
}

waves-blockchain-client {
# Client for com.wavesplatform.dex.grpc.integration.DEXExtension
grpc.target = "127.0.0.1:6887" # Replace host and port. 6887 is a default port.

# Client for com.wavesplatform.events.BlockchainUpdates
blockchain-updates-grpc.target = "127.0.0.1:6881" # Replace host and port. 6881 is a default port.
}
}

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