# 6. Technical Architecture

<figure><img src="/files/0ZApOXWLl57qWvR23pKx" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.chrema.net/6.-technical-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
