harshkn / anchor-book

The Anchor Book

Home Page:https://book.anchor-lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚓ The Anchor Book

Get up and running with Anchor, the framework for building secure, reliable Solana apps.

🤝 Contributing

Feel free to file an issue or submit a pull request.

Programs

You can find the program examples used in the book in the programs directory.

💻 Run The Anchor Book Locally

To run on a Mac, install Homebrew if you don't already have it.

Then, run the following commands:

brew upgrade
brew install mdbook

Next, clone this repo and serve the book:

git clone https://github.com/project-serum/anchor-book.git
cd anchor-book
mdbook serve

The book will be available at http://localhost:3000 in your browser.

Run an older version

If you want to know how something worked in previous versions of anchor, you can check out a branch e.g. branch v0.21.0 is the branch with all commits of the book that were made before anchor v0.22.0 was released.

License

The Anchor Book is licensed under Apache 2.0.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Anchor by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

The Anchor Book

https://book.anchor-lang.com

License:Apache License 2.0


Languages

Language:TypeScript 63.5%Language:Rust 36.5%