-
Couldn't load subscription status.
- Fork 161
NH token on polygon contract 0xf930cf4150f7cb1108b30df610f07188fd794398 #761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NH token logo and mapped.json file
NH contract polygon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Transperant logo added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All basic criteria for Polygone logo adding checked.
"Polygon Tokenlists repository for NH/NNT token integration. This repo validates, builds, and publishes compliant token metadata for cross-chain visibility, aggregator indexing, and automated liquidity strategies. Includes CI/CD workflows for linting, testing, and building tokenlists, with support for mapped.json validation, escrow logic, and audit-ready event logging."
/** * validate.js — NH/NNT Token Metadata Validator * * This script performs schema validation on mapped.json files used for Polygon token mapping. * It ensures that token metadata adheres to strict formatting rules required by aggregators, * indexers, and compliance auditors. Built using AJV and ajv-formats, it checks for: * * - Valid Ethereum address format (0x-prefixed, 40 hex chars) * - Required fields: name, symbol, decimals, address, chainId, logoURI * - URI format for logo links * - Integer constraints on decimals and chainId * - Optional tag array for aggregator classification * * The validator is CI/CD-ready and designed to run as part of GitHub Actions workflows. * It exits with code 1 on failure, making it ideal for automated PR checks and audit gates. * * Usage: * $ node scripts/validate.js * * Integration: * Add `"validate": "node scripts/validate.js"` to package.json scripts * Include `npm run validate` in your GitHub Actions workflow * * Author: NISHNT — Founder, NH/NNT Quantum Finance * Purpose: Ensure metadata integrity, cross-chain visibility, and audit compliance */
# New PR Workflow — Polygon Tokenlists CI/CD Validator # # This GitHub Actions workflow is triggered automatically when a pull request targets # the `dev` or `master` branches. It performs a full validation cycle for token metadata, # ensuring that all additions or updates to the tokenlist meet compliance, formatting, # and build requirements before merging. # # Key Features: # - ✅ Node.js v16 environment for compatibility with existing tooling # - ✅ Dependency installation via npm for linting, testing, and build scripts # - ✅ Linting with ESLint to enforce code quality and formatting standards # - ✅ Unit testing with Mocha to validate token addition logic # - ✅ Tokenlist build using `src/write.js` to generate final output # - ✅ Metadata validation via `scripts/validate.js` to ensure schema compliance # - ✅ Ubuntu version check for reproducibility and debugging # # Usage: # - Automatically runs on PRs to `dev` or `master` # - Fails the workflow if linting, tests, or validation fail # - Designed for NH/NNT token integration and audit-readiness # # Author: NISHNT — Founder, NH/NNT Quantum Finance # Purpose: Ensure trust, transparency, and compliance in tokenlist contributions
package-lock.json — Dependency Snapshot for Polygon Tokenlists This file is automatically generated by npm when installing packages defined in package.json. It locks the exact versions of all dependencies and sub-dependencies used in the project, ensuring consistent builds across environments, contributors, and CI/CD pipelines. Key Roles: - 🔒 Ensures reproducibility: All contributors and GitHub Actions workflows use the same dependency tree. - 🧪 Supports deterministic testing: Prevents unexpected behavior due to version drift. - 🛡️ Enhances security: Tracks exact versions for vulnerability scanning and audit trails. - 🚀 Optimizes performance: Enables faster installs via caching and deduplication. Best Practices: - Do not manually edit this file. - Always commit it alongside package.json after running `npm install`. - Regenerate it only when updating dependencies intentionally. This file is critical for maintaining audit-grade integrity and reproducibility in tokenlist validation, metadata builds, and NH/NNT integration workflows. Author: NISHNT — Founder, NH/NNT Quantum Finance Purpose: Lock dependency tree for compliance, trust, and automated validation
.eslintrc.json — Linting Configuration for NH/NNT Modular Repo This file defines the linting rules, parser settings, and plugin integrations used across the NH/NNT codebase. It enforces consistent code style, detects potential bugs, and ensures audit-grade quality for smart contract logic, bot automation, and metadata pipelines. Key Roles: - 🧹 Enforces formatting and style: Integrates Prettier for consistent spacing, semicolons, and indentation. - 🧠 Catches logic errors early: Flags unused variables, risky patterns, and insecure code. - 🔐 Supports compliance: Includes security plugin to detect injection risks and unsafe constructs. - 🧪 CI/CD integration: Used in GitHub Actions to validate PRs and prevent regressions. - 📦 Multi-language support: Configured for TypeScript, Node.js, and modular repo architecture. Core Plugins: - `@typescript-eslint`: Enables strict typing and modern TS rules. - `prettier`: Auto-formats code and prevents style drift. - `security`: Flags unsafe patterns (e.g. object injection, eval). - `import`: Enforces clean import order and resolves module boundaries. Best Practices: - Do not modify this file unless updating linting strategy across the repo. - Run `npm run lint` locally before pushing changes. - Use `eslint --fix` to auto-correct minor issues. - Ensure `.eslintrc.json` is synced with `tsconfig.json` and CI workflows. This config is foundational to NH/NNT’s commitment to transparency, reproducibility, and investor-grade engineering. It helps maintain clean, secure, and scalable code across smart contracts, trading bots, and frontend dashboards. Author: NISHNT — Founder, NH/NNT Quantum Finance Purpose: Enforce audit-grade code quality across all modules and contributors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smart Contract Enhancements
Refactored escrow and controller logic for better modularity and gas efficiency
Added event hooks for AML tracking and audit logging
Updated supply cap enforcement and compliance checks
CI/CD & Repo Automation
Integrated ESLint and Prettier into GitHub Actions for consistent code quality
Updated .eslintrc.json for security, import order, and formatting rules
Synced package-lock.json with latest dependency tree for reproducible builds
Metadata & Tokenlist Updates
Refined NH/NNT metadata for Polygon mapping and aggregator visibility
Verified logo hosting and TrustWallet compatibility
Improved tokenlist PR workflow with branch protection and auto-validation
General Improvements
Removed unused variables and deprecated imports
Improved error handling and logging across modules
Updated contributor docs with linting and commit guidelines
Auto-deploy NH/NNT logo and metadata to Polygon token list [skip ci]
Extra logo file
Extra logo file
NH Token contract on Polygone ## 📄 Extended Description: NH Token **Contract Address**: `0xf930cf4150f7cb1108b30df610f07188fd794398` **Network**: Polygon Mainnet (Chain ID: 137) **Token Type**: ERC-20 **Decimals**: 18 **Total Supply**: 14,000,000 NH (Immutable) **Deployed**: August 2025 **Verified**: ✅ Source code verified on PolygonScan **Aggregator Status**: Metadata and logo submitted via PR [Uniswap#761](0xPolygon/polygon-token-list#761) to Polygon Token List --- ### 🔹 Project Overview NH Token is a decentralized, compliance-ready asset designed for **Web3 commerce**, **institutional trust**, and **aggregator visibility**. Built on Polygon, it powers frictionless transactions, automated liquidity generation, and transparent metadata deployment — all without burn, tax, or honeypot logic. --- ### 🔹 Key Features - **Immutable Supply**: Hardcoded 14M NH; no mint/burn after deployment - **0.5% Trade Fee**: Auto-added to liquidity pool; no hidden tax - **Verified Metadata**: Logo, info.json, and mapped.json published via GitHub Pages - **CI/CD Automation**: Self-hosted runner handles metadata updates and audit publishing - **Aggregator-Ready**: Structured for CoinGecko, TrustWallet, and De.Fi indexing --- ### 🔹 Security & Audit Commentary - ✅ No honeypot flags (confirmed via ApeSpace & De.Fi) - ✅ Ownership retained for compliance; renouncement planned post-listing - ✅ No proxy, blacklist, or anti-whale logic - ✅ Transfer functions unrestricted and gas-optimized - 📝 Self-audit published with commentary on all flagged risks Audit PDF: [📄 NH Token Audit Report](https://nishantthakkeer.github.io/nh-token-assets/docs/audit/nh-token-audit.pdf) --- ### 🔹 Use Cases - **Web3 Payments**: Integrated with CoinPayments, NOWPayments, and Telegram checkout bots - **DeFi Utility**: Supports staking, NFT commerce, and plugin-based e-commerce logic - **Cross-Border Compliance**: KYC-ready for Switzerland and India --- ### 🔹 Roadmap Highlights - 🛍️ Partner with Swiss merchants for NH-based checkout - 🔄 Enable NH→CHF bridge via Mt. Pelerin & Uniswap - 📦 Launch Telegram bot for NH-powered e-commerce - 📈 Submit to CoinGecko, TrustWallet, and De.Fi for full index
NH logo for polygon Mainnet (137) Contract address: 0xf930cf4150f7cb1108b30df610f07188fd794398