This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs(README): fix typo of grammar * ci(mdbook): init mdbook actions * docs(book): add book folder back
- Loading branch information
Showing
7 changed files
with
80 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: github pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup mdBook | ||
uses: peaceiris/actions-mdbook@v1 | ||
with: | ||
mdbook-version: 'latest' | ||
|
||
- run: mdbook build | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/target | ||
target | ||
gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
book/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[book] | ||
authors = ["Megaclite"] | ||
language = "en" | ||
multilingual = false | ||
src = "book" | ||
title = "Megaclite" | ||
|
||
[build] | ||
build-dir = "gh-pages" | ||
|
||
[output.html] | ||
default-theme = "dark" | ||
preferred-dark-theme = "ayu" | ||
git-repository-url = "https://github.com/patractlabs/megaclite" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Megaclite | ||
|
||
Megaclite is a zero-knowledge proof tool set building for the Polkadot ecology. | ||
|
||
## Curves | ||
|
||
Here we provide `alt_bn128` and `bls12_381` curves for ZKP, both of them contain `Integrate addition`, | ||
`Scalar multiplication` and `Pairing` functions, for helping devlopers trying and testing the curves, | ||
we provide `groth16` for verifaction as well. | ||
|
||
|
||
## Runtime Interfaces | ||
|
||
+ [jupiter-contracts][jupiter-contracts] | ||
|
||
|
||
## Ink! | ||
|
||
+ [jupiter-ink-env][jupiter-ink-env] | ||
|
||
|
||
## References | ||
|
||
+ [alt\_bn128][alt_bn128] | ||
+ [bls12\_381][bls12_381] | ||
+ [groth16][groth16] | ||
|
||
[alt_bn128]: https://github.com/zcash-hackworks/bn | ||
[bls12_381]: https://github.com/zkcrypto/bls12_381 | ||
[groth16]: http://www.zeroknowledgeblog.com/index.php/groth16 | ||
[jupiter-contracts]: https://github.com/patractlabs/substrate/tree/contracts/frame/contracts | ||
[jupiter-ink-env]: https://github.com/patractlabs/ink/tree/altbn128/env/crates/env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Summary | ||
|
||
[Intro](./README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
#[test] | ||
fn test() { | ||
println!("XIX"); | ||
} |