-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
from parameter should accept a wallet #2825
Labels
Comments
Thanks for proposing this feature. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment, otherwise this issue will be closed in 7 days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a feature request. Anytime we accept an address as a "from" parameter, it would be handy if we could pass it a wallet object instead of just an address. I realize the from address is used as a lookup into a currently decrypted wallet. But the place to decrypt should be during whatever procedure we're trying to pass in the address. Otherwise we have to decrypt the wallet before calling the function and this is putting it back into the global space again.
The below is a really bad idea, but is presently the only way to handle it.
FYI the "this.pinPrompt" prompts a user for a password, decrypts the wallet and hands back the decrypted wallet.
It would be far better if I could just hand in "wallet" and perhaps the password.
The text was updated successfully, but these errors were encountered: