Clarity is a smart contracting language for use with the Stacks 2.0 Blockchain. It supports programmatic control over digital assets and unlocks interesting capabilities for decentralized applications. Note that not every application requires smart contracts.
Clarity is a smart contracting language for use with the Stacks 2.0 Blockchain. It supports programmatic control over digital assets.
* TOC
{:toc}
@ -19,6 +19,16 @@ In Nick Szabo's metaphor, the vending machine is the smart contract. The buyer a
If you are new to smart contracts concepts, you should read <ahref="https://blockgeeks.com/guides/smart-contracts/"target="_blank">a good general explanation</a> first.
## Use cases
Not every decentralized application requires smart contracts, but Clarity unlocks interesting capabilities for decentralized applications. Examples of interesting use cases include, but are not limited to:
* Access control (e.g. pay to access)
* Non-fungible and fungible tokens
* Business model templates (e.g. subscriptions)
* App Chains
* Decentralized Autonomous Organizations
## Language design
Clarity is a list processing (LISP) language and differs from most other smart contract languages in two essential ways:
@ -42,4 +52,4 @@ Note some of the key Clarity language rules and limitations:
## Learning Clarity
You can try a [Hello World tutorial](tutorial-counter.html) or jump right into the [language reference](clarityRef.html).
You can try a [Hello World tutorial](tutorial.html) or jump right into the [language reference](clarityRef.html).
@ -37,7 +37,7 @@ In this step, you initialize a starter project with additional counter tutorial
```bash
? Template - one of [hello-world, counter]: counter
? Project name: (clarity-counter-project)
? Project name: (clarity-counter)
```
Finally, the project dependencies are installed and your project is ready for development. Because you already completed the Hello World tutorial, the project structure is familiar to you. The main difference is that we have additional tests for a new counter smart contract.