# Developer Docs Frequency X Chain

## Developer Docs - Frequency X Chain

- [1. Introduction to Frequency X Chain (FreCx) Developer Documentation](https://docs.frequencychain.org/1.-introduction-to-frequency-x-chain-frecx-developer-documentation.md)
- [1.1 Purpose of This Documentation](https://docs.frequencychain.org/1.-introduction-to-frequency-x-chain-frecx-developer-documentation/1.1-purpose-of-this-documentation.md)
- [1.2 What Makes FreCx Different for Developers](https://docs.frequencychain.org/1.-introduction-to-frequency-x-chain-frecx-developer-documentation/1.2-what-makes-frecx-different-for-developers.md)
- [1.3 Development Approach](https://docs.frequencychain.org/1.-introduction-to-frequency-x-chain-frecx-developer-documentation/1.3-development-approach.md)
- [1.4 Who Should Use This Guide](https://docs.frequencychain.org/1.-introduction-to-frequency-x-chain-frecx-developer-documentation/1.4-who-should-use-this-guide.md)
- [2. Architecture Overview](https://docs.frequencychain.org/2.-architecture-overview.md)
- [2.1 Transaction Lifecycle](https://docs.frequencychain.org/2.-architecture-overview/2.1-transaction-lifecycle.md)
- [2.2 Deterministic Execution Model](https://docs.frequencychain.org/2.-architecture-overview/2.2-deterministic-execution-model.md)
- [2.3 Scalability and Performance Design](https://docs.frequencychain.org/2.-architecture-overview/2.3-scalability-and-performance-design.md)
- [2.4 Integration with Protocol Layers](https://docs.frequencychain.org/2.-architecture-overview/2.4-integration-with-protocol-layers.md)
- [3. Network Configuration](https://docs.frequencychain.org/3.-network-configuration.md)
- [3.1 Testnet vs Mainnet Environments](https://docs.frequencychain.org/3.-network-configuration/3.1-testnet-vs-mainnet-environments.md)
- [3.2 Chain ID and Network Identification](https://docs.frequencychain.org/3.-network-configuration/3.2-chain-id-and-network-identification.md)
- [3.3 Understanding RPC Endpoints](https://docs.frequencychain.org/3.-network-configuration/3.3-understanding-rpc-endpoints.md)
- [3.4 Explorer and Network Observability](https://docs.frequencychain.org/3.-network-configuration/3.4-explorer-and-network-observability.md)
- [3.5 Network Configuration in Development Tools](https://docs.frequencychain.org/3.-network-configuration/3.5-network-configuration-in-development-tools.md)
- [4. Wallet and Network Access](https://docs.frequencychain.org/4.-wallet-and-network-access.md)
- [4.1 Installing a Web3 Wallet](https://docs.frequencychain.org/4.-wallet-and-network-access/4.1-installing-a-web3-wallet.md)
- [4.2 Creating a New Wallet](https://docs.frequencychain.org/4.-wallet-and-network-access/4.2-creating-a-new-wallet.md)
- [4.3 Adding the FreCx Network](https://docs.frequencychain.org/4.-wallet-and-network-access/4.3-adding-the-frecx-network.md)
- [4.4 Acquiring FreCx Tokens](https://docs.frequencychain.org/4.-wallet-and-network-access/4.4-acquiring-frecx-tokens.md)
- [4.5 Verifying Transactions Using Explorer](https://docs.frequencychain.org/4.-wallet-and-network-access/4.5-verifying-transactions-using-explorer.md)
- [5. Smart Contract Development             (Remix + Hardhat)](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat.md)
- [5.1 Understanding Smart Contracts](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.1-understanding-smart-contracts.md)
- [5.2 Developing and Deploying Using Remix IDE](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.2-developing-and-deploying-using-remix-ide.md)
- [5.3 Writing a Smart Contract](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.3-writing-a-smart-contract.md)
- [5.4 Compiling the Contract](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.4-compiling-the-contract.md)
- [5.5 Connecting to FreCx Network](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.5-connecting-to-frecx-network.md)
- [5.6	Deploying the Contract](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.6-deploying-the-contract.md)
- [5.7	Interacting with the Contract](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.7-interacting-with-the-contract.md)
- [5.8 Developing Using Hardhat](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.8-developing-using-hardhat.md)
- [5.9	Deploying Contracts via Script](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.9-deploying-contracts-via-script.md)
- [5.10 Verifying Contracts](https://docs.frequencychain.org/5.-smart-contract-development-remix-+-hardhat/5.10-verifying-contracts.md)
- [6. Interacting with Smart Contracts Using ethers.js and web3.js](https://docs.frequencychain.org/6.-interacting-with-smart-contracts-using-ethers.js-and-web3.js.md)
- [6.1 Establishing a Connection to the FreCx Network](https://docs.frequencychain.org/6.-interacting-with-smart-contracts-using-ethers.js-and-web3.js/6.1-establishing-a-connection-to-the-frecx-network.md)
- [6.1.1 Using ethers.js](https://docs.frequencychain.org/6.-interacting-with-smart-contracts-using-ethers.js-and-web3.js/6.1-establishing-a-connection-to-the-frecx-network/6.1.1-using-ethers.js.md)
- [6.1.2 Using web3.js](https://docs.frequencychain.org/6.-interacting-with-smart-contracts-using-ethers.js-and-web3.js/6.1-establishing-a-connection-to-the-frecx-network/6.1.2-using-web3.js.md)
- [7. Smart Contract Example : Wallet Authorization (Understanding msg. sender and Permissions](https://docs.frequencychain.org/7.-smart-contract-example-wallet-authorization-understanding-msg.-sender-and-permissions.md)
- [7.1 Writing and Deploying](https://docs.frequencychain.org/7.-smart-contract-example-wallet-authorization-understanding-msg.-sender-and-permissions/7.1-writing-and-deploying.md)
- [7.2 Executing the Contract](https://docs.frequencychain.org/7.-smart-contract-example-wallet-authorization-understanding-msg.-sender-and-permissions/7.2-executing-the-contract.md)
- [8. Smart contract Example: Payment Contract (Sending and Receiving FreCx)](https://docs.frequencychain.org/8.-smart-contract-example-payment-contract-sending-and-receiving-frecx.md)
- [8.1 Writing the Contract](https://docs.frequencychain.org/8.-smart-contract-example-payment-contract-sending-and-receiving-frecx/8.1-writing-the-contract.md)
- [8.2 Sending a Payment](https://docs.frequencychain.org/8.-smart-contract-example-payment-contract-sending-and-receiving-frecx/8.2-sending-a-payment.md)
- [8.3 Verifying Payment](https://docs.frequencychain.org/8.-smart-contract-example-payment-contract-sending-and-receiving-frecx/8.3-verifying-payment.md)
- [9. FreCx Node Set up](https://docs.frequencychain.org/9.-frecx-node-set-up.md)
- [9.1 Preparing the Server Environment](https://docs.frequencychain.org/9.-frecx-node-set-up/9.1-preparing-the-server-environment.md)
- [9.2 Downloading FreCx Node Software](https://docs.frequencychain.org/9.-frecx-node-set-up/9.2-downloading-frecx-node-software.md)
- [9.3 Building the Node (If Required)](https://docs.frequencychain.org/9.-frecx-node-set-up/9.3-building-the-node-if-required.md)
- [9.4 Configuring the Node](https://docs.frequencychain.org/9.-frecx-node-set-up/9.4-configuring-the-node.md)
- [9.5 Starting the Node](https://docs.frequencychain.org/9.-frecx-node-set-up/9.5-starting-the-node.md)
- [9.6 Verifying Node Operation](https://docs.frequencychain.org/9.-frecx-node-set-up/9.6-verifying-node-operation.md)
- [9.7 Syncing the Blockchain](https://docs.frequencychain.org/9.-frecx-node-set-up/9.7-syncing-the-blockchain.md)
- [9.8 Running as a Background Service](https://docs.frequencychain.org/9.-frecx-node-set-up/9.8-running-as-a-background-service.md)
- [9.9 Staking Activation](https://docs.frequencychain.org/9.-frecx-node-set-up/9.9-staking-activation.md)
- [10.	Staking, Rewards, and Economic Participation](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation.md)
- [10.1 Staking Model and Role Alignment](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.1-staking-model-and-role-alignment.md)
- [10.2 Accessing the staking Platform](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.2-accessing-the-staking-platform.md)
- [10.3 Connect the Wallet and complete the KYC](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.3-connect-the-wallet-and-complete-the-kyc.md)
- [10.4 Selecting Node Type and Staking Amount](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.4-selecting-node-type-and-staking-amount.md)
- [10.5 Acquiring FreCx Tokens Using FSWAP](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.5-acquiring-frecx-tokens-using-fswap.md)
- [10.6 Executing the Staking Transaction](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.6-executing-the-staking-transaction.md)
- [10.7 Stake Activation and Participation Lifecycle](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.7-stake-activation-and-participation-lifecycle.md)
- [10.8 Economic Participation Beyond Staking](https://docs.frequencychain.org/10.-staking-rewards-and-economic-participation/10.8-economic-participation-beyond-staking.md)
- [11. Reward Generation and Distribution](https://docs.frequencychain.org/11.-reward-generation-and-distribution.md)
- [11.1 Tracking Rewards and Participation](https://docs.frequencychain.org/11.-reward-generation-and-distribution/11.1-tracking-rewards-and-participation.md)
- [11.2 Reward Allocation for Nodes](https://docs.frequencychain.org/11.-reward-generation-and-distribution/11.2-reward-allocation-for-nodes.md)
- [11.3 Reward Allocation for Ecosystem](https://docs.frequencychain.org/11.-reward-generation-and-distribution/11.3-reward-allocation-for-ecosystem.md)
- [11.4 Unstaking and Withdrawal](https://docs.frequencychain.org/11.-reward-generation-and-distribution/11.4-unstaking-and-withdrawal.md)
- [12. Energy Data Layer Integration](https://docs.frequencychain.org/12.-energy-data-layer-integration.md)
- [12.1 Architectural Positioning](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.1-architectural-positioning.md)
- [12.2 Data Sources and Input Systems](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.2-data-sources-and-input-systems.md)
- [12.3 Oracle and Validation Layer](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.3-oracle-and-validation-layer.md)
- [12.4 On-Chain Data Anchoring](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.4-on-chain-data-anchoring.md)
- [12.5 Smart Contract Integration](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.5-smart-contract-integration.md)
- [12.6 Energy Data Consumption in Smart Contract](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.6-energy-data-consumption-in-smart-contract.md)
- [12.7 Securing Data Inputs](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.7-securing-data-inputs.md)
- [12.8 Integration with Applications](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.8-integration-with-applications.md)
- [12.9 Developer Workflow](https://docs.frequencychain.org/12.-energy-data-layer-integration/12.9-developer-workflow.md)
- [13.	AI Integration and Intelligent Systems](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems.md)
- [13.1 Architectural Role of AI in FreCx](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.1-architectural-role-of-ai-in-frecx.md)
- [13.2 AI Use Cases Within the Network](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.2-ai-use-cases-within-the-network.md)
- [13.3 AI and Energy Data Integration](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.3-ai-and-energy-data-integration.md)
- [13.4 AI Integration Workflow for Developers](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.4-ai-integration-workflow-for-developers.md)
- [13.5 AI-Assisted Smart Contract Interaction](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.5-ai-assisted-smart-contract-interaction.md)
- [13.6 Securing AI Inputs](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.6-securing-ai-inputs.md)
- [13.7 AI APIs and Developer Access](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.7-ai-apis-and-developer-access.md)
- [14. Cross-Chain Interoperability using FSWAP](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap.md)
- [14.1 Bridging Architecture](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap/14.1-bridging-architecture.md)
- [14.2 Understanding FreCx (Polygon network)](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap/14.2-understanding-frecx-polygon-network.md)
- [14.3 Bridging from FreCx to Polygon (Lock and Mint)](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap/14.3-bridging-from-frecx-to-polygon-lock-and-mint.md)
- [14.4 Bridging from Polygon to FreCx (Burn and Release)](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap/14.4-bridging-from-polygon-to-frecx-burn-and-release.md)
- [14.5 Developer Interaction with the Bridge](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap/14.5-developer-interaction-with-the-bridge.md)
- [14.6 Security Considerations](https://docs.frequencychain.org/14.-cross-chain-interoperability-using-fswap/14.6-security-considerations.md)
- [15. APIs and SDK Integration](https://docs.frequencychain.org/15.-apis-and-sdk-integration.md)
- [15.1 Reading Blockchain Data Using RPC](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.1-reading-blockchain-data-using-rpc.md)
- [15.2 Sending Transactions via RPC](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.2-sending-transactions-via-rpc.md)
- [15.3 Application Integration Using ethers.js](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.3-application-integration-using-ethers.js.md)
- [15.4 Building a Reusable SDK Layer](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.4-building-a-reusable-sdk-layer.md)
- [15.5 Integrating Smart Contracts via APIs](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.5-integrating-smart-contracts-via-apis.md)
- [15.6 Backend Integration Patterns](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.6-backend-integration-patterns.md)
- [15.7 Monitoring and Event Handling](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.7-monitoring-and-event-handling.md)
- [15.8 API Security Considerations](https://docs.frequencychain.org/15.-apis-and-sdk-integration/15.8-api-security-considerations.md)
- [16.	Best Practices, Security, and Production Readiness](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness.md)
- [16.1 Smart Contract Security](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.1-smart-contract-security.md)
- [16.2 Key Management and Wallet Security](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.2-key-management-and-wallet-security.md)
- [16.3 Node and Infrastructure Reliability](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.3-node-and-infrastructure-reliability.md)
- [16.4 API and Backend Security](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.4-api-and-backend-security.md)
- [16.5 Transaction Management and Gas Optimization](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.5-transaction-management-and-gas-optimization.md)
- [16.6 Testing and Deployment Strategy](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.6-testing-and-deployment-strategy.md)
- [16.7 Observability and Monitoring](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.7-observability-and-monitoring.md)
- [16.8 Scalability Considerations](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.8-scalability-considerations.md)
- [16.9 Upgrade and Maintenance Strategy](https://docs.frequencychain.org/16.-best-practices-security-and-production-readiness/16.9-upgrade-and-maintenance-strategy.md)
- [17. Conclusion](https://docs.frequencychain.org/17.-conclusion.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.frequencychain.org/1.-introduction-to-frequency-x-chain-frecx-developer-documentation.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.
