# Program Examples

Program Examples&#x20;

## Helloworld

Hello World is a project that demonstrates how to use the PUT Javascript API and both Rust and C programs to build, deploy, and interact with programs on the PUT blockchain.

The project comprises of:

* An on-chain hello world program
* A client that can send a "hello" to an account and get back the number of times "hello" has been sent

### Build and Run\#

fetch the latest version of the example code:&#x20;

```
$ git clone https://github.com/put-labs/example-helloworld.git 
$ cd example-helloworld
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.put.com/developers/writing-programs/program-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
