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

Accounts Creation - 4.x rewrite #4577

Merged
merged 20 commits into from
Dec 6, 2021
Merged

Accounts Creation - 4.x rewrite #4577

merged 20 commits into from
Dec 6, 2021

Conversation

luu-alex
Copy link
Contributor

@luu-alex luu-alex commented Nov 24, 2021

Description

Closes: #4472
Created Account functions:

  • create
  • privateKeyToAccount

Added missing functions from utils:

  • randomHex

fixed toChecksum function

Additional details:

Breaking changes, create doesn't take in a parameter anymore, due to the switch in libraries (from eth-lib to ethereum-cryptography for security purposes)
former library we used to generate privateKeys

@luu-alex luu-alex marked this pull request as ready for review December 1, 2021 17:39
packages/web3-eth-accounts/package.json Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/types.ts Outdated Show resolved Hide resolved
packages/web3-eth-accounts/test/unit/account.test.ts Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Show resolved Hide resolved
packages/web3-eth-accounts/src/account.ts Outdated Show resolved Hide resolved
packages/web3-eth-accounts/src/errors.ts Outdated Show resolved Hide resolved
@luu-alex luu-alex merged commit 9d7ef2f into 4.x Dec 6, 2021
@luu-alex luu-alex deleted the al/account-creation-4472 branch December 6, 2021 19:43
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.

4 participants