Skip to content

Fixed ether command on Ethereum Client APIs #13105

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

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Conversation

pglekshmi
Copy link
Contributor

Fixed ether command on Ethereum Client APIs

Description

Changed
ethers.providers.Web3Provider(window.ethereum) --> ethers.BrowserProvider(window.ethereum) &
Wallet.fromMnemonic(mnemonics) --> Wallet.fromPhrase(mnemonics)

Fixed ether command on Ethereum Client APIs
Changed ethers.providers.Web3Provider(window.ethereum) to 
    ethers.BrowserProvider(window.ethereum)  & also
    Wallet.fromMnemonic(mnemonics) to 
    Wallet.fromPhrase(mnemonics)
@github-actions github-actions bot added the content 🖋️ This involves copy additions or edits label Jun 4, 2024
Copy link

netlify bot commented Jun 4, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 3875f6b
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/667b3712f1e92900089416cc
😎 Deploy Preview https://deploy-preview-13105--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 42 (🔴 down 5 from production)
Accessibility: 92 (no change from production)
Best Practices: 89 (🔴 down 3 from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pglekshmi! Going to commit the adjustment to the comment then pull this in.

@@ -80,7 +80,7 @@ Here's an examples from Ethers
// Create a wallet instance from a mnemonic...
mnemonic =
"announce room limb pattern dry unit scale effort smooth jazz weasel alcohol"
walletMnemonic = Wallet.fromMnemonic(mnemonic)
walletMnemonic = Wallet.fromPhrase(mnemonic)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! (supporting docs here for reference)

@wackerow wackerow merged commit aecaec7 into ethereum:dev Jun 25, 2024
2 of 3 checks passed
Copy link

gitpoap-bot bot commented Jun 25, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

Be sure to join the Ethereum.org discord if you are interested in contributing further to the project or have any questions for the team.

GitPOAP: 2024 Ethereum.org Contributor:

GitPOAP: 2024 Ethereum.org Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@wackerow
Copy link
Member

@all-contributors please add @pglekshmi for maintenance

Copy link
Contributor

@wackerow

I've put up a pull request to add @pglekshmi! 🎉

@pglekshmi pglekshmi deleted the patch-1 branch July 1, 2024 08:16
@pglekshmi
Copy link
Contributor Author

Thank you for accepting pull request & looking forward to do more contributions

This was referenced Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants