A decentralized application (DApp) built on Ethereum using Solidity smart contracts, Hardhat development framework, and TypeScript.
| Layer | Technology |
|---|---|
| Smart Contracts | Solidity |
| Dev Framework | Hardhat |
| Language | TypeScript |
| Testing | Hardhat Test (Chai/Mocha) |
| Network | Ethereum (local + testnet) |
- Smart contract development — Solidity contracts with full test coverage
- Local blockchain — Hardhat Network for fast local development
- TypeScript scripts — typed deployment and interaction scripts
- Contract artifacts — ABI + bytecode generated on compile
- Testnet ready — configurable for Sepolia, Goerli or mainnet
├── contracts/ # Solidity smart contracts
├── scripts/ # Deployment & interaction scripts
├── artifacts/ # Compiled contract ABIs and bytecode
├── hardhat.config.ts # Hardhat configuration
└── tsconfig.json # TypeScript config
- Node.js 18+
- npm
git clone https://github.com/eranCat/Dapp-blockchain.git
cd Dapp-blockchain
npm installnpx hardhat compilenpx hardhat test# Start local node
npx hardhat node
# In another terminal
npx hardhat run scripts/deploy.ts --network localhost# Add your private key and RPC URL to .env
npx hardhat run scripts/deploy.ts --network sepoliaPRIVATE_KEY=your_wallet_private_key
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/your_key
⚠️ Never commit your private key. Use.envand ensure it's in.gitignore.