Soroban SDK supports writing programs for the Soroban smart contract platform.
See soroban.stellar.org for documentation.
```rust use soroban_sdk::{contractimpl, vec, BytesN, Env, Symbol, Vec};
pub struct HelloContract;
impl HelloContract {
pub fn hello(env: Env, to: Symbol) -> Vec
fn test() { let env = Env::default(); let contractid = env.registercontract(None, HelloContract); let client = HelloContractClient::new(&env, &contract_id);
let words = client.hello(&Symbol::short("Dev"));
assert_eq!(words, vec![&env, Symbol::short("Hello"), Symbol::short("Dev"),]);
} ```
More examples are available at https://soroban.stellar.org/docs/category/examples.