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

feat(starknet-core): initialize EthAddress from bytes #506

Merged
merged 7 commits into from
Dec 9, 2023

Conversation

glihm
Copy link
Contributor

@glihm glihm commented Nov 26, 2023

I am currently working with Ethereum data, and I didn't find an easy way to create an EthAddress from a buffer of bytes.

This PR aims at adding implementations to create an EthAddress from an array and a slice.

Please don't hesitate is there is already an easy to do so that I missed, I'll close the PR in that case.

Thanks for the consideration.

starknet-core/src/types/eth_address.rs Outdated Show resolved Hide resolved
starknet-core/src/types/eth_address.rs Outdated Show resolved Hide resolved
@xJonathanLEI xJonathanLEI merged commit a154e1d into xJonathanLEI:master Dec 9, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants