https://github.com/calebeverett/sol-hello
https://github.com/calebeverett/sol-hello
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/calebeverett/sol-hello
- Owner: CalebEverett
- License: mit
- Created: 2021-12-21T22:28:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T09:06:11.000Z (over 2 years ago)
- Last Synced: 2024-10-18T23:30:08.190Z (9 months ago)
- Language: Rust
- Size: 824 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README-gitpod.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build status][travis-image]][travis-url] [](https://gitpod.io/#https://github.com/solana-labs/example-helloworld)[travis-image]:
https://travis-ci.org/solana-labs/example-helloworld.svg?branch=master
[travis-url]: https://travis-ci.org/solana-labs/example-helloworld# Hello world on Solana (Gitpod version)
This project demonstrates how to use the [Solana Javascript
API](https://github.com/solana-labs/solana-web3.js) 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
- [Hello world on Solana (Gitpod
version)](#hello-world-on-solana-gitpod-version)
- [Table of Contents](#table-of-contents)
- [Quick Start](#quick-start)
- [Expected output](#expected-output)
- [Customizing the Program](#customizing-the-program)
- [Learn about Solana](#learn-about-solana)
- [Learn about the client](#learn-about-the-client)
- [Learn about the on-chain program](#learn-about-the-on-chain-program)
- [Expand your skills with advanced
examples](#expand-your-skills-with-advanced-examples)## 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.Run the client to load and interact with the on-chain program:
```bash
$ npm run start
```The remaining sections of this document point back to the non-Gitpod version of
the README for more information.### [Expected output](README.md#expected-output)
### [Customizing the Program](README.md#Customizing-the-Program)
## [Learn about Solana](README.md#learn-about-solana)
## [Learn about the client](README.md#learn-about-the-client)
## [Learn about the on-chain program](README.md#learn-about-the-on-chain-program)
## [Expand your skills with advanced examples](README.md#expand-your-skills-with-advanced-examples)