Skip to content

Commit

Permalink
Add an explanatory comment to the generated file. (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando authored Jan 22, 2025
1 parent d2fc781 commit bfe8e65
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/soroban-cli/src/utils/contract-template/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/stellar/soroban-examples>.
// 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:
// <https://developers.stellar.org/docs/build/smart-contracts/overview>.
#[contractimpl]
impl Contract {
pub fn hello(env: Env, to: String) -> Vec<String> {
Expand Down

0 comments on commit bfe8e65

Please sign in to comment.