Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soroban fee estimator #747

Open
kalepail opened this issue Mar 1, 2024 · 1 comment
Open

Soroban fee estimator #747

kalepail opened this issue Mar 1, 2024 · 1 comment

Comments

@kalepail
Copy link

kalepail commented Mar 1, 2024

As I've been spending a lot of time getting to understand fee calculations and am trying to understand our own explanation of the current state of fee affairs (stellar/stellar-docs#433) I'm finding myself really wanting a fee calculator where you can arbitrarily enter different ledger values and then see what the correlated current fee for all three networks would be.

So current ledger size at {x}, I want to write {y} bytes of temporary data, it would cost {z} XLM. So more of a knowledge tool than transaction simulation. Really aiming to help folks visualize how fees are calculated in different scenarios.

Basically just taking the limits table here https://soroban.stellar.org/docs/reference/resource-limits-fees#resource-limits and current fees table here https://soroban.stellar.org/docs/reference/resource-limits-fees#resource-fees and building a simple GUI out of it for fiddling with the what ifs of both.

@janewang
Copy link
Contributor

This is a good idea. However, I think some parts of the fees like inclusion fee may need to exist on the RPC first. Also simulateTransaction may need to some additional design work. We can then expose the data on Lab. Adding this for v2 but need more work on the various dependencies, in particular the RPC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog (Not Ready)
Development

No branches or pull requests

2 participants