24 lines
683 B
Markdown
24 lines
683 B
Markdown
|
|
---
|
||
|
|
title: "Example: Hello World"
|
||
|
|
---
|
||
|
|
|
||
|
|
Hello World is a project that demonstrates how to use the Solana Javascript API
|
||
|
|
to build, deploy, and interact with programs on the Solana 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 Hello World program
|
||
|
|
|
||
|
|
First fetch the latest version of the example code:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
$ git clone https://github.com/solana-labs/example-helloworld.git
|
||
|
|
$ cd example-helloworld
|
||
|
|
```
|
||
|
|
|
||
|
|
Next, follow the steps in the git repository's
|
||
|
|
[README](https://github.com/solana-labs/example-helloworld/blob/master/README.md).
|