Skip to content

Add contract address registry for BSC Testnet deployments#7

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/create-contract-address-registry-again
Draft

Add contract address registry for BSC Testnet deployments#7
Copilot wants to merge 2 commits intomainfrom
copilot/create-contract-address-registry-again

Conversation

Copy link

Copilot AI commented Feb 17, 2026

Centralizes all deployed NetDAG contract addresses (Token, Presale, Vesting, Staking) on BSC Testnet in three locations for different consumption patterns.

Changes

  • DEPLOYED-CONTRACTS.md - User-facing documentation with BSCScan links and contract descriptions
  • config/deployed-addresses.json - Machine-readable registry for tooling and scripts
  • config/contract-config.js - Updated JS config with PRESALE_CONTRACT and VESTING_VAULT addresses, corrected TOKEN_CONTRACT address

Contract Addresses

Contract Address
Token 0xf8E886791E26DFD9195C1225b4Ca6458725DAe50
Presale 0x74d469c0eEd89b0F17189c824C95622C680f803E
Vesting 0x0aC817497d482629879d9c44fF226C033c5f64D4
Staking 0x7730dCD24b93F171A7B7B85FcDB4193E94614D70
// Usage in application code
import { CONTRACT_CONFIG } from './config/contract-config.js';

const token = CONTRACT_CONFIG.TOKEN_CONTRACT;
const presale = CONTRACT_CONFIG.PRESALE_CONTRACT;
const vesting = CONTRACT_CONFIG.VESTING_VAULT;
const staking = CONTRACT_CONFIG.STAKING_CONTRACT;
Original prompt

📋 Create Contract Address Registry Documentation

Create three files documenting all deployed NetDAG contracts on BSC Testnet.


FILE 1: DEPLOYED-CONTRACTS.md (root directory)

Create a comprehensive markdown file documenting all contracts:

# 📋 NetDAG Deployed Contracts Registry

**Network:** BSC Testnet (Chain ID: 97)  
**Deployment Date:** February 2026  
**Deployer:** `0xF6b3c63722182eD9e7889aDD34A4F97c25e1B318`

---

## Deployed Contracts

### 1. NDG Token
**Address:** `0xf8E886791E26DFD9195C1225b4Ca6458725DAe50`  
**BSCScan:** https://testnet.bscscan.com/address/0xf8E886791E26DFD9195C1225b4Ca6458725DAe50

ERC-20 token with 1 Billion total supply, 18 decimals, mintable by owner.

### 2. Presale Contract
**Address:** `0x74d469c0eEd89b0F17189c824C95622C680f803E`  
**BSCScan:** https://testnet.bscscan.com/address/0x74d469c0eEd89b0F17189c824C95622C680f803E

9-tier presale with vesting, 5% referral system, accepts BNB/USDT/BUSD.

### 3. Vesting Vault
**Address:** `0x0aC817497d482629879d9c44fF226C033c5f64D4`  
**BSCScan:** https://testnet.bscscan.com/address/0x0aC817497d482629879d9c44fF226C033c5f64D4

Manages token vesting schedules with cliff periods and linear release.

### 4. Staking Contract
**Address:** `0x7730dCD24b93F171A7B7B85FcDB4193E94614D70`  
**BSCScan:** https://testnet.bscscan.com/address/0x7730dCD24b93F171A7B7B85FcDB4193E94614D70

Stake NDG tokens to earn rewards from limited pool (60M NDG).

---

## Network Information

**Chain ID:** 97 (BSC Testnet)  
**RPC URL:** https://data-seed-prebsc-1-s1.binance.org:8545/  
**Explorer:** https://testnet.bscscan.com  
**Faucet:** https://testnet.bnbchain.org/faucet-smart

FILE 2: config/deployed-addresses.json

Create JSON configuration file:

{
  "network": "bsc-testnet",
  "chainId": 97,
  "contracts": {
    "token": "0xf8E886791E26DFD9195C1225b4Ca6458725DAe50",
    "presale": "0x74d469c0eEd89b0F17189c824C95622C680f803E",
    "vesting": "0x0aC817497d482629879d9c44fF226C033c5f64D4",
    "staking": "0x7730dCD24b93F171A7B7B85FcDB4193E94614D70"
  },
  "explorer": "https://testnet.bscscan.com",
  "rpc": "https://data-seed-prebsc-1-s1.binance.org:8545/"
}

FILE 3: Update config/contract-config.js

Add contract addresses to the existing configuration file:

export const CONTRACT_CONFIG = {
  // Contract Addresses
  TOKEN_CONTRACT: '0xf8E886791E26DFD9195C1225b4Ca6458725DAe50',
  PRESALE_CONTRACT: '0x74d469c0eEd89b0F17189c824C95622C680f803E',
  VESTING_VAULT: '0x0aC817497d482629879d9c44fF226C033c5f64D4',
  STAKING_CONTRACT: '0x7730dCD24b93F171A7B7B85FcDB4193E94614D70',
  
  // Network Config
  CHAIN_ID: 97,
  NETWORK_NAME: 'BNB Smart Chain Testnet',
  RPC_URL: 'https://data-seed-prebsc-1-s1.binance.org:8545/',
  EXPLORER_URL: 'https://testnet.bscscan.com',
};

Requirements:

  • Create DEPLOYED-CONTRACTS.md in root with all contract details
  • Create config/deployed-addresses.json with structured data
  • Update config/contract-config.js with all addresses
  • Include BSCScan links for each contract
  • Use exact addresses provided
  • Maintain proper formatting and valid JSON

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: JoDa-NetDAG <223148434+JoDa-NetDAG@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for deployed NetDAG contracts on BSC Testnet Add contract address registry for BSC Testnet deployments Feb 17, 2026
Copilot AI requested a review from JoDa-NetDAG February 17, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants