Go to file
Paul 04c0077ddf
fix if let (#28)
2022-03-06 16:45:16 -05:00
.github/workflows add CNAME to gh-pages branch via ci (#3) 2022-02-06 20:43:44 +01:00
programs/tic-tac-toe unnecessary if let (#25) 2022-03-06 16:40:56 -05:00
src fix if let (#28) 2022-03-06 16:45:16 -05:00
.gitignore add programs dir and tic-tac-toe program (#21) 2022-02-25 22:17:36 +01:00
CNAME add master branch and build and deploy to gh pages via ci (#2) 2022-02-06 20:35:56 +01:00
LICENSE Add license (#17) 2022-02-22 10:19:57 -05:00
README.md tags to run older versions of the book (#27) 2022-03-06 16:41:49 -05:00
book.toml add master branch and build and deploy to gh pages via ci (#2) 2022-02-06 20:35:56 +01:00

README.md

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 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 tag e.g. tag v0.22.0 is the last commit of the book that was compatible with anchor version 0.22.0.

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.