Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erhant/moonmath
Solutions to exercises from MoonMath Manual to zkSNARKs.
https://github.com/erhant/moonmath
algebra cryptography mathematics sage web3 zero-knowledge
Last synced: about 1 month ago
JSON representation
Solutions to exercises from MoonMath Manual to zkSNARKs.
- Host: GitHub
- URL: https://github.com/erhant/moonmath
- Owner: erhant
- License: mit
- Created: 2022-11-17T13:24:59.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-24T20:08:04.000Z (3 months ago)
- Last Synced: 2024-10-12T16:33:56.343Z (2 months ago)
- Topics: algebra, cryptography, mathematics, sage, web3, zero-knowledge
- Language: Sage
- Homepage: https://leastauthority.com/community-matters/moonmath-manual/
- Size: 1.64 MB
- Stars: 65
- Watchers: 1
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🌑 Moon Math 🌕
Exercises & codes from the "MoonMath Manual to zkSNARKs" by Least Authority.
Chapters1. [**Introduction**](./introduction/)
2. [**Software Used in This Book**](./software-used/)
3. [**Arithmetics**](./arithmetics/)
4. [**Algebra**](./algebra/)
5. [**Elliptic Curves**](./elliptic-curves/)
6. [**Statements**](./statements/)
7. [**Circuit Compilers**](./circuit-compilers/)
8. [**Zero-Knowledge Protocols**](./zero-knowledge/)
UsageSee [Software Used](./software-used/) for the required software. If you don't have [Sage](https://www.sagemath.org/) installed, you can use [Docker](https://www.docker.com/) mounted over the repository. We have scripts for that:
```sh
make pull # pull the SageMath image
make sage # open Sage CLI
make notebook # open Jupyter Notebook with Sage
```We also have a script that converts all the notebooks into Markdown format via `jupyter nbconvert` so that they are easier to read on the web from the READMEs alone:
```sh
make markdown
```
BookA [mdBook](https://github.com/rust-lang/mdBook) build can be created & opened with:
```sh
make book
```The README file are copied under the [`.book`](./.book/) directory and a build is created from them. Note that it is not hot-reloaded (i.e. `mdbook serve`). You will also need [KaTeX](https://github.com/lzanini/mdbook-katex) and [Mermaid](https://github.com/badboy/mdbook-mermaid) plugins.
ContributionsPlease feel free to open an issue or create a pull-request if something is not clear, could have been better, or is missing references. For the chapters with notebooks, please write the changes in the notebook and then generate the README files with `make markdown`.