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

Access PublicKeys During Construction #45

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

patrick-ogrady
Copy link
Contributor

@patrick-ogrady patrick-ogrady commented Aug 31, 2020

Closes: #43
Additional Context: https://community.rosetta-api.org/t/any-way-to-get-public-key-from-signer-package-before-combine/189

Motivation

In some blockchains, transaction construction requires the PublicKey of some AccountIdentifiers present in a transaction.

Changes

This PR allows a Rosetta implementation to request the PublicKey of any number of AccountIdentifiers in the /construction/preprocess response. The caller can then provide the requested PublicKeys in a call to /construction/payloads so that construction can be completed.

@patrick-ogrady patrick-ogrady changed the title Preprocess PublicKeys Access PublicKeys During Construction Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Need a way to derive the public key from an address - e.g. /construction/address
2 participants