USDTq is a reserve-backed BEP-20 stablecoin designed to maintain a 1:1 peg with the US Dollar. Built on OpenZeppelin v5.x, it is deployed on BNB Smart Chain (BSC) with enterprise-grade compliance and security features.
| Contract | Address |
|---|---|
| USDTq Token | 0xD5Eb307D86EBAc71D743023A622982fF7acA62aE |
| Gnosis Safe | 0xB00d4Ac55748ED6cB404C38027a46D2AB1b22A19 |
- 1:1 USD Peg: Fully backed by stablecoin reserves (USDT, USDC)
- Role-Based Access Control: Six distinct roles for separation of duties
- Compliance Ready: Blacklist functionality for OFAC/AML requirements
- Reserve Transparency: On-chain attestation and collateralization tracking
- Non-Upgradeable: Immutable contract for maximum trust and predictability
- Gas Optimized: Custom errors and optimized for BNB Chain
USDTq/
├── contracts/
│ ├── USDTq.sol # Main stablecoin contract
│ └── interfaces/
│ └── IUSDTq.sol # Contract interface
├── deploy/
│ └── 001_deploy_usdtq.js # Deployment script for USDTq.sol
├── test/
│ ├── USDTq.test.js # Hardhat test suite
│ └── foundry/ # Foundry fuzz & invariant tests
├── docs/
│ ├── Whitepaper.md # Complete project whitepaper
│ ├── Architecture.md # Security architecture
│ ├── Tokenomics.md # Economic model
│ ├── Security.md # Security checklist
│ └── deployment.md # Deployment guide
├── hardhat.config.js # Hardhat configuration
├── foundry.toml # Foundry configuration
└── package.json # Dependencies and scripts
git clone <repository-url>
cd USDTq
npm installCreate a .env file from the example:
cp .env.example .envConfigure the following variables:
| Variable | Description |
|---|---|
PRIVATE_KEY |
Deployer wallet private key (without 0x prefix) |
BSCSCAN_API_KEY |
BscScan API key for verification |
COINMARKETCAP_API_KEY |
(Optional) For gas reporting in USD |
Security Warning: Never commit
.envfiles or expose private keys. Use a dedicated deployment wallet.
npm run build# Run all tests
npm run test
# Run with gas reporting
REPORT_GAS=true npm run test
# Run with coverage
npm run test:coverage# Check for issues
npm run lint
# Auto-format code
npm run format# Run Slither
npm run slither# Start local node
npx hardhat node
# Deploy (in another terminal)
npx hardhat deploy --network localhostnpm run deploy:testnetnpm run deploy:mainnetImportant: Before mainnet deployment, ensure you have:
- Completed security audit
- Tested thoroughly on testnet
- Configured correct Gnosis Safe and signer addresses
- Reviewed deployment parameters
See docs/deployment.md for detailed deployment instructions.
| Role | Purpose | Holder |
|---|---|---|
DEFAULT_ADMIN_ROLE |
Grant/revoke all roles | Gnosis Safe |
ADMIN_ROLE |
Update supply caps | Gnosis Safe |
MINTER_ROLE |
Mint and burn tokens | Operational signer(s) |
BLACKLISTER_ROLE |
Manage compliance blacklist | Compliance signer(s) |
PAUSER_ROLE |
Emergency pause minting | Security signer(s) |
RESERVE_MANAGER_ROLE |
Update reserve attestations | Treasury signer(s) |
| Parameter | Initial Value | Description |
|---|---|---|
| Initial Supply | 10,000,000 USDTq | Minted to Gnosis Safe |
| Max Per Transaction | 10,000,000 USDTq | Per-mint limit |
| Max Total Supply | 1,000,000,000 USDTq | Hard cap |
| Decimals | 6 | Matches USDT/USDC |
- Whitepaper - Complete project documentation and technical specifications
- Architecture - Security model and role separation
- Tokenomics - Economic model and reserve policy
- Security - Security checklist and vulnerability analysis
- Deployment - Step-by-step deployment guide
Please report security vulnerabilities via email to security@teamquant.space. Do not create public GitHub issues for security concerns.
See SECURITY.md for our full security policy.
Security audits will be conducted before mainnet deployment. Audit reports will be published in the /audits directory.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: teamquant.space
- Documentation: docs/
- Security: SECURITY.md