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

manta.js: expose methods to get fee estimates for all private transaction types #55

Open
Kevingislason opened this issue Dec 19, 2022 · 0 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one P-high Priority: High T-fullstack Team: Relevant for the Fullstack Team

Comments

@Kevingislason
Copy link
Contributor

Currently, it's not possible to conveniently get accurate fee estimates using manta.js. Fee estimates require an extrinsic, and building a private transfer extrinsic requires a proof, which for end users requires approving a transaction through manta-signer. We can sidestep the need to interact with manta-signer by exposing a method to build "dummy" private transaction extrinsics, which have invalid but correctly shaped proofs / other parameters.

We could also create functionality to get public transfer fee estimates for convenience.

@Kevingislason Kevingislason added C-enhancement Category: An issue proposing an enhancement or a PR with one T-fullstack Team: Relevant for the Fullstack Team P-high Priority: High labels Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one P-high Priority: High T-fullstack Team: Relevant for the Fullstack Team
Projects
None yet
Development

No branches or pull requests

1 participant