Skip to content

Clarity of Mind is both an introductory as well as a reference book for the Clarity smart contract language.

License

Notifications You must be signed in to change notification settings

Stacks-Indonesia/clarity-book

 
 

Repository files navigation

Clarity Book

Clarity of Mind is both an introductory as well as a reference book for the Clarity smart contract language. Clarity is developed as a joint effort of Hiro PBC, Algorand, and various other stakeholders, that originally targets the Stacks blockchain. A significant innovation in the field of smart contract development, Clarity allows you to write more safe and secure smart contracts. The language optimises for readability and predictability and is purpose-built for developers working applications with high-stakes transactions.

The book is free and open source, written in Markdown files. You can clone this repository and build a HTML version of the book. Different build scripts are expected to be added in the future. (PDF, ePub, and so on.)

The book can be accessed online here: http://book.clarity-lang.org.

Building

  • Clone this repository.
  • npm install to install build dependencies.
  • npm run build will output a HTML version to the build folder.

You may use npm run dev to run a local instance that triggers a rebuild when it detects a file change.

License

Creative Commons Attribution Share Alike 4.0 International. Any code is licensed under MIT.

About

Clarity of Mind is both an introductory as well as a reference book for the Clarity smart contract language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 43.2%
  • JavaScript 31.0%
  • Clarity 14.2%
  • CSS 9.7%
  • HTML 1.9%