I added the operator.wallet-features=“zksync” in the command line I am using to launch the docker, it still do get paid onto L1. Any idea why?

I never got back to that but even though I added the operator.wallet-features=“zksync” in the command line I am using to launch the docker, it still do get paid onto L1. Any idea why?

image

You must add it in the config.yaml to opt it for zksync. Putting it in the command line won’t work.

zksync got useless … to withdrawal to L1 its not more expensive then eth fees … whats the point to use it anymore ? eth fee now its 1$ and withdrawal from zksync is over 10$ … useless … i`ll opt out for sure

1 Like

This is not an environment variable. This option should be added either to the config.yaml (recommended): ZkSync Payments - Storj Docs or as an option --operator.wallet-features="zksync" to the end of the docker run command (after the image name, i.e. docker run <...> storjlabs/storagenode:latest --operator.wallet-features="zksync").

To receive your payout every time and not being affected by Minimum Payout Threshold on Ethereum.
The difference is not so great, as you propose:

$ curl -X POST -H 'Content-type: application/json'   -d '{
     "jsonrpc":"2.0",
     "id":1, "method": "get_tx_fee",
     "params": ["Withdraw", "0x80a52B7F26426d2b16578FC5f376c349F54772A7", "STORJ"]
     }'   https://api.zksync.io/jsrpc | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   321  100   171  100   150    339    297 --:--:-- --:--:-- --:--:--   635
{
  "jsonrpc": "2.0",
  "result": {
    "feeType": "Withdraw",
    "gasTxAmount": "53100",
    "gasPriceWei": "32106218933",
    "gasFee": "1206909217",
    "zkpFee": "519913",
    "totalFee": "1207000000"
  },
  "id": 1
}

So, 12.07 STORJ ~$13.93

30 Gwei its under 2$ mate … 25 Gwei | Ethereum Gas Tracker | Etherscan check yourself … and zksync its 12-14 $ to withdrawal … 6-7 times more right now ! thats to much

30 gwei
Base: 26 | Priority: 4
$1.97 | ~ 3 mins : 0 secs

My nodes are 26 months old, im here to stay, im just saying zksync doesnt help us, the node operators …

1 Like

You missed the point, the fee to transfer ERC20 tokens much more than fee to transfer ETH. So, not $2, but

Low Average High
ERC20 Transfer $6.31 $6.72 $8.96
1 Like

You are right man, but still 3 times cheaper then zksync its exactly 4$ just checked on my trust wallet !

With such fee the Minimum Payout Threshold on L1 will be ~$6.72 * 4 = $26.88
If your storagenode have not gather that much - you will not receive your outstanding payout.
With zkSync - you will, that’s the difference.

Plus - you can pay a withdrawal fee in STORJ, unlike regular transfer on L1, where you can pay fee only in ETH.

2 Likes

i`m getting around 100 storj monthly … wont be an issue for me then !

but anyway, more pain for the smaller node operators out there, i dont see a good option if exchanges dont start accepting L2 deposits … probably thats the goal of zksync …

1 Like

you are very right here ! thats a good thing …

All good now thanks! I added the zksync mention at the end of the docker run command.

It is coming. By the end of the year we should have direct connections between central exchanges and L2.

1 Like

how funny is this :)))

1 Like

How did you do this?
The command

$ curl -X POST -H 'Content-type: application/json'   -d '{
>      "jsonrpc":"2.0",
>      "id":1, "method": "get_tx_fee",
>      "params": ["Withdraw", "0x80a52B7F26426d2b16578FC5f376c349F54772A7", "STORJ"]
>      }'   https://api.zksync.io/jsrpc | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   321  100   171  100   150    810    710 --:--:-- --:--:-- --:--:--  1521
{
  "jsonrpc": "2.0",
  "result": {
    "feeType": "Withdraw",
    "gasTxAmount": "53100",
    "gasPriceWei": "42522059967",
    "gasFee": "1592428347",
    "zkpFee": "505605",
    "totalFee": "1592000000"
  },
  "id": 1
}

~ 15.9 STORJ

sorry for the late reply … i`m on vacation … that was a real fee … eth had a spike in the network fee … was like 100 $ and i logged inside zksync fast to see there to :))) … was like that for like 5 mins :slight_smile:

A suggestion, could you please update the Docker example when using zksync, here to include the quotes?

3 Likes

Hello @gegere ,
Welcome to the forum!

As far as I know, they are not mandatory, you can add them, if you wish.
Did you have problem with that?