Join our
Discord!
LogoLogo
SupraScan ExplorerStarKey WalletDiscord
EVM
  • Network
  • Oracles
  • Automation
  • SupraNova
  • Guides
EVM
  • Overview
  • Getting Started
    • Remix IDE
      • Fund Your Wallet
      • Connect StarKey Wallet to Remix
      • Guide to Deploy Smart Contract
    • Hardhat
      • Getting Private Key from StarKey
      • Create Hardhat Project
      • Write Smart Contract
      • Deploying Smart Contract
    • Foundry
      • Getting Private Key from StarKey
      • Create Foundry Project
      • Write Smart Contract
      • Deploying Smart Contract
    • Your First Solidity Contract
  • Network Information
Powered by GitBook
On this page
Edit on GitHub
  1. Getting Started
  2. Foundry

Getting Private Key from StarKey

To use your StarKey wallet with Hardhat or Foundry, you'll need your Ethereum private key.

PreviousFoundryNextCreate Foundry Project

Steps to Export Your Private Key:

  1. Open your StarKey Wallet and go to Settings

  2. Navigate to Security → Recovery phrase & keys

  3. Select Private Key, then enter your password to reveal it

  4. Copy the Ethereum private key — you'll use this in your Hardhat or Foundry config files.

Important: Never share your private key. Store it securely — anyone with this key has full control over your wallet.