db.qvtx

QVTX DNA Blockchain Database Infrastructure

Chain ID: 20232 100% QVTX Native MySQL | PostgreSQL | SQLite | MongoDB DNA Encoding

QVTX Infrastructure

8
Core Models
4
DB Engines
18
Decimals
70/30
Reward Split

Quick Installation

# Install via npm npm install db.qvtx # Quick start const { QVTXDatabase } = require('db.qvtx'); const db = new QVTXDatabase(); await db.init({ dialect: 'postgresql', host: 'localhost', database: 'qvtx_chain', username: 'qvtx', password: 'password' }); // DNA Encoding const dnaHash = db.encodeDNA({ userId: 123, timestamp: Date.now() }); // Query wallets const wallets = await db.models.QVTXWallet.findAll();
# Install via Composer composer require qvtx/db.qvtx # Quick start use QVTX\Database\QVTXDatabase; $db = new QVTXDatabase([ 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'qvtx_chain', 'username' => 'qvtx', 'password' => 'password' ]); $db->connect()->migrate(); // DNA Encoding $dnaHash = $db->encodeDNA(['userId' => 123]); // Query $wallets = $db->query('SELECT * FROM qvtx_wallets WHERE is_validator = ?', [true]);
# Add QVTX repository echo "deb https://apt.qvtx.io stable main" | sudo tee /etc/apt/sources.list.d/qvtx.list # Install sudo apt update && sudo apt install db.qvtx # CLI Usage db.qvtx init --dialect postgresql --database qvtx_chain db.qvtx migrate db.qvtx sync --realtime db.qvtx status

Database Schema

TablePurpose
qvtx_networksBlockchain networks
qvtx_walletsAddresses & balances
qvtx_blocksBlock data + DNA root
qvtx_transactionsTX history + DNA payload
qvtx_rewardsMining/staking rewards
qvtx_dna_profilesDNA identity profiles
qvtx_bridge_transfersCross-chain transfers
qvtx_validatorsValidator information

QVTX Contracts

ContractAddress
QVTX Token0x5b57...7a6F
Treasury0x3DDb...2D5b
Mining Pool0x24B8...3f2
Development0xB252...Ae88

Real-time Sync

const QVTXSync = require('db.qvtx/lib/sync/QVTXSync'); const sync = new QVTXSync(db, { rpc: 'https://rpc.qvtx.io' }); await sync.init(); await sync.start(); sync.on('block', (block) => { console.log('New block:', block.number); });

Allocation System

TypeUserTreasury
Rewards70%30%
Mining50%50%
Developer Override10%-

All allocations automatically recorded in qvtx_rewards table

Supported Databases

  • MySQL 8.0+ - Full support with InnoDB
  • PostgreSQL 14+ - Recommended for production
  • SQLite 3+ - Embedded/development
  • MongoDB 6+ - Event logs & analytics

QVTX Endpoints

ServiceURL
RPCrpc.qvtx.io
Explorerexplorer.qvtx.io
APIapi.qvtx.io
Bridgebridge.qvtx.io
DNAdna.qvtx.io
GitHub Repository Documentation Developer Portal

QuantVestrix Technologies | qvtx.io

QVTX License | Chain ID: 20232