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

[FR] Add ability to use "send-transaction" endpoint to fat-cli #44

Open
AdamSLevy opened this issue Oct 9, 2019 · 0 comments
Open

[FR] Add ability to use "send-transaction" endpoint to fat-cli #44

AdamSLevy opened this issue Oct 9, 2019 · 0 comments
Labels
enhancement New feature or request fat-cli good first issue Good for newcomers

Comments

@AdamSLevy
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently fat-cli only submits entries directly to the factom blockchain. It does not allow a user to make use of the "send-transaction" fatd API method.

Describe the solution you'd like
When the user does not supply an --ecadr argument to fat-cli transact ..., attempt to use the "send-transaction" end point. When the user supplies an --ecadr argument, submit the entry directly to factomd, as is currently implemented. Additionally, allow the --curl option to output the proper curl command to submit to the tx to fatd, instead of factomd, if --ecadr is not supplied.

Additional context
The changes should be made to cli/cmd/transact*.go

@AdamSLevy AdamSLevy added enhancement New feature or request good first issue Good for newcomers fat-cli labels Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fat-cli good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant