> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/tr/gelistir/temel-ogeler/akilli-sozlesme-dogrulama/chiliz-block-explorer-ile-dogrulama.md).

# Chiliz Block Explorer ile Doğrulama

Web formu, Hardhat eklentisi veya Blockscout API kullanarak Chiliz Block Explorer (Blockscout) aracılığıyla Chiliz Chain'deki akıllı sözleşmeleri doğrulayın.

[Chiliz Block Explorer](https://scan.chiliz.com/), Blockscout tarafından oluşturulmuş bir hizmettir. Günlük kullanım için [kendi belgelerine](https://docs.blockscout.com/) başvurabilirsiniz.

Blockscout, Chiliz Chain'deki akıllı sözleşmenizi doğrulamak için çeşitli yöntemler sunar:

* Çoğu sözleşme için: Doğrulama özelliğini kullanın.
* Daha karmaşık sözleşmeler için: Hardhat gibi komut satırı araçları.
* Basit sözleşmeler için: API.

Blockscout'un [sözleşme doğrulama belgelerine](https://docs.blockscout.com/devs/verification) bakın.

## Chiliz Block Explorer Doğrulama Özelliğini Kullanma

Chiliz Block Explorer, Chiliz Mainnet için aşağıdaki adreste bir sözleşme doğrulama arayüzü sunmaktadır:\
<https://scan.chiliz.com/contract-verification>.\
Ayrıca burada belgelenmiştir: <https://docs.blockscout.com/devs/verification/blockscout-ui>

{% hint style="info" %}
Spicy Testnet'teki sözleşmeleri de bu arayüzle doğrulayabilirsiniz:\
<https://spicy-explorer.chiliz.com/>
{% endhint %}

{% hint style="info" %}
Çoklu dosyalı sözleşmelerde, yüklemeden önce kodunuzun düzleştirildiğinden emin olun.

Örneğin Remix IDE kullanıyorsanız, Dosya Gezgininde derlenmiş `contract-XYZ.sol` sözleşme dosyasına sağ tıklayıp "Düzleştir" seçeneğini seçebilirsiniz.\
Ardından oluşan dosyayı (`contract-XYZ_flattened.sol` adıyla) indirip doğrulama formuna yükleyin.
{% endhint %}

Adımlar:

1. "Doğrulanacak sözleşme adresi" alanına akıllı sözleşmenin adresini girin.
2. Sözleşmenize uygulamak istediğiniz lisansı seçin. Bunun ne anlama geldiği hemen anlaşılmayabileceğinden, açık kaynak lisansları hakkında [hızlı bir açıklama](https://choosealicense.com/) için bu bağlantıya göz atın.

<figure><img src="https://1947934350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsaWTK3JzMTRe9Vohd0iJ%2Fuploads%2FeQonBnBGpAWdJxC7TKJN%2Fimage.png?alt=media&amp;token=60aed541-8528-4b01-9678-258c60236c7c" alt=""><figcaption></figcaption></figure>

3. Doğrulama yöntemini seçin.\
   En basit yöntem, Solidity sözleşmenizin düzleştirilmiş bir sürümünü veya "Solidity (Tek dosya)" seçeneğini kullanmaktır.
4. Derleyici sürümünü (Chiliz Chain, v0.8.30'a kadar olan sürümleri destekler) ve EVM sürümünü (Chiliz Chain, Prague sürümüne kadar olan sürümleri destekler) seçin.

<figure><img src="https://1947934350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsaWTK3JzMTRe9Vohd0iJ%2Fuploads%2FzAPuKjbV1YXVtSdbMbcp%2Fimage.png?alt=media&amp;token=47653aa2-25e6-49b4-b1b5-f98a95f90819" alt=""><figcaption></figcaption></figure>

5. Son olarak "Sözleşme Kodu" alanına, akıllı sözleşmeyi orijinal olarak derlemek için kullandığınız akıllı sözleşme kodunu yapıştırın ve "Doğrula ve Yayımla"ya tıklayın.

<figure><img src="https://1947934350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsaWTK3JzMTRe9Vohd0iJ%2Fuploads%2FbX1lGRTXsxlxNRz9Kq7q%2Fimage.png?alt=media&amp;token=6da1e817-a72c-40b9-b0e1-5107ba978437" alt=""><figcaption></figcaption></figure>

Başarılı olursa, sözleşmeniz yeşil onay işaretiyle açıkça doğrulanmış olarak etiketlenecektir. Blok gezgini kaynak kodunu görünür kılacak ve tüm etkileşimli özellikleri etkinleştirecektir.

<figure><img src="https://1947934350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsaWTK3JzMTRe9Vohd0iJ%2Fuploads%2F7gqTy0WadCIJCKPmSIO4%2Fimage.png?alt=media&amp;token=879bcbe5-d35e-4bd0-8820-ee48dccff3a3" alt="" width="563"><figcaption></figcaption></figure>

Örneğin, $PSG Fan Token bir proxy sözleşmesi olarak dağıtılmıştır; doğrulanmış implementation sözleşmesi Chiliz Block Explorer üzerinde burada görüntülenir (yeşil onay işaretine dikkat edin):

{% embed url="<https://scan.chiliz.com/address/0xeC991a3FA1bfB4835A1D22f3df05c2CED5B7bF6d?tab=contract>" %}

## Komut Satırı Araçlarını Kullanma

Blockscout'un kendi belgeleri, doğrulama için komut satırı araçlarının nasıl kullanılacağına dair [ayrıntılı kılavuzlar](https://docs.blockscout.com/devs/verification) sunmaktadır. Bu, sözleşme doğrulamasını geliştirme ortamınızda otomatikleştirmek istiyorsanız özellikle yararlıdır.

Deploy ve doğrulama konusundaki kılavuzları şunlarla okuyabilirsiniz:

* [Hardhat](https://docs.blockscout.com/devs/verification/hardhat-verification-plugin)
* [Foundry](https://docs.blockscout.com/devs/verification/foundry-verification)
* [Sourcify](https://docs.blockscout.com/devs/verification/contracts-verification-via-sourcify)
* [Remix](https://docs.blockscout.com/devs/verification/remix-verification)
* ... ve daha fazlası!

## Blockscout'un API'sini Kullanma

Blockscout'un özel bir sözleşme doğrulama API'si vardır:

{% embed url="<https://docs.blockscout.com/devs/verification/blockscout-smart-contract-verification-api>" %}

API uç noktaları:

* Chiliz Mainnet: <https://scan-api.chiliz.com/api/v2/>
* Spicy Testnet: <https://spicy-explorer-api.chiliz.com/api/v2/>


---

# 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 that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chiliz.com/tr/gelistir/temel-ogeler/akilli-sozlesme-dogrulama/chiliz-block-explorer-ile-dogrulama.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
