From a3fce97a13e0f207b530b7a00ba96de0a7359519 Mon Sep 17 00:00:00 2001 From: sanusishafii989 Date: Tue, 21 Jul 2026 13:36:24 +0100 Subject: [PATCH 1/2] docs: add MIT license and update README (#51) --- LICENSE | 21 +++++++++++++++++++ README.md | 2 +- benches/Cargo.toml | 1 + market-data-streaming/Cargo.toml | 4 +++- peerx-contracts/counter/Cargo.toml | 1 + .../counter/src/audit_tools/Cargo.toml | 1 + .../counter/src/governance/Cargo.toml | 1 + peerx-contracts/soroban-ping/Cargo.toml | 1 + 8 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5291bf1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 PeerX Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index d805815..c5329f5 100644 --- a/README.md +++ b/README.md @@ -482,7 +482,7 @@ We welcome pull requests for new educational scenarios, additional test coverage ## License -**MIT.** *(No `LICENSE` file is currently committed — add one before publishing. Until then, all rights reserved by default.)* +This project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details. --- diff --git a/benches/Cargo.toml b/benches/Cargo.toml index dece1c5..87bb483 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -2,6 +2,7 @@ name = "peerx-benchmarks" version = "0.1.0" edition = "2021" +license = "MIT" [[bin]] name = "benchmark-runner" diff --git a/market-data-streaming/Cargo.toml b/market-data-streaming/Cargo.toml index 67ea3ae..863ddc6 100644 --- a/market-data-streaming/Cargo.toml +++ b/market-data-streaming/Cargo.toml @@ -1,8 +1,10 @@ [package] name = "market-data-streaming" version = "0.1.0" -edition = "2021"authors = ["PeerX Team"] +edition = "2021" +authors = ["PeerX Team"] description = "High-performance real-time market data streaming system" +license = "MIT" [dependencies] tokio = { version = "1.35", features = ["full"] } diff --git a/peerx-contracts/counter/Cargo.toml b/peerx-contracts/counter/Cargo.toml index e1bf886..c7dc207 100644 --- a/peerx-contracts/counter/Cargo.toml +++ b/peerx-contracts/counter/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" publish = false autotests = false +license = "MIT" [lib] crate-type = ["lib", "cdylib"] diff --git a/peerx-contracts/counter/src/audit_tools/Cargo.toml b/peerx-contracts/counter/src/audit_tools/Cargo.toml index 767b4aa..88ad366 100644 --- a/peerx-contracts/counter/src/audit_tools/Cargo.toml +++ b/peerx-contracts/counter/src/audit_tools/Cargo.toml @@ -2,6 +2,7 @@ name = "audit-tools" version = "0.1.0" edition = "2021" +license = "MIT" [[bin]] name = "audit-tools" diff --git a/peerx-contracts/counter/src/governance/Cargo.toml b/peerx-contracts/counter/src/governance/Cargo.toml index 4aca52b..8564f3e 100644 --- a/peerx-contracts/counter/src/governance/Cargo.toml +++ b/peerx-contracts/counter/src/governance/Cargo.toml @@ -2,6 +2,7 @@ name = "peerx" version = "0.2.0" edition = "2021" +license = "MIT" [dependencies] sha2 = "0.10" diff --git a/peerx-contracts/soroban-ping/Cargo.toml b/peerx-contracts/soroban-ping/Cargo.toml index 45614b8..8f0970b 100644 --- a/peerx-contracts/soroban-ping/Cargo.toml +++ b/peerx-contracts/soroban-ping/Cargo.toml @@ -3,6 +3,7 @@ name = "soroban-ping" version = "0.0.0" edition = "2021" publish = false +license = "MIT" [lib] crate-type = ["lib", "cdylib"] From 5420dfb7b640fe892471b88de62ce9710069ac4e Mon Sep 17 00:00:00 2001 From: sanusishafii989 Date: Tue, 21 Jul 2026 13:40:30 +0100 Subject: [PATCH 2/2] docs: add MIT license and update README (#51) --- LICENSE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 5291bf1..52ca550 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -MIT License +MIT License Copyright (c) 2026 PeerX Contributors @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE.