Your complete toolkit for building on Hedera - from smart contracts to SDK development, all within VS Code.
The Hedera VSCode Extension brings the entire Hedera development experience into your editor. Whether you're writing smart contracts, integrating SDKs across 8 languages, or exploring the Mirror Node API - it's all here, without switching contexts.
Perfect for:
- Smart contract developers using Hardhat or Foundry
- SDK developers working with Hedera's multi-language SDKs
- Teams building dApps that need quick network testing
- Anyone tired of jumping between tools to deploy, debug, and verify
- One-click project creation from official Hedera templates (Hardhat, Foundry, React DApp, Upgradeable Contracts)
- Instant scaffolding with working examples, latest dependencies, and network configs
- Auto-detection of existing Hardhat/Foundry projects
- Secure account storage with ECDSA/ED25519 support
- Quick network switching (testnet, mainnet, previewnet, custom)
- Live balance refresh and EVM address display
- One-click operator account setup
- Auto-sync to
.envfiles for seamless CI/CD
- Compile contracts directly from the sidebar (Hardhat/Foundry detection)
- Deploy with one click - choose network, customize gas, track deployments
- Verify on HashScan automatically or manually
- Deployment history with timestamps, networks, and direct explorer links
- Gas estimation with inline CodeLens (see estimated gas above functions)
- Rich autocomplete for JavaScript, TypeScript, Java, Go, Rust, C++, Swift, Python
- Hover documentation - see SDK docs by hovering over classes and methods
- Code snippets -
hedera-*templates for accounts, tokens, contracts, topics - Direct links to official Hedera documentation
- Contract Debug Panel - compile, test read/write functions, see gas estimates
- ABI Encode/Decode - convert between calldata and readable parameters
- Transaction inspection - full receipts with status, gas used, error details
- Dedicated debug output with timestamps and formatted results
- Smart error interpretation (no more cryptic blockchain errors)
- Visual API builder - construct REST queries from official OpenAPI spec
- Instant code generation - copy as cURL, Fetch, or Node.js snippets
- Query accounts, transactions, tokens, topics, and contracts
- Test endpoints and see formatted JSON responses
- Inline links - hover
0.0.123β jump to HashScan or copy - Hedera-specific diagnostics - highlights unsupported Solidity patterns (selfdestruct, delegatecall)
- MCP integration - preconfigured servers for AI tools (Cursor, Windsurf, Claude)
- Syntax highlighting and semantic tokens for Solidity/Vyper
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Hedera"
- Click Install
- VS Code 1.85.0 or higher
- Node.js 16+ (for project templates and compilation)
- Git (for cloning templates)
Cmd/Ctrl+Shift+P β "Hedera: Create New Project"
- Choose a template (Hardhat, Foundry, React DApp, or Upgradeable)
- Extension clones official Hedera repo and installs dependencies
- Open the new project and you're ready to code
From the sidebar:
- Click "+" in Hedera Accounts view
- Choose "Import Account" (paste account ID + private key)
- Or "Create Account" to generate new keys
- Set as operator for signing transactions
From the Smart Contracts view:
- Expand your project in the sidebar
- Find your contract β Click Deploy button (cloud upload icon)
- Select network (testnet recommended)
- Review gas settings β Deploy
- Extension logs transaction, saves deployment, and links to HashScan
From the Smart Contracts view:
- Click Debug Panel button (beaker icon) on any contract
- Choose an action:
- Compile - run Hardhat/Foundry compiler
- Read function - test view/pure functions with gas estimates
- Write function - send transactions with dynamic gas calculation
- View logs - see formatted results in debug output
π‘ Tip: All contract actions (Deploy, Compile, Verify, Debug) appear as inline buttons in the Smart Contracts sidebar. No need to right-click!
Hedera: Create New Projectβ Select "Hardhat Official Example"- Import your testnet account (or create new one)
- In Hedera Accounts view, right-click account β "Set as Operator"
- Open "Smart Contracts" view in sidebar
- Expand your project β Find contract β Click Deploy button
- Choose testnet β Confirm β See deployment in HashScan
- Open "Smart Contracts" view in sidebar
- Find your contract β Click Debug Panel button (beaker icon)
- Select "Read function (call)" from the menu
- Choose function from ABI
- Input arguments β Extension shows gas estimate and return value
- Copy result or view in debug output channel
Hedera: Build Mirror Node Endpoint- Select network (testnet/mainnet)
- Choose API endpoint (e.g.,
/api/v1/accounts/{id}) - Fill in parameters
- Click "Send Request" β See JSON response
- Copy as cURL, Fetch, or Node.js code
- Create a
.jsfile in your project - Start typing:
Client.β Extension showsforTestnet(),forMainnet(),setOperator() - Hover over any SDK class β See full documentation with examples
- Use snippets: type
hedera-transferβ Get complete transfer transaction template
- After deployment, click "Verify on HashScan" prompt
- Or in Smart Contracts view, expand contract β Click Verify button (checkmark icon) on deployment
- Extension auto-fills constructor args, compiler version
- Submit β See verification status
- Contract source now visible on HashScan
Manage Hedera accounts, view balances, and switch networks from the sidebar.
Deploy, compile, and debug contracts with inline action buttons. Track deployment history.
Hover over SDK classes and methods to see rich documentation with code examples across all 8 supported languages.
Inline gas estimates appear above Solidity functions with color-coded indicators (π’ low, π‘ medium, π΄ high).
Build REST queries from OpenAPI spec, test endpoints, and generate code snippets for cURL, Fetch, or Node.js.
![]() |
![]() |
![]() |
|---|---|---|
| Welcome screen | Endpoint builder with parameters | Query results with code generation |
Add custom networks via Hedera: Manage Networks:
- Node URL (JSON-RPC endpoint)
- Mirror Node URL (REST API)
- Chain ID
- Network name
- Ensure you have
hardhat.config.jsorfoundry.tomlin your workspace - Run
Hedera: Refresh Contractsfrom command palette - Check that contracts are compiled (
artifacts/orout/exists)
- Click settings icon in "Hedera Accounts" sidebar
- Select "Manage Networks"
- Add JSON-RPC URL, Mirror Node URL, and Chain ID
- Network appears in switch dropdown
- Keys stored in VSCode's secure storage (system keychain)
- Never logged or transmitted except for signing transactions
- Disable
.envsync if you don't want keys in files - Use
.gitignoreto exclude.envfrom version control
- Ensure contracts are compiled first
- Check that you have valid operator account set
- Try disabling
autoEstimateif it's slow - Click "Refresh Gas Estimates" to recalculate
- Verify account exists on selected network (testnet vs mainnet)
- Check account has sufficient HBAR balance
- Confirm private key matches the account ID
We welcome contributions! Here's how to set up for development:
- Clone the repository
git clone https://github.com/tolgayayci/hedera-vscode.git
cd hedera-vscode- Install dependencies
npm install- Compile TypeScript
npm run compile- Launch Extension Development Host
- Press
F5in VS Code - New window opens with extension loaded
- Make changes β Reload window (Ctrl+R) to test
- Create a feature branch
- Make your changes
- Run linter:
npm run lint - Run tests:
npm test(if applicable) - Commit with clear messages
- Open PR with description of changes
- Hedera Documentation - Official Hedera developer docs
- SDK Documentation - Multi-language SDK guides
- HashScan Explorer - Network explorer
- Hedera Portal - Create testnet accounts
MIT License - see LICENSE file for details.
Built with β€οΈ for the Hedera developer community.
Special thanks to:
- Hedera team for SDK and infrastructure support
- VSCode extension API contributors
- Community feedback and testing
Ready to build on Hedera? Install the extension and create your first project in minutes! π






