> For the complete documentation index, see [llms.txt](https://base-tech.gitbook.io/base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://base-tech.gitbook.io/base/7.-using-bigbangnet/7.2-writing-your-first-contract.md).

# 7.2 Writing your first contract

Now that the project setup is complete, let's begin writing our first contract.

Please open the counter.clar file located in the contracts directory.

To store individual counter values, we will use a map. Maps are an excellent choice because they allow for data to be added as more principals call into the contract over time.
