Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.1 #239

Merged
merged 9 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ exclude = ["examples/transfers/contracts", "examples/transfers/enclave"]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.74.1"
license = ""
rust-version = "1.75.0"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/informalsystems/cycles-quartz"
homepage = "https://cycles.money"
authors = ["Informal Systems <[email protected]>"]

[workspace.dependencies]
Expand Down
10 changes: 10 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This code is not yet licensed. We are making the source available for this early pre-production release, but all rights reserved by the copyright holder (Informal Systems).

We accept contributions to the code, however by contributing to the codebase you hereby agree to allow Informal Systems to license your contribution however it deems appropriate in the future. We reserve the right to use, make derivative works from and/or license such contributions however we see fit, including via open-source or other business or proprietary licenses.

This is not a long term viable strategy and we apologize on behalf of our civilization for the abysmal state of intellectual property law and really capitalism in general. You deserve better.



In the meantime, enjoy this poem:
9 changes: 7 additions & 2 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"]
homepage.workspace = true
categories = ["command-line-utilities", "cryptography::cryptocurrencies", "hardware-support", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
A CLI tool to streamline development and deployment of Quartz applications. Quartz is a flexible framework for privacy-preserving computation via Trusted Execution Environments (TEEs) organized and secured by smart contracts.
"""

[[bin]]
name = "quartz"
Expand Down
12 changes: 9 additions & 3 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
[package]
name = "quartz-common"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
readme.workspace = true
license-file.workspace = true
repository.workspace = true
authors.workspace = true
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
A wrapper crate around quartz-contract-core, quartz-enclave-core, and quartz-proto.
"""

[features]
full = ["contract", "enclave", "proto"]
Expand Down
9 changes: 7 additions & 2 deletions crates/contracts/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"]
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
A CosmWasm framework for securely interacting with Intel SGX enclaves.
"""

[features]
default = []
Expand Down
15 changes: 13 additions & 2 deletions crates/contracts/dcap-verifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
[package]
name = "quartz-dcap-verifier"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true
repository.workspace = true
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Standalone CosmWasm smart contract for verifying Intel SGX DCAP attestations that can be called by other contracts.
"""

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
Expand Down
7 changes: 6 additions & 1 deletion crates/contracts/dcap-verifier/msgs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
"""

[dependencies]
# cosmos
Expand Down
9 changes: 8 additions & 1 deletion crates/contracts/tcbinfo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Standalone CosmWasm smart contract for storage and verification of TcbInfos for Intel SGX.
"""

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
7 changes: 6 additions & 1 deletion crates/contracts/tcbinfo/msgs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
"""

[dependencies]
# external
Expand Down
9 changes: 7 additions & 2 deletions crates/contracts/tee-ra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"]
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Internal CosmWasm library for handling Intel SGX DCAP remote attestations.
"""

[dependencies]
# external
Expand Down
11 changes: 8 additions & 3 deletions crates/enclave/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"]
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "hardware-support", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
A Rust framework for building Intel SGX enclaves managed by a CosmWasm contract.
"""

[features]
mock-sgx = ["quartz-contract-core/mock-sgx"]
Expand Down Expand Up @@ -41,7 +46,7 @@ cosmrs.workspace = true
cosmwasm-std.workspace = true
tendermint.workspace = true
tendermint-light-client.workspace = true
tendermint-rpc = { workspace = true, features=["websocket-client", "http-client"] }
tendermint-rpc = { workspace = true, features = ["websocket-client", "http-client"] }

# quartz
quartz-cw-proof.workspace = true
Expand Down
9 changes: 7 additions & 2 deletions crates/enclave/cw-proof/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"]
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Merkle proofs of CosmWasm contract state. This crate contains proof types and a verifier implementation.
"""

[dependencies]
# external
Expand Down
9 changes: 7 additions & 2 deletions crates/enclave/proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"]
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Protobuf types defining the Quartz handshake to initialize connection between a smart contract and trusted execution environment.
"""


[dependencies]
Expand Down
9 changes: 7 additions & 2 deletions crates/enclave/tm-stateless-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"]
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Stateless verification of a tendermint light client proof.
"""

[dependencies]
# external
Expand Down
13 changes: 10 additions & 3 deletions crates/utils/cw-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
[package]
name = "cw-client"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
readme.workspace = true
license-file.workspace = true
repository.workspace = true
authors.workspace = true
homepage.workspace = true
categories = ["cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Rust library for interacting with CosmWasm-enabled blockchains.
Deploy contracts, query them, and execute transactions.
"""

[lib]
path = "src/lib.rs"
Expand Down
9 changes: 7 additions & 2 deletions crates/utils/cw-prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"]
homepage.workspace = true
categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
CLI to generate a merkle proof of a key in the state of a CosmWasm contract.
"""

[dependencies]
# external
Expand Down
12 changes: 9 additions & 3 deletions crates/utils/print-fmspc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
[package]
name = "quartz-print-fmspc"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
readme.workspace = true
license-file.workspace = true
repository.workspace = true
authors.workspace = true
homepage.workspace = true
categories = ["command-line-utilities", "cryptography::cryptocurrencies", "hardware-support", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
Convenience tool to print the FMSPC (Family-Model-Stepping-Platform-Custom) of the local SGX processor.
"""

[dependencies]
dcap-qvl = "0.1.0"
Expand Down
11 changes: 8 additions & 3 deletions crates/utils/tm-prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"]
homepage.workspace = true
categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm"]
keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"]
readme = "README.md"
description = """
CLI for generating a Merkle proof of CosmWasm state and accompanying tendermint light client proof (i.e. verification trace) for a given block height and trusted height/hash. Resulting proofs can be verified by quartz-tm-stateless-verifier.
"""

[[bin]]
name = "main"
Expand All @@ -32,4 +37,4 @@ tendermint-light-client.workspace = true
tendermint-light-client-detector.workspace = true

# quartz
quartz-cw-proof.workspace = true
quartz-cw-proof.workspace = true
11 changes: 8 additions & 3 deletions examples/transfers/contracts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
[workspace]

[package]
name = "transfers-contract"
version = "0.1.0"
edition = "2021"
rust-version = "1.75.0"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/informalsystems/cycles-quartz"
homepage = "https://cycles.money"
authors = ["Informal Systems <[email protected]>"]
exclude = ["contract.wasm", "hash.txt"]
description = """
"""

[[bin]]
name = "schema"
Expand Down Expand Up @@ -37,7 +42,7 @@ thiserror = { version = "1.0.63" }

# cosmwasm
cosmwasm-std = { version = "2.1.1", default-features = false, features = [
"abort",
"abort",
] }
cosmwasm-schema = { version = "2.1.1", default-features = false }
cw-storage-plus = { version = "2.0.0", default-features = false }
Expand Down
Loading
Loading