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

Prepend curve type in address #210

Merged
20 commits merged into from
Feb 21, 2022

Conversation

imnik11
Copy link
Contributor

@imnik11 imnik11 commented Feb 3, 2022

Curve Type in the Transaction address

Curve Hash algorithm Address digest
SECP256K1 SHA2-256 0123...

ARCH Public Key

Curve Origin raw_key
1 byte 1 byte bytes

based on ARCHEthic specifications

Currently we need the ARCH public key and hash algo to generate address or by default hash algo is sha256

derive_address(public_key, algo)

Fix issue #161

@ghost ghost added the crypto Involve cryptography label Feb 16, 2022
@ghost ghost requested review from a user and removed request for a user February 17, 2022 09:33
@ghost ghost self-requested a review February 21, 2022 15:54
@ghost ghost merged commit 7382933 into archethic-foundation:master Feb 21, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Involve cryptography
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant