# 6. Technical Architecture

<figure><img src="https://content.gitbook.com/content/rCBhXh0FkT5hJyiaymyL/blobs/klBXvjNOmyUqJum98orr/image.png" alt=""><figcaption></figcaption></figure>

## 6.1 Smart Contract-Based Design

The CHREMA ecosystem automates **all core functions through smart contracts to ensure reliability and efficiency.**

* **GOLDX Issuance and Redemption:** Adjusted under the 0.1g-per-token peg, with issuance/redemption constrained by audited reserves (circulating supply × 0.1g).
* **CHREMA Reward Distribution:** Regular automated distribution to liquidity providers and staking participants.
* **Revenue Distribution Logic:** Partial real-world revenue is automatically allocated on-chain.
* **Voting and DAO Functions:** Governance voting systems operate through smart contracts.

> All contracts undergo public **review and security audits** before deployment.

***

## 6.2 On-chain Audit and Transparency Assurance

**Real-time Data Disclosure**

* Total issuance, circulating supply of GOLDX, and physical gold vault holdings can be queried in real time on-chain, including reconciliation under the 0.1g peg (circulating supply × 0.1g).
* Monthly accounting reports are linked to IPFS or blockchain storage for public access.

**Dual Verification Through External Audits**

* Documentation is verified by third-party accounting firms and gold appraisal institutions.
* A transparent reporting system compares on-chain data with off-chain audit results to ensure integrity.

***

## 6.3 Oracle System Integration

> Oracles serve as intermediaries that bring off-chain data onto the blockchain.

Within the CHREMA ecosystem, the following external data is connected to smart contracts via oracles:

* **Gold Price:** Real-time gold price API integration (using Chainlink or proprietary oracle solutions)
* **Mining Reports:** Periodic recording of mining output, holdings, and sales revenue on-chain
* **Vault Status:** Records of gold storage history and physical audit details

***

## 6.4 Multi-Network and Cross-Chain Support

* Supports EVM-compatible networks (e.g., BNB Chain, Polygon)
* Plans to introduce interchain bridges in the future
* GOLDX and CHREMA will support cross-chain transfers and swaps

***

## 6.5 User Accessibility

* **Web Platform:** Users can deposit, view balances, and receive rewards via the dedicated CHREMA Dashboard.
* **Mobile Wallet Integration:** Supports multiple wallet connections such as MetaMask and WalletConnect.
* **Proprietary Wallet:** A user-friendly dedicated wallet with an intuitive UI for easy access.

***

## 6.6 Security

* **Smart Contract Security Audits:** Mandatory third-party audits conducted before and after deployment.
* **Wallet Security:** Use of multisignature (Multisig) wallets and recommendation of hardware wallets.
* **Platform Security:** Implementation of two-factor authentication (2FA), risk detection systems, and decentralized operational backups.
