Skip to content

Latest commit

 

History

History
136 lines (76 loc) · 10.8 KB

create-and-fund-your-hedera-testnet-account.md

File metadata and controls

136 lines (76 loc) · 10.8 KB

Create and Fund Your Hedera Testnet Account

To interact with the Hedera network, you’ll need a testnet account funded with HBAR. Hedera accounts are essential for accessing the Hedera APIs and paying for transactions and queries with HBAR. This guide outlines three ways to create and fund your testnet account.

Explore the options below to choose the one that fits your needs :

Hedera Developer PortalLogin required. Provides the highest initial HBAR balance and advanced account management tools.testnet access.png#option-1-hedera-developer-portal
Hedera FaucetQuick and anonymous. Create a testnet account using an EVM wallet address.token-service-icon.png#option-2-hedera-faucet
HashPack WalletEasy to use. Offers simple account creation with a user-friendly wallet interface.hashpack-logo-white.png#option-3-hashpack-wallet

Comparison Table: Portal, Faucet, and HashPack

Use this table to compare the features of the Hedera Developer Portal, Anonymous Faucet, and HashPack Wallet. Find the option that best matches your workflow and project requirements.

FeatureDeveloper PortalHedera FaucetHashPack Wallet
Account CreationEmail signup/loginAnonymous signupEmail signup/login, recovery phrase, hardware wallet
Initial Balance1000 HBAR initial balance at account creation100 HBAR initial balance at account creation100 HBAR initial balance at account creation
Supported Key TypesED25519, ECDSAED25519, ECDSA ED25519, ECDSA
Dispense LimitUp to 1000 HBAR per dayUp to 100 HBAR per dayUp to 100 HBAR per day
User ExperienceBest suited for developers with some technical knowledgeSimple and anonymous, beginner-friendlyUser-friendly interface with tools for both beginners and advanced users
Additional FeaturesPersonal access tokens (API keys), manage accounts, store private keysHashPack and Blade wallet integrationIntegrated dApp browser, peer-to-peer NFT secure trade, Ledger integration

{% hint style="info" %} Note: You will need the private key to input in your .env file when completing the coding environment setup. Please store them where you can easily access them. {% endhint %}


Option 1: Hedera Developer Portal

The Hedera Developer Portal provides a managed interface for creating a testnet account, funding it with HBAR, and accessing advanced features like API key management.

Step 1: Sign Up and Create a Developer Portal Login

Visit the Hedera Developer Portal and follow the steps to sign up and create your testnet account.

Step 2: Receive HBAR and Review Account Details

Once your testnet account is created, it will automatically be funded with 1000 HBAR. From the portal dashboard, you can view your account ID and key pair. Copy and securely save your HEX-encoded private key to configure your development environment later.

{% hint style="info" %} The portal dashboard also serves as a central location where you can manage your account IDs and private keys, easily access the testnet HBAR, and unlock features like a personal access token (API key). {% endhint %}

{% hint style="warning" %} Portal Dispense Limit and Manual Refill

The Developer Portal has a daily refill limit of 1000 HBAR. If your account balance falls below this amount, you can manually top it up via the portal dashboard. Note that the refill only adds enough HBAR to restore your balance to 1000 HBAR—not beyond. {% endhint %}


Option 2: Hedera Faucet

The Hedera faucet allows you to quickly create a testnet account and fund it with 100 HBAR without creating a developer profile or login. It auto-creates a testnet account when you enter an EVM wallet address.

Step 1: Visit the Faucet

To use the faucet, first head to the faucet landing page.

Step 2: Testnet Account Creation

Enter your EVM wallet address in the 'Enter Wallet Address' field. This initiates an auto account creation flow that automatically creates a new Hedera Testnet account with 100 testnet HBAR.

{% hint style="danger" %} ⚠️ Warning

Export your private key from the wallet where you created the EVM address (e.g., MetaMask), as it’s required to configure your environment variables.

For detailed instructions on exporting your private key, refer to this how-to guide. Keep your private keys secure. Anyone with access to them can control your wallet and any funds.

We highly advise against using the private key of a wallet with any mainnet funds. {% endhint %}

EVM wallet address ➡ Hedera account ID

For reference, this is an example of an EVM wallet address:

0x00000000000000000000000000000000002cd37f

{% hint style="warning" %} Faucet Dispense Limit

This faucet can dispense a maximum of 100 HBAR every 24 hours. If you try to use the faucet before the timer runs out, you'll get the above error message. See the below image for the timer countdown and an example error message. {% endhint %}


Option 3: HashPack Wallet

The HashPack Wallet makes it easy to create and manage Hedera Testnet accounts through its web app, browser extension, or mobile app. Follow the steps below to create an ECDSA testnet account (ED25519 is also supported). This guide uses the HashPack web app for demonstration.

Create a New Account

Visit the HashPack web app and follow these steps:

  1. Click Create a New Wallet. and create a wallet password.
  2. Check the Testnet Account box below Advanced Creation.
  3. Choose an account creation method:
    • One-Click Login: Quick setup with basic options.
    • Advanced Creation: A customizable setup that includes choosing a seed phrase type.
      &#xNAN;(This guide uses the Advanced Creation method.)
  1. Select ECDSA Account to create an ECDSA testnet account.
  1. Verify your new account seed phrase and save your recovery keys.
  1. Give your new account a nickname (e.g., DINO SZN 🦖) and click Create Wallet.

Step 2: Fund New Account (optional)

When you create a testnet account through HashPack, it’s automatically funded with 100 HBAR. To add another 100 HBAR, use the Hedera Faucet for a total of 200 HBAR. Note that after the first day, faucet funding is limited to 100 HBAR per day.


Next Step: Set Up Your Environment

With your testnet account created and funded, you’re ready for the next step: setting up your development environment. Follow the next guide to configure your tools and start interacting with the Hedera network.

{% hint style="info" %} Have questions? Join the Hedera Discord and post them in the developer-general channel or ask on Stack Overflow. {% endhint %}