Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.21 KB

README-gitpod.md

File metadata and controls

67 lines (48 loc) · 2.21 KB

Build status Gitpod Ready-to-Code

Hello world on Solana (Gitpod version)

This project 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

Table of Contents

Quick Start

Using this example in Gitpod connects to the public Solana devnet cluster. Use the environment variable CLUSTER to choose a different Solana cluster.

Start a local Solana cluster:

solana-test-validator

Deploy the on-chain program:

solana program deploy ./dist/program/helloworld.so

Run the client to load and interact with the on-chain program:

npm run start

The remaining sections of this document point back to the non-Gitpod version of the README for more information.