This repository is a minimal Hardhat + TypeScript project implementing an ERC20 token DeepSafe Token with symbol DEF using OpenZeppelin.
Quick commands:
- Install deps:
npm install
- Compile:
npm run compile
- Run tests:
npm run test
- Deploy to BSC Testnet (example):
Environment Setup
Create .env file and add your environment variables. You can use .env.example as a template.
If you are going to use public network, make sure you include the right RPC provider for that network.
npm run deploy:bscTestnet
- Verify on BscScan (after deploy):
npm run verify:bscTestnet
Env variables used
PRIVATE_KEY- deployer private key (0x...)BSCSCAN_API_KEY- API key for BscScan verification