# copy

- [Getting Started](https://docs.phron.ai/developers/copy/getting-started.md)
- [Quick Start](https://docs.phron.ai/developers/copy/getting-started/quick-start.md)
- [Prerequisites](https://docs.phron.ai/developers/copy/getting-started/quick-start/prerequisites.md)
- [Familiarity with Rust](https://docs.phron.ai/developers/copy/getting-started/quick-start/prerequisites/familiarity-with-rust.md)
- [Familiarity with Solidity](https://docs.phron.ai/developers/copy/getting-started/quick-start/prerequisites/familiarity-with-solidity.md)
- [Quick Setup](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup.md)
- [1. Install Phron SDK](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup/1.-install-phron-sdk.md)
- [Rust Developers](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup/1.-install-phron-sdk/rust-developers.md)
- [Solidity Developers](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup/1.-install-phron-sdk/solidity-developers.md)
- [2. Connect to testnet](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup/2.-connect-to-testnet.md)
- [3. Deploy your first Rust smart contract](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup/3.-deploy-your-first-rust-smart-contract.md)
- [4. Deploy your first Solidity smart contract](https://docs.phron.ai/developers/copy/getting-started/quick-start/quick-setup/4.-deploy-your-first-solidity-smart-contract.md)
- [Installation](https://docs.phron.ai/developers/copy/getting-started/installation.md)
- [SDK Installation (support for both Rust and Solidity)](https://docs.phron.ai/developers/copy/getting-started/installation/sdk-installation-support-for-both-rust-and-solidity.md)
- [Node Setup (mainnet/testnet)](https://docs.phron.ai/developers/copy/getting-started/installation/node-setup-mainnet-testnet.md)
- [Wallet Setup (configure wallet for testnet/mainnet)](https://docs.phron.ai/developers/copy/getting-started/installation/wallet-setup-configure-wallet-for-testnet-mainnet.md)
- [Testnet & Mainnet Access](https://docs.phron.ai/developers/copy/getting-started/testnet-and-mainnet-access.md)
- [RPC endpoints for both environments](https://docs.phron.ai/developers/copy/getting-started/testnet-and-mainnet-access/rpc-endpoints-for-both-environments.md)
- [Explorer links for tracking testnet and mainnet transactions](https://docs.phron.ai/developers/copy/getting-started/testnet-and-mainnet-access/explorer-links-for-tracking-testnet-and-mainnet-transactions.md)
- [Local Development Environment](https://docs.phron.ai/developers/copy/getting-started/local-development-environment.md)
- [Instructions for setting up a local node](https://docs.phron.ai/developers/copy/getting-started/local-development-environment/instructions-for-setting-up-a-local-node.md)
- [Details on how Rust and Solidity developers can integrate their local environment](https://docs.phron.ai/developers/copy/getting-started/local-development-environment/details-on-how-rust-and-solidity-developers-can-integrate-their-local-environment.md)
- [Core Concepts](https://docs.phron.ai/developers/copy/core-concepts.md)
- [Blockchain Fundamentals](https://docs.phron.ai/developers/copy/core-concepts/blockchain-fundamentals.md)
- [Overview of Phron.ai’s consensus mechanism (AI-backed PoS, DAG)](https://docs.phron.ai/developers/copy/core-concepts/blockchain-fundamentals/overview-of-phron.ais-consensus-mechanism-ai-backed-pos-dag.md)
- [Validator roles and node requirements](https://docs.phron.ai/developers/copy/core-concepts/blockchain-fundamentals/validator-roles-and-node-requirements.md)
- [Smart Contract Duality (Rust & Solidity)](https://docs.phron.ai/developers/copy/core-concepts/smart-contract-duality-rust-and-solidity.md)
- [Explanation of how Phron.ai supports both Rust and Solidity smart contracts](https://docs.phron.ai/developers/copy/core-concepts/smart-contract-duality-rust-and-solidity/explanation-of-how-phron.ai-supports-both-rust-and-solidity-smart-contracts.md)
- [Differences in compiling, deploying, and interacting with these two languages](https://docs.phron.ai/developers/copy/core-concepts/smart-contract-duality-rust-and-solidity/differences-in-compiling-deploying-and-interacting-with-these-two-languages.md)
- [Tokenomics](https://docs.phron.ai/developers/copy/core-concepts/tokenomics.md)
- [Native token details, staking, slashing, and validator incentives](https://docs.phron.ai/developers/copy/core-concepts/tokenomics/native-token-details-staking-slashing-and-validator-incentives.md)
- [Smart Contracts](https://docs.phron.ai/developers/copy/smart-contracts.md)
- [Writing Smart Contracts](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts.md)
- [RUST Contracts](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts.md)
- [Phron smart contracts basics](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/phron-smart-contracts-basics.md): Join us on the Phron Testnet to explore smart contract functionalities—this guide will walk you through setting up, deploying, testing, and accessing tools to build secure and scalable dApps.
- [Setting up a Testnet account](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/phron-smart-contracts-basics/setting-up-a-testnet-account.md): All you need to know about navigating the Testnet can be found here as we go over the two crucial components necessary to take advantage of this test environment.
- [Installing required tools](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/phron-smart-contracts-basics/installing-required-tools.md): Before running your first smart contract on Phron, you will first need to prepare your computer for development in Rust and ink!. Here's a handy guide to get you started.
- [Creating your first contract](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/phron-smart-contracts-basics/creating-your-first-contract.md): As now your machine is ready for development, it's time we build our first smart contract. The example contract we are going to develop in this tutorial is a simplified version of the ERC20 token.
- [Deploying your contract to Phron Testnet](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/phron-smart-contracts-basics/deploying-your-contract-to-phron-testnet.md): In this tutorial, we will go over the some of the ways of interacting with the smart contract environments on the Phron blockchain.
- [Extending your contract](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/phron-smart-contracts-basics/extending-your-contract.md): Here you will find a collection of "how to" on various topics related to writing smart contracts in ink!
- [Cross contract calls](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/cross-contract-calls.md): This section covers the more advanced topic of calling another contract from your code.
- [Using references](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/cross-contract-calls/using-references.md): The Bulletin Board example uses a reference to the HighlightedPosts contract to delete highlights. In this section, we will take a look at three basic building blocks of cross-contract calls.
- [Using dynamic calls](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/rust-contracts/cross-contract-calls/using-dynamic-calls.md): If you find yourself needing more expressive power than the references have to offer, you can use the dynamically constructed calls.
- [Solidity Contracts](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts.md)
- [Phron API](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api.md)
- [Get Started with Smart Contracts](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api/get-started-with-smart-contracts.md)
- [Using GPT-4 to Write and Debug Solidity Smart Contracts](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api/get-started-with-smart-contracts/using-gpt-4-to-write-and-debug-solidity-smart-contracts.md)
- [How to Build a DApp: Complete DApp Architecture](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api/get-started-with-smart-contracts/how-to-build-a-dapp-complete-dapp-architecture.md)
- [Using Foundry Start to End with Phron](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api/get-started-with-smart-contracts/using-foundry-start-to-end-with-phron.md)
- [Hardhat Developer Workflow](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api/get-started-with-smart-contracts/hardhat-developer-workflow.md)
- [Smart Contracts: WASM vs Solidity](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-api/get-started-with-smart-contracts/smart-contracts-wasm-vs-solidity.md)
- [Phron Toolkit](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-toolkit.md)
- [Libraries](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-toolkit/libraries.md)
- [viem](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-toolkit/libraries/viem.md)
- [Dev Environments](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-toolkit/dev-environments.md)
- [Verify Contracts](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-toolkit/verify-contracts.md)
- [JSON-RPC APIs](https://docs.phron.ai/developers/copy/smart-contracts/writing-smart-contracts/solidity-contracts/phron-toolkit/json-rpc-apis.md)
- [Deployment & Interaction](https://docs.phron.ai/developers/copy/smart-contracts/deployment-and-interaction.md)
- [Deploying Smart Contracts](https://docs.phron.ai/developers/copy/smart-contracts/deployment-and-interaction/deploying-smart-contracts.md)
- [Interacting with deployed contracts](https://docs.phron.ai/developers/copy/smart-contracts/deployment-and-interaction/interacting-with-deployed-contracts.md)
- [Smart Contract Libraries](https://docs.phron.ai/developers/copy/smart-contracts/smart-contract-libraries.md)
- [Phron.ai smart contract libraries](https://docs.phron.ai/developers/copy/smart-contracts/smart-contract-libraries/phron.ai-smart-contract-libraries.md)
- [Using the SDK](https://docs.phron.ai/developers/copy/smart-contracts/using-the-sdk.md)
- [Connecting the SDK](https://docs.phron.ai/developers/copy/smart-contracts/using-the-sdk/connecting-the-sdk.md)
- [APIs & SDKs](https://docs.phron.ai/developers/copy/apis-and-sdks.md)
- [SDK Overview](https://docs.phron.ai/developers/copy/apis-and-sdks/sdk-overview.md)
- [Overview of SDK functionality (for Rust and Solidity)](https://docs.phron.ai/developers/copy/apis-and-sdks/sdk-overview/overview-of-sdk-functionality-for-rust-and-solidity.md)
- [API Documentation](https://docs.phron.ai/developers/copy/apis-and-sdks/api-documentation.md)
- [REST & GraphQL API](https://docs.phron.ai/developers/copy/apis-and-sdks/api-documentation/rest-and-graphql-api.md)
- [Web3 Libraries & Tools](https://docs.phron.ai/developers/copy/apis-and-sdks/web3-libraries-and-tools.md)
- [Specific tools and libraries](https://docs.phron.ai/developers/copy/apis-and-sdks/web3-libraries-and-tools/specific-tools-and-libraries.md)
- [Node Operation](https://docs.phron.ai/developers/copy/node-operation.md)
- [Overview](https://docs.phron.ai/developers/copy/node-operation/overview.md)
- [Validator Nodes](https://docs.phron.ai/developers/copy/node-operation/overview/validator-nodes.md)
- [Non-Validator Nodes](https://docs.phron.ai/developers/copy/node-operation/overview/non-validator-nodes.md)
- [Why Run a Node?](https://docs.phron.ai/developers/copy/node-operation/overview/why-run-a-node.md)
- [Earn staking rewards as a validator](https://docs.phron.ai/developers/copy/node-operation/overview/why-run-a-node/earn-staking-rewards-as-a-validator.md)
- [Support network security and decentralization](https://docs.phron.ai/developers/copy/node-operation/overview/why-run-a-node/support-network-security-and-decentralization.md)
- [Participate in governance and decision-making](https://docs.phron.ai/developers/copy/node-operation/overview/why-run-a-node/participate-in-governance-and-decision-making.md)
- [Node Requirements](https://docs.phron.ai/developers/copy/node-operation/node-requirements.md)
- [Hardware Requirements](https://docs.phron.ai/developers/copy/node-operation/node-requirements/hardware-requirements.md)
- [Software Requirements](https://docs.phron.ai/developers/copy/node-operation/node-requirements/software-requirements.md)
- [Setting Up a Validator Node](https://docs.phron.ai/developers/copy/node-operation/setting-up-a-validator-node.md)
- [Installing Node Software](https://docs.phron.ai/developers/copy/node-operation/installing-node-software.md)
- [Advanced Topics](https://docs.phron.ai/developers/copy/advanced-topics.md)
- [Consensus & Security](https://docs.phron.ai/developers/copy/advanced-topics/consensus-and-security.md)
- [In-depth details about AI-backed consensus](https://docs.phron.ai/developers/copy/advanced-topics/consensus-and-security/in-depth-details-about-ai-backed-consensus.md)
- [Dual-Language Development](https://docs.phron.ai/developers/copy/advanced-topics/dual-language-development.md)
- [How to optimize dApp development](https://docs.phron.ai/developers/copy/advanced-topics/dual-language-development/how-to-optimize-dapp-development.md)
- [How Rust and Solidity smart contracts can interact](https://docs.phron.ai/developers/copy/advanced-topics/dual-language-development/how-rust-and-solidity-smart-contracts-can-interact.md)
- [Tutorials & Examples](https://docs.phron.ai/developers/copy/tutorials-and-examples.md)
- [Rust and Solidity Tutorials](https://docs.phron.ai/developers/copy/tutorials-and-examples/rust-and-solidity-tutorials.md)
- [Rust contract](https://docs.phron.ai/developers/copy/tutorials-and-examples/rust-and-solidity-tutorials/rust-contract.md)
- [Solidity contract](https://docs.phron.ai/developers/copy/tutorials-and-examples/rust-and-solidity-tutorials/solidity-contract.md)
- [Full-stack dApp Development](https://docs.phron.ai/developers/copy/tutorials-and-examples/full-stack-dapp-development.md)
- [Sample project combining Rust and Solidity smart contracts](https://docs.phron.ai/developers/copy/tutorials-and-examples/full-stack-dapp-development/sample-project-combining-rust-and-solidity-smart-contracts.md)
- [Examples using both contracts in different scenarios](https://docs.phron.ai/developers/copy/tutorials-and-examples/full-stack-dapp-development/examples-using-both-contracts-in-different-scenarios.md)
- [Debugging & Troubleshooting](https://docs.phron.ai/developers/copy/tutorials-and-examples/debugging-and-troubleshooting.md)
- [Debugging tips for both Rust and Solidity smart contracts](https://docs.phron.ai/developers/copy/tutorials-and-examples/debugging-and-troubleshooting/debugging-tips-for-both-rust-and-solidity-smart-contracts.md)
- [Specific tools for each language](https://docs.phron.ai/developers/copy/tutorials-and-examples/debugging-and-troubleshooting/specific-tools-for-each-language.md)
- [Security Best Practices](https://docs.phron.ai/developers/copy/tutorials-and-examples/security-best-practices.md)
- [Security guidelines for smart contracts](https://docs.phron.ai/developers/copy/tutorials-and-examples/security-best-practices/security-guidelines-for-smart-contracts.md)
- [How to audit contracts](https://docs.phron.ai/developers/copy/tutorials-and-examples/security-best-practices/how-to-audit-contracts.md)
- [Ecosystem & Community](https://docs.phron.ai/developers/copy/tutorials-and-examples/ecosystem-and-community.md)
- [Showcase open-source dApps, projects, and partnerships using both Rust and Solidity on Phron.ai](https://docs.phron.ai/developers/copy/tutorials-and-examples/ecosystem-and-community/showcase-open-source-dapps-projects-and-partnerships-using-both-rust-and-solidity-on-phron.ai.md)


---

# 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://docs.phron.ai/developers/copy.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.
