> For the complete documentation index, see [llms.txt](https://docs.nujan.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nujan.io/2.-getting-started-with-ide/2.5-build-and-deploy/a.-sandbox-environment.md).

# A. Sandbox Environment

 The Sandbox is a controlled and isolated environment that provides a secure space for developers to thoroughly test and experiment with their smart contract applications without impacting the production system. It allows for the identification and resolution of potential issues, ensuring the final product's stability and reliability. By simulating real-world interactions, developers can validate functionalities and mitigate risks before deploying to the live environment.  

* **For Example - TON:** The local TON network within the Sandbox environment enables emulation of TON smart contracts, facilitating message sending, and running get methods as if deployed on a real network.  

**How to Build and Deploy on Sandbox:**   \
\
**Step 1:** Open the desired .fc (smart contract) file.  \
&#x20;            Let’s take main.fc for example

<figure><img src="https://2267424779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxT0ysqQIv3R1A632By8%2Fuploads%2FFLXoyn5yp09p7HEi1EN4%2Fpage%207.png?alt=media&amp;token=e94c13e6-7567-4caf-9c22-a0a6d49a584b" alt="" width="563"><figcaption></figcaption></figure>

**Step 2:** Navigate to the build and deploy tab from the Icon Panel

<figure><img src="https://2267424779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxT0ysqQIv3R1A632By8%2Fuploads%2F6PdotSLcRZG15WtlmYJ7%2Fpage%208%20-1.png?alt=media&amp;token=f5481da2-46b0-4b1e-8e1d-781252f6d656" alt="" width="563"><figcaption></figcaption></figure>

you can see the below log in the terminal

<figure><img src="https://2267424779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxT0ysqQIv3R1A632By8%2Fuploads%2FfsdIELoUAnaDYXJVPeHw%2F8-2.png?alt=media&amp;token=98051a12-a5c9-43e7-903f-6b9f615a2868" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on the "Build and Deploy main.fc" option.

<figure><img src="https://2267424779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxT0ysqQIv3R1A632By8%2Fuploads%2FBdkptRveZ63KwXYfJWmz%2F8-3.png?alt=media&amp;token=318feec3-f415-4545-a39a-a8c82beeeb7e" alt="" width="563"><figcaption></figcaption></figure>

**Step 4 :** yayyy!!!! You have successfully deployed it on sandbox

You will now see a Success Log in the terminal

<figure><img src="https://2267424779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxT0ysqQIv3R1A632By8%2Fuploads%2FVdi1AxRoYCMKR1fvvcfj%2F9-1.png?alt=media&amp;token=a9420c3f-af83-4cbb-8a77-33898453ae3b" alt=""><figcaption></figcaption></figure>

Lets Understand the side panel in the Sandbox environment\ <br>

<figure><img src="https://2267424779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxT0ysqQIv3R1A632By8%2Fuploads%2FxD46B99U3fWGzZLBzO5x%2F9-2.png?alt=media&amp;token=d7637b71-396d-467d-a3f0-36e62eed9a00" alt="" width="375"><figcaption></figcaption></figure>

**Getters :**   A getter function is a read-only method that allows external users or other smart contracts to retrieve specific data from the contract's state. It enables transparency by exposing internal information, such as variables or state variables, without modifying the blockchain's state. Getters facilitate easy data access and support various use cases, like displaying data on user interfaces or making decisions based on contract data.\
\
For eg - Here the getters are “get\_counter” and “get\_id”\
\
**Setters:**   A "setter" is a function or method that allows external users or other smart contracts to modify or update the contract's state by changing the values of its state variables. Unlike getters, setters facilitate write access to the contract's internal data and enable the modification of information stored on the blockchain.
