Basic income storage price calculator #1

Closed
opened 2025-12-28 17:10:22 +00:00 by sami · 5 comments
Owner

Originally created by @alexvanin on GitHub (Jun 30, 2022).

Originally assigned to: @mike-petrov on GitHub.

I liked the way it looks in https://neo.org/ (NEO & Gas calculator).

Originally created by @alexvanin on GitHub (Jun 30, 2022). Originally assigned to: @mike-petrov on GitHub. I liked the way it looks in https://neo.org/ (NEO & Gas calculator).
sami closed this issue 2025-12-28 17:10:22 +00:00
Author
Owner

@alexvanin commented on GitHub (Dec 1, 2022):

image

@alexvanin commented on GitHub (Dec 1, 2022): ![image](https://user-images.githubusercontent.com/6323066/205033445-a1ccd003-c744-4ebe-aef8-c920e1645926.png)
Author
Owner

@cthulhu-rider commented on GitHub (Sep 14, 2023):

according to https://fs.neo.org/hosting/, we should to support network settings' requests in https://github.com/nspcc-dev/neofs-http-gw/ to implement this feature

@cthulhu-rider commented on GitHub (Sep 14, 2023): according to https://fs.neo.org/hosting/, we should to support network settings' requests in https://github.com/nspcc-dev/neofs-http-gw/ to implement this feature
Author
Owner

@roman-khimov commented on GitHub (Sep 14, 2023):

My suggestion is to have these parameters hardcoded (we haven't ever changed them yet) for now and leave an issue to resolve it in future. In this bright and prosperous future we'll also display other fee parameters like the network page on https://governance.neo.org/

@roman-khimov commented on GitHub (Sep 14, 2023): My suggestion is to have these parameters hardcoded (we haven't ever changed them yet) for now and leave an issue to resolve it in future. In this bright and prosperous future we'll also display other fee parameters like the network page on https://governance.neo.org/
Author
Owner

@cthulhu-rider commented on GitHub (Sep 14, 2023):

lets assume values have been already received somehow

e.g. from MainNet:

$ neofs-cli -r st1.storage.fs.neo.org:8080 netmap netinfo

you need:

  • Storage price (P)
  • Epoch duration (E)
  • Time per block (T)

then GAS price for N GB/month will be:

N x P  x (30 x 24 x 60 x 60) / E / T  / 10^12
@cthulhu-rider commented on GitHub (Sep 14, 2023): lets assume values have been already received somehow e.g. from MainNet: ``` $ neofs-cli -r st1.storage.fs.neo.org:8080 netmap netinfo ``` you need: * `Storage price` (`P`) * `Epoch duration` (`E`) * `Time per block` (`T`) then GAS price for `N` GB/month will be: ``` N x P x (30 x 24 x 60 x 60) / E / T / 10^12 ```
Author
Owner

@roman-khimov commented on GitHub (Sep 15, 2023):

Mainnet:

Epoch: 17946
Network magic: [net 0x572dfa5] 91414437
Time per block: 15s
NeoFS network configuration (system)
  Audit fee: 50000000
  Storage price: 100000
  Container fee: 1000000000
  Container alias fee: 200
  EigenTrust alpha: 0.1
  Number of EigenTrust iterations: 4
  Epoch duration: 240
  Inner Ring candidate fee: 10000000000
  Maximum object size: 67108864
  Withdrawal fee: 100000000
  Homomorphic hashing disabled: false
  Maintenance mode allowed: true
NeoFS network configuration (other)

Testnet:

Epoch: 8745
Network magic: [net 0x2bdb2b5f] 735783775
Time per block: 15s
NeoFS network configuration (system)
  Audit fee: 10000
  Storage price: 100000000
  Container fee: 1000000000
  Container alias fee: 90000000000
  EigenTrust alpha: 0.1
  Number of EigenTrust iterations: 4
  Epoch duration: 240
  Inner Ring candidate fee: 10000000000
  Maximum object size: 67108864
  Withdrawal fee: 100000000
  Homomorphic hashing disabled: false
  Maintenance mode allowed: false
NeoFS network configuration (other)
@roman-khimov commented on GitHub (Sep 15, 2023): Mainnet: ``` Epoch: 17946 Network magic: [net 0x572dfa5] 91414437 Time per block: 15s NeoFS network configuration (system) Audit fee: 50000000 Storage price: 100000 Container fee: 1000000000 Container alias fee: 200 EigenTrust alpha: 0.1 Number of EigenTrust iterations: 4 Epoch duration: 240 Inner Ring candidate fee: 10000000000 Maximum object size: 67108864 Withdrawal fee: 100000000 Homomorphic hashing disabled: false Maintenance mode allowed: true NeoFS network configuration (other) ``` Testnet: ``` Epoch: 8745 Network magic: [net 0x2bdb2b5f] 735783775 Time per block: 15s NeoFS network configuration (system) Audit fee: 10000 Storage price: 100000000 Container fee: 1000000000 Container alias fee: 90000000000 EigenTrust alpha: 0.1 Number of EigenTrust iterations: 4 Epoch duration: 240 Inner Ring candidate fee: 10000000000 Maximum object size: 67108864 Withdrawal fee: 100000000 Homomorphic hashing disabled: false Maintenance mode allowed: false NeoFS network configuration (other) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/fs-neo-org#1
No description provided.