Skip to content

Instantly share code, notes, and snippets.

@ToJen
Created November 15, 2017 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ToJen/65089b2274127bbbb11e2531b8f6c921 to your computer and use it in GitHub Desktop.
Save ToJen/65089b2274127bbbb11e2531b8f6c921 to your computer and use it in GitHub Desktop.
How to view Truffle/TestRPC accounts on MetaMask

If you want to access the accounts on MetaMask, you will need to do the following:

  • Log out of MetaMask: click on the hamburger menu and select Lock
  • Select Restore from seed phrase
  • Paste the mnemonic that was created when you ran truffle develop
  • Create a new password and confirm

Source: How can I import the accounts from truffle develop into MetaMask?

@ToJen
Copy link
Author

ToJen commented Jan 26, 2018

Actually, the mnemonic comes from testrpc. That can be pasted into MetaMask and the private keys can be copied with MetaMask's Import Account feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment