-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support send with offline signature. #7
Comments
Hey! Sorry for the long delay. Simplest solution is to create an |
I am open to see your helper function if you think it will provide value! |
Another question: If you are using the CLI to sign, why are you not using the CLI for generation of the tx and broadcasting it? |
I'll look into whether that makes sense for us -- we're building a front-end, and I assumed we'd want to do as much as possible on it, but it may also make sense to direct users to the CLI for the entire transaction. |
Currently there is no way to easily perform the following workflow:
Steps 1-3 are more or less doable, but there's no function to send a transaction signed offline.
The most obvious solution would be to refactor this piece into a separate "broadcastSignedTx()" function: https://github.com/luniehq/cosmos-api/blob/develop/src/send.js#L11 I can submit a PR if that would help. Thanks!
The text was updated successfully, but these errors were encountered: