# Live Soran examples

Open https://nova-claim-app.throbbing-cloud-0f8e.workers.dev/whois and select an example. All records are on Stellar Testnet.

| Name | Destination | Memo or routing ID |
| --- | --- | --- |
| cyclops.nova | C contract with hello() | No memo; returns Hello, world! |
| nikcle.nova | Classic G account | No memo |
| mux.nova | M muxed address | Embedded routing ID 42; no separate memo |
| robert.nova | Classic G account | Numeric memo 12345 |
| alice.nova | Classic G account | Text memo hello |
| echo.nova | Classic G account | Hash memo: SHA-256 of hello |

Select a name to read its current address and memo. Copy its address into Address → name to check reverse and primary lookup. The five wallet examples have elected reverse and primary names. The minimal cyclops contract demonstrates forward resolution and a method call; it does not implement reverse-name election.

The manifest at https://nova-claim-app.throbbing-cloud-0f8e.workers.dev/examples/manifest.json contains the full public addresses, memo values and verification time. It is a snapshot; the live on-chain lookup remains the source of truth. These are demonstration addresses. Testnet resets or expired storage can make examples unavailable later.

## Call a contract by name

Select cyclops.nova, then Run hello-world example. The app resolves the name through Soran and calls hello() on the returned C address. Stellar itself takes a C address in a contract invocation: the application performs the name-resolution step first.

Download https://nova-claim-app.throbbing-cloud-0f8e.workers.dev/examples/resolve-and-call.mjs and run:

```sh
npm install @sorandomains/lookup@0.8.0 @stellar/stellar-sdk@17.0.1
node resolve-and-call.mjs
```

This is a read-only simulation. It needs no wallet, signature, secret or payment. The expected response is Hello, world!

Contract source: https://nova-claim-app.throbbing-cloud-0f8e.workers.dev/examples/hello-world.rs

The repository also contains examples/hello-world/Cargo.toml and Cargo.lock. Build with:

```sh
cargo build --manifest-path examples/hello-world/Cargo.toml --target wasm32v1-none --release --locked
```

## License

The example source is licensed under [Apache 2.0](../LICENSE.txt), with attribution in [NOTICE.txt](../NOTICE.txt). Dependencies retain their own licenses.
