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

Generate sub-sub-commands for the transaction factories #325

Open
andreibancioiu opened this issue Aug 31, 2023 · 0 comments
Open

Generate sub-sub-commands for the transaction factories #325

andreibancioiu opened this issue Aug 31, 2023 · 0 comments
Labels
task Task

Comments

@andreibancioiu
Copy link
Contributor

andreibancioiu commented Aug 31, 2023

Existing transaction factories:

If possible, it would be nice to add CLI support for creating transactions using the intent factories.

Dynamically get functions of intents factory class, dynamically get arguments of factory functions, generate sub-commands for the argsParser etc.

In the end, we could have something like:

mxpy tx-factory (or something like that) delegation new_delegation_contract --total_delegation_cap=... --service_fee=... --pem=... --proxy=... --send

References (maybe useful, maybe not):

@andreibancioiu andreibancioiu added the task Task label Aug 31, 2023
@andreibancioiu andreibancioiu changed the title Dynamically generate sub-commands for the transaction intent factories Dynamically generate sub-sub-commands for the transaction intent factories Aug 31, 2023
@andreibancioiu andreibancioiu changed the title Dynamically generate sub-sub-commands for the transaction intent factories Generate sub-sub-commands for the transaction factories Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Task
Projects
None yet
Development

No branches or pull requests

1 participant