Skip to main content

Example: Hello World

Hello World is a project that demonstrates how to use the Velas Javascript API to build, deploy, and interact with programs on the Velas 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:

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

Next, follow the steps in the git repository's README.