diff --git a/Cargo.toml b/Cargo.toml index 9fb70e4..ed7fb5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,12 @@ name = "agorata" version = "0.1.0" edition = "2021" +authors = ["ennucore "] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace] + +members = [ + "agolytics", "agorata_contracts" +] [dependencies] diff --git a/README.md b/README.md index 16767d8..e3f3eac 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +![](https://agorata.io/logo_single.png) + # Agorata Core The Core of Agorata written in Rust + +`agorata_contracts/` contains the tools for representing smart contracts (as state machines). + +`agolytics/` contains the tools for analyzing smart contracts. diff --git a/agolytics/Cargo.toml b/agolytics/Cargo.toml new file mode 100644 index 0000000..c7eb0a5 --- /dev/null +++ b/agolytics/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "agolytics" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/agolytics/src/lib.rs b/agolytics/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/agolytics/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +} diff --git a/agorata_contracts/Cargo.toml b/agorata_contracts/Cargo.toml new file mode 100644 index 0000000..4ede10c --- /dev/null +++ b/agorata_contracts/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "agorata_contracts" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/agorata_contracts/src/lib.rs b/agorata_contracts/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/agorata_contracts/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +}