-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
97 additions
and
52 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/target/ | ||
/setup/ | ||
**/target/ | ||
Cargo.lock | ||
**/*.rs.bk | ||
.DS_Store | ||
|
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,34 +1,6 @@ | ||
[package] | ||
name = "zk-citadel" | ||
version = "0.14.0" | ||
repository = "https://github.com/dusk-network/citadel" | ||
description = "Implementation of Citadel, a SSI system integrated in Dusk Network." | ||
categories = ["cryptography", "authentication", "mathematics", "science"] | ||
keywords = ["cryptography", "self-sovereign", "identity", "zk-snarks", "zero-knowledge"] | ||
edition = "2021" | ||
license = "MPL-2.0" | ||
|
||
[dependencies] | ||
dusk-bytes = "0.1" | ||
dusk-poseidon = { version = "0.40", features = ["zk"] } | ||
poseidon-merkle = { version = "0.7", features = ["rkyv-impl", "zk", "size_32"] } | ||
dusk-plonk = { version = "0.20", default-features = false, features = ["rkyv-impl", "alloc"] } | ||
dusk-bls12_381 = { version = "0.13", default-features = false, features = ["rkyv-impl", "alloc"] } | ||
dusk-jubjub = { version = "0.14", default-features = false, features = ["rkyv-impl", "alloc"] } | ||
ff = { version = "0.13", default-features = false } | ||
jubjub-schnorr = { version = "0.5", features = ["zk", "rkyv-impl", "alloc"] } | ||
phoenix-core = { version = "0.32", features = ["rkyv-impl", "alloc"] } | ||
rand_core = { version = "0.6", default-features=false, features = ["getrandom"] } | ||
rkyv = { version = "0.7", default-features = false } | ||
bytecheck = { version = "0.6", default-features = false } | ||
|
||
[dev-dependencies] | ||
criterion = "0.5" | ||
|
||
[[bench]] | ||
name = "license_circuit" | ||
harness = false | ||
|
||
[features] | ||
rkyv-impl = [] | ||
default=["rkyv-impl"] | ||
[workspace] | ||
members = [ | ||
"core", | ||
"contract", | ||
] | ||
resolver = "2" |
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
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,6 @@ | ||
[package] | ||
name = "license-contract" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
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 @@ | ||
../LICENSE |
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,9 @@ | ||
# (WIP) Citadel Contract | ||
|
||
 | ||
[](https://github.com/dusk-network/citadel) | ||
|
||
This package contains the Citadel contract. | ||
|
||
**DISCLAIMER**: this contract **has not gone through an exhaustive security analysis**, so it is not intended to be used in a production environment, only for academic purposes. | ||
|
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,9 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
// | ||
// Copyright (c) DUSK NETWORK. All rights reserved. | ||
|
||
fn main() { | ||
println!("Hello, world!"); | ||
} |
File renamed without changes.
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,34 @@ | ||
[package] | ||
name = "zk-citadel" | ||
version = "0.14.0" | ||
repository = "https://github.com/dusk-network/citadel/core" | ||
description = "Implementation of Citadel, a SSI system integrated in Dusk Network." | ||
categories = ["cryptography", "authentication", "mathematics", "science"] | ||
keywords = ["cryptography", "self-sovereign", "identity", "zk-snarks", "zero-knowledge"] | ||
edition = "2021" | ||
license = "MPL-2.0" | ||
|
||
[dependencies] | ||
dusk-bytes = "0.1" | ||
dusk-poseidon = { version = "0.40", features = ["zk"] } | ||
poseidon-merkle = { version = "0.7", features = ["rkyv-impl", "zk", "size_32"] } | ||
dusk-plonk = { version = "0.20", default-features = false, features = ["rkyv-impl", "alloc"] } | ||
dusk-bls12_381 = { version = "0.13", default-features = false, features = ["rkyv-impl", "alloc"] } | ||
dusk-jubjub = { version = "0.14", default-features = false, features = ["rkyv-impl", "alloc"] } | ||
ff = { version = "0.13", default-features = false } | ||
jubjub-schnorr = { version = "0.5", features = ["zk", "rkyv-impl", "alloc"] } | ||
phoenix-core = { version = "0.32", features = ["rkyv-impl", "alloc"] } | ||
rand_core = { version = "0.6", default-features=false, features = ["getrandom"] } | ||
rkyv = { version = "0.7", default-features = false } | ||
bytecheck = { version = "0.6", default-features = false } | ||
|
||
[dev-dependencies] | ||
criterion = "0.5" | ||
|
||
[[bench]] | ||
name = "license_circuit" | ||
harness = false | ||
|
||
[features] | ||
rkyv-impl = [] | ||
default=["rkyv-impl"] |
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 @@ | ||
../LICENSE |
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,24 @@ | ||
# Citadel Core | ||
|
||
 | ||
[](https://github.com/dusk-network/citadel) | ||
|
||
This package contains the core implementation of Citadel. | ||
|
||
**DISCLAIMER**: this package **has not gone through an exhaustive security analysis**, so it is not intended to be used in a production environment, only for academic purposes. | ||
|
||
## Tests | ||
|
||
The package can be tested by running: | ||
|
||
``` | ||
cargo t --release | ||
``` | ||
|
||
## Benchmarks | ||
|
||
The package can be benchmarked by running: | ||
|
||
``` | ||
cargo bench | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.