ShardeumShardeum Logo
Connect to ShardeumDelegate NowGithubTestnet SHM
Shardeum Documentation
Shardeum Documentation
Shardeum Documentation
What is Shardeum?Network Endpoints & ExplorerEVM Overview
Supported Wallets
Developers
Testnet Quickstart
Deploy Smart Contracts
Deploy dApps
Build a Frontend dAppdApp Boilerplate
JSON-RPC GuideNetwork Interfaces
Node TypesRun a Full NodeRun a Validator NodeAdvanced OperationsRun an RPC NodeDelegate SHM
Node Setup OverviewRun an RPC NodeRun a Full NodeRun a Validator Node
Ecosystem
Nordstern.Finance
DevelopersDeploy dApps

dApp Boilerplate

Full Boilerplate Repository

Want to skip the manual setup? Clone the complete boilerplate with everything pre-configured for Shardeum EVM Testnet:

git clone https://github.com/shardeum/shardeum-dapp-boilerplate.git
cd shardeum-dapp-boilerplate
npm install

Configure Your Environment

cp .env.example .env
# Edit .env and add your PRIVATE_KEY

Security: Never commit your .env file or expose your private key. Use a development wallet only.

Deploy Contracts and Run

# Deploy to Shardeum Testnet
npm run deploy:testnet
 
# Start the frontend
npm run dev

What's Included

The boilerplate includes:

  • ✅ Pre-configured network settings for Shardeum EVM Testnet (Chain ID: 8119)
  • ✅ Enhanced ERC20 token contract with OpenZeppelin security features
  • ✅ Wallet connection with MetaMask integration
  • ✅ Complete frontend with Vite, React, and TypeScript
  • ✅ Smart contract deployment scripts ready to use
  • ✅ Comprehensive error handling and input validation
  • ✅ Security best practices built-in

Next Steps

After cloning the boilerplate:

  1. Deploy your contract: Run npm run deploy:testnet
  2. Start the frontend: Run npm run dev
  3. Connect your wallet: Use MetaMask to interact with your dApp
  4. Customize: Modify the contract and frontend to build your unique dApp

Need Help?

If you encounter any issues or need assistance:

  • Join Shardeum Discord: Get community support at discord.com/invite/shardeum
  • Documentation: Check the full tutorial for detailed explanations
  • GitHub Issues: Report bugs at github.com/shardeum/shardeum-dapp-boilerplate/issues

Security Considerations

This is a reference boilerplate only. Security audits, comprehensive testing, and safe deployment practices are the responsibility of the user/developer.

For detailed security guidance, see the security section in the full tutorial.

Additional Resources

  • Build a Frontend dApp Tutorial - Step-by-step guide
  • Shardeum Documentation

Previous

Build a Frontend dApp

Next

JSON-RPC Guide

On this page

Full Boilerplate RepositoryConfigure Your EnvironmentDeploy Contracts and RunWhat's IncludedNext StepsNeed Help?Security ConsiderationsAdditional Resources

Footer

Company name

India's EVM Compatible Layer 1 Blockchain

© 2026 Shardeum, Inc. All rights reserved.

XGitHubYouTube

General

  • Home
  • Roadmap
  • Testnet SHM
  • Ambassador Program
  • Blog

Community

  • Telegram
  • Discord
  • Twitter
  • GitHub

Resources

  • Explorer
  • Whitepaper
  • FAQs
  • Brand Assets
  • Public Drive

Contact

  • General Enquiries
  • Partnership Enquiries