From 83ae8e27ad1d651da5049012c92dd8a7dec4268b Mon Sep 17 00:00:00 2001 From: Emerson Majormaxx Daniel <125857575+Majormaxx@users.noreply.github.com> Date: Mon, 23 Feb 2026 05:00:20 +0100 Subject: [PATCH 1/4] Delete hello-world Cargo.toml (Issue #30) --- soroban-contract/contracts/hello-world/Cargo.toml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 soroban-contract/contracts/hello-world/Cargo.toml diff --git a/soroban-contract/contracts/hello-world/Cargo.toml b/soroban-contract/contracts/hello-world/Cargo.toml deleted file mode 100644 index c3e84a9..0000000 --- a/soroban-contract/contracts/hello-world/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[package] -name = "hello-world" -version = "0.0.0" -edition = "2021" -publish = false - -[lib] -crate-type = ["lib", "cdylib"] -doctest = false - -[dependencies] -soroban-sdk = { workspace = true } - -[dev-dependencies] -soroban-sdk = { workspace = true, features = ["testutils"] } From 4e4df8ffdb1ff01f815edd24b5231687ce656ed7 Mon Sep 17 00:00:00 2001 From: Emerson Majormaxx Daniel <125857575+Majormaxx@users.noreply.github.com> Date: Mon, 23 Feb 2026 05:00:23 +0100 Subject: [PATCH 2/4] Delete hello-world Makefile (Issue #30) --- soroban-contract/contracts/hello-world/Makefile | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 soroban-contract/contracts/hello-world/Makefile diff --git a/soroban-contract/contracts/hello-world/Makefile b/soroban-contract/contracts/hello-world/Makefile deleted file mode 100644 index b971934..0000000 --- a/soroban-contract/contracts/hello-world/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -default: build - -all: test - -test: build - cargo test - -build: - stellar contract build - @ls -l target/wasm32v1-none/release/*.wasm - -fmt: - cargo fmt --all - -clean: - cargo clean From 73f24cc3b527badf54f598c6ca820dda8e7f8b1d Mon Sep 17 00:00:00 2001 From: Emerson Majormaxx Daniel <125857575+Majormaxx@users.noreply.github.com> Date: Mon, 23 Feb 2026 05:00:26 +0100 Subject: [PATCH 3/4] Delete hello-world src/lib.rs (Issue #30) --- .../contracts/hello-world/src/lib.rs | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 soroban-contract/contracts/hello-world/src/lib.rs diff --git a/soroban-contract/contracts/hello-world/src/lib.rs b/soroban-contract/contracts/hello-world/src/lib.rs deleted file mode 100644 index f812004..0000000 --- a/soroban-contract/contracts/hello-world/src/lib.rs +++ /dev/null @@ -1,23 +0,0 @@ -#![no_std] -use soroban_sdk::{contract, contractimpl, vec, Env, String, Vec}; - -#[contract] -pub struct Contract; - -// This is a sample contract. Replace this placeholder with your own contract logic. -// A corresponding test example is available in `test.rs`. -// -// For comprehensive examples, visit . -// The repository includes use cases for the Stellar ecosystem, such as data storage on -// the blockchain, token swaps, liquidity pools, and more. -// -// Refer to the official documentation: -// . -#[contractimpl] -impl Contract { - pub fn hello(env: Env, to: String) -> Vec { - vec![&env, String::from_str(&env, "Hello"), to] - } -} - -mod test; From 7ba50b7b919e36e6d8f0f821b186d198eeb81a43 Mon Sep 17 00:00:00 2001 From: Emerson Majormaxx Daniel <125857575+Majormaxx@users.noreply.github.com> Date: Mon, 23 Feb 2026 05:00:28 +0100 Subject: [PATCH 4/4] Delete hello-world src/test.rs (Issue #30) --- .../contracts/hello-world/src/test.rs | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 soroban-contract/contracts/hello-world/src/test.rs diff --git a/soroban-contract/contracts/hello-world/src/test.rs b/soroban-contract/contracts/hello-world/src/test.rs deleted file mode 100644 index 0bdcba0..0000000 --- a/soroban-contract/contracts/hello-world/src/test.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![cfg(test)] - -use super::*; -use soroban_sdk::{vec, Env, String}; - -#[test] -fn test() { - let env = Env::default(); - let contract_id = env.register(Contract, ()); - let client = ContractClient::new(&env, &contract_id); - - let words = client.hello(&String::from_str(&env, "Dev")); - assert_eq!( - words, - vec![ - &env, - String::from_str(&env, "Hello"), - String::from_str(&env, "Dev"), - ] - ); -}