# Smart Contract Guides

### Smart Contracts <a href="#smart-contracts" id="smart-contracts"></a>

Creditcoin is a Substrate-based chain like its sibling CC Enterprise, but it includes an EVM-compatible layer called Frontier. This allows users to run EVM smart contracts natively on Creditcoin and also provides the same RPC endpoints an EVM chain would to support tools and wallets such as MetaMask, Remix, Hardhat & Foundry.

Smart contracts are self-executing contracts with the terms of the agreement directly written into code. On the Creditcoin blockchain, these contracts are commonly written in a programming language called Solidity and are executed on the Ethereum Virtual Machine (EVM) included in the Creditcoin runtime.

The EVM provides a secure and deterministic execution environment for smart contracts. Every node on the Creditcoin network runs a copy of the EVM, ensuring that smart contracts behave consistently across all nodes.

### Start developing on Creditcoin <a href="#start-developing-on-creditcoin" id="start-developing-on-creditcoin"></a>

* [Connecting local node to Metamask](/wallets/how-to-connect-your-wallet-to-creditcoin/metamask.md)
* [EVM accounts & wallets](/wallets/advanced/substrate-and-evm-accounts.md)
* [Creditcoin endpoints](/smart-contract-guides/creditcoin-endpoints.md)
* [Deploying contracts with Remix](/smart-contract-guides/deploying-contracts-with-remix.md)
* [Hardhat Smart Contract Development](/smart-contract-guides/hardhat-smart-contract-development.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.creditcoin.org/smart-contract-guides.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.
