Calculating the Costs of Resources on EOS: The EOS Resource Planner is Live!
Simple + Scalable == Powerful
EOS New York believes in building simple and scalable solutions. There are many fundamental tools that don’t exist yet that are needed. Block Producers should remember this when prioritizing labor and resources.
The EOS Resource Planner
What is the EOS Resource Planner? It’s an open source tool that answers very simple questions that every developer is going to be asking.
- What can I afford on the network with the tokens I have?
- How many tokens do I need to afford this amount of resources?
What Does This All Mean?
Let’s walk through each resource.
What is RAM?
RAM, is quick read/write access to a storage device. It’s required to store data on the blockchain and must be purchased. Utilizing the Bancor algorithm, the price of RAM is set by the EOSIO software and automatically adjusts up and down based on supply and demand. A 0.5% fee is applied to each sale and purchase of RAM and these funds are sent to the Worker Proposal Fund.
What is Network Bandwidth?
Network Bandwidth is the average rate of successful data transfer through a communication path. It is measured as a rolling average of consumption in bytes over rolling 3 day periods. Your network bandwidth used accumulates each time you send an action or transaction and slowly decreases when not being used. The more tokens you stake for net bandwidth the more you get to use. You can unstake at any time to reclaim your EOS tokens. No fee is applied and all EOS tokens are returned to the user.
What is CPU Bandwidth?
CPU Bandwidth is the rate at which data can be read from a storage device. It’s measured as the average of consumption in microseconds over rolling 3 day periods. CPU bandwidth used accumulates each time you send an action or transaction and slowly decreases when not being used. The longer your transaction runs i.e. the more complicated it is, the more CPU bandwidth it will consume. You can unstake at any time to reclaim your EOS tokens. No fee is applied and all EOS tokens are returned to the user.
Roadmap of Future Features
- Historical charting of metrics (resource costs, RAM utilization)
- Exact RAM cost calculation using the Bancor algorithm
- Benchmarking of common actions like creating an account
- Predictive estimates of future resource prices
- Paste contract code in to get the exact cost to deploy/run actions against it
- Average Chintai pricing (when available)
- Storage pricing (when available)
Please submit your suggestions here. EOS New York will follow up with a how-to which will detail how you can import the widgets we’ve created into your own site.