From bfe8e6584fa030cb705a726e36e71fa136e6286e Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Tue, 21 Jan 2025 16:44:18 -0800 Subject: [PATCH] Add an explanatory comment to the generated file. (#1839) --- cmd/soroban-cli/src/utils/contract-template/src/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cmd/soroban-cli/src/utils/contract-template/src/lib.rs b/cmd/soroban-cli/src/utils/contract-template/src/lib.rs index 0b701fd82..f8120043a 100644 --- a/cmd/soroban-cli/src/utils/contract-template/src/lib.rs +++ b/cmd/soroban-cli/src/utils/contract-template/src/lib.rs @@ -4,6 +4,15 @@ 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 {