# Open Source

1. **Optimization**
   * *Description*: Enables the Solidity optimizer when activated.
2. **Optimizer Runs** (Integer)
   * *Definition*: Estimated number of contract executions over its lifetime.
3. **Solidity Version** (Compiler)
   * *Format*: Semantic versioning (e.g., ^0.8.20).
4. **License**
   * *Common Options*:
     * MIT (Most permissive)
     * GPL-3.0 (Copyleft)
     * Apache-2.0 (Patent protection)
     * UNLICENSED (Not recommended for open-source)

## CORE Open-Source Development Tutorial

{% embed url="<https://www.youtube.com/watch?v=MiZkJJTwL4k>" %}

First, you need to copy the source code on the platform's admin token page.

<figure><img src="https://303994609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvjuVZbKY9RY73UABdWK%2Fuploads%2Fz99nnoczMZRlgwK0V4aA%2Fphoto_2025-04-07_17-42-50.jpg?alt=media&#x26;token=79a3dc84-c35e-40b3-8622-f93825e07a25" alt=""><figcaption></figcaption></figure>

Access the Core chain to verify the open-source code. Follow the steps below to deploy your contract and select the parameters as shown in the diagram.

<figure><img src="https://303994609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvjuVZbKY9RY73UABdWK%2Fuploads%2Fjtjv0P8IiouvHRDSdMKC%2Fphoto_2025-04-07_16-50-18.jpg?alt=media&#x26;token=7bc6c520-15ed-4bf5-a78d-45c143ba93bc" alt=""><figcaption></figcaption></figure>

Copy the open-source parameter panel source code and input the corresponding constructor parameters into the source code. To remove ads from the contract code, simply delete the platform URL at the top.

**Note:** This platform supports open-sourcing without requiring constructor parameters. If the blockchain explorer auto-generates them, clear the parameter field.

<figure><img src="https://303994609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvjuVZbKY9RY73UABdWK%2Fuploads%2Fx2Gm3SqqLHI9SMWYFE8W%2Fphoto_2025-04-07_17-41-23.jpg?alt=media&#x26;token=aa74bdf1-46b5-4588-a199-79ba21c1e692" alt=""><figcaption></figcaption></figure>

Select "Yes" for Optimization.

<figure><img src="https://303994609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvjuVZbKY9RY73UABdWK%2Fuploads%2FnlmqvoQC5bMcfr0eNeyY%2Fphoto_2025-04-07_16-50-36.jpg?alt=media&#x26;token=0cefefaf-d9af-445c-8ecf-7e9e9e4b314e" alt=""><figcaption></figcaption></figure>

After completing the setup, click **"Verify and Publish"** below to complete the open-source process.

<figure><img src="https://303994609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvjuVZbKY9RY73UABdWK%2Fuploads%2Fir0GlgtWTwY324G1KrM9%2Fphoto_2025-04-07_16-50-43.jpg?alt=media&#x26;token=4b747e1b-d35a-4e5b-8597-1c883681ee83" alt=""><figcaption></figcaption></figure>

If you have any questions, please join the official telegram group: <https://t.me/GToken_EN>
