AeroNyx
  • AeroNyx WhitePaper
    • Technical White Paper
    • Token Economics White Paper
  • Aledger Whitepaper
    • Tokenomics: The AFI Token Economy
    • RWA Asset Packages and Device Models
    • Joint Staking Mechanism
    • Aledger Decentralized Node System
    • Token Supply Adjustment Mechanisms
    • Temporal Reward Adjustment Mechanism
  • AeroNyx Network Points System
    • Decentralized Node Points
    • SNYX Staking Rewards System
  • Decentralized Node Documentation
    • Run AeroNyx decentralized nodes on your server using Docker
    • SNYX Token Guide for AeroNyx Network
    • How to Claim Test Tokens and Find Nodes to Stake
    • Setting Node PassCode for Enhanced Privacy
  • AeroNyx FAQ & Community Guide
    • Invitation code
    • Unverified developers on Apple systems
    • Account Recovery: Lost Password Guide
    • Interacting with AeroNyx: Wallet Setup Guide
  • Update Announcement
    • Node Docker Update Announcement
    • AeroNyx iOS 1.0.1 Release Notes
  • Media resources
  • Developer documentation
    • Overview
    • C++
    • Python
    • NodeJS
    • Rust
  • Articles
    • AERONYX PRIVACY POLICY
    • AERONYX USER AGREEMENT
    • AERONYX US USER SERVICE AGREEMENT
    • ALEDGER NODE OPERATOR CODE OF CONDUCT
    • ALEDGER PLATFORM GENERAL RISK DISCLOSURE
    • ALEDGER PLATFORM MASTER TERMS OF SERVICE
    • ALEDGER REAL WORLD ASSET PACKAGE PURCHASE AGREEMENT
    • ALEDGER PLATFORM PRIVACY POLICY
    • ALEDGER NODE OPERATOR COOPERATION AGREEMENT
    • Unleashing Global Computing Power: AeroNyx's Integration of SOON SVM for DePIN Privacy-Preserved Nod
    • AeroNyx and DePHY: Pioneering the Next Wave of Decentralized Networks
  • ANPB NFT
    • Introduce
Powered by GitBook
On this page
  • Introduction
  • Project Structure
  1. Developer documentation

C++

PreviousOverviewNextPython

Last updated 9 months ago

Introduction

This is a C++ demo that shows in detail how to use AeroNyx.

In order to minimize dependencies, only one non-standard library is used here: boost. Its path is configured in cxx_demo/CMakeLists.txt.

Read the code in Github

Project Structure

The project is organized into several directories, each containing specific components of the encryption and network management functionalities:

  • crypto_tools - Contains all implementations of the encryption algorithms used in the project.

    • aes - Houses AES-related algorithms.

    • hash - Dedicated to HASH related algorithms.

    • secp256k1 - Contains secp256k1 related algorithms.

    • ecdh_manager - Manages ECDH (Elliptic Curve Diffie-Hellman) operations, accelerating the process.

    • key_tools - Packages most of the algorithm interfaces, facilitating their use across the project.

  • cxx_demo - This directory contains the demo's CMake configuration and the core implementation logic.

    • simple_key.h - Manages storage for public and private keys.

    • simple_http.h - Implements the Http interface for network communication.

    • simple_client_server.h - Handles the management of each proxy connection.

    • simple_client_item.h - Utilized for managing proxy traffic entering a node.

    • simple_package.h - Responsible for packet-based traffic encryption and decryption.

AeroNyxSDK/cxx at main · AeroNyxNetwork/AeroNyxSDKGitHub
Logo