{"id":13408532,"url":"https://github.com/solana-labs/example-helloworld","last_synced_at":"2025-09-17T19:31:14.508Z","repository":{"id":36959688,"uuid":"253723503","full_name":"solana-labs/example-helloworld","owner":"solana-labs","description":"Hello world on Solana","archived":false,"fork":false,"pushed_at":"2024-03-04T18:11:07.000Z","size":1334,"stargazers_count":913,"open_issues_count":53,"forks_count":870,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-01-03T22:08:28.817Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solana-labs.png","metadata":{"files":{"readme":"README-gitpod.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-07T07:48:08.000Z","updated_at":"2025-01-03T21:19:41.000Z","dependencies_parsed_at":"2023-02-12T06:30:51.520Z","dependency_job_id":"7cb7d641-f7ce-4f03-9d1e-2a71b9de1da7","html_url":"https://github.com/solana-labs/example-helloworld","commit_stats":{"total_commits":279,"total_committers":41,"mean_commits":6.804878048780488,"dds":0.5412186379928315,"last_synced_commit":"354e890721068fa5d38e16f380bf994e1c678eb7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-labs%2Fexample-helloworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-labs%2Fexample-helloworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-labs%2Fexample-helloworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-labs%2Fexample-helloworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solana-labs","download_url":"https://codeload.github.com/solana-labs/example-helloworld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233418707,"owners_count":18673477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:00:53.453Z","updated_at":"2025-09-17T19:31:09.121Z","avatar_url":"https://github.com/solana-labs.png","language":"TypeScript","funding_links":[],"categories":["Resources","Smart Contract Platforms","Blockchain","🧑🏻‍💻 Developer","Lending Protocol","开发者资源","TypeScript"],"sub_categories":["Official Resources","Solana","Basic examples","Official Resources","开发教程"],"readme":"[![Build status][travis-image]][travis-url] [![Gitpod\nReady-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/solana-labs/example-helloworld)\n\n\n[travis-image]:\nhttps://travis-ci.org/solana-labs/example-helloworld.svg?branch=master\n[travis-url]: https://travis-ci.org/solana-labs/example-helloworld\n\n# Hello world on Solana (Gitpod version)\n\nThis project demonstrates how to use the [Solana Javascript\nAPI](https://github.com/solana-labs/solana-web3.js) to build, deploy, and\ninteract with programs on the Solana blockchain.\n\nThe project comprises of:\n\n* An on-chain hello world program\n* A client that can send a \"hello\" to an account and get back the number of\n  times \"hello\" has been sent\n\n## Table of Contents\n- [Hello world on Solana (Gitpod\n  version)](#hello-world-on-solana-gitpod-version)\n  - [Table of Contents](#table-of-contents)\n  - [Quick Start](#quick-start)\n    - [Expected output](#expected-output)\n    - [Customizing the Program](#customizing-the-program)\n  - [Learn about Solana](#learn-about-solana)\n  - [Learn about the client](#learn-about-the-client)\n  - [Learn about the on-chain program](#learn-about-the-on-chain-program)\n  - [Expand your skills with advanced\n    examples](#expand-your-skills-with-advanced-examples)\n\n## Quick Start\n\nUsing this example in Gitpod connects to the public Solana `devnet` cluster. Use\nthe environment variable `CLUSTER` to choose a different Solana cluster.\n\nStart a local Solana cluster:\n```bash\nsolana-test-validator\n```\n\nDeploy the on-chain program:\n```bash\nsolana program deploy ./dist/program/helloworld.so\n```\n\nRun the client to load and interact with the on-chain program:\n```bash\nnpm run start\n```\n\nThe remaining sections of this document point back to the non-Gitpod version of\nthe README for more information.\n\n### [Expected output](README.md#expected-output)\n\n### [Customizing the Program](README.md#Customizing-the-Program)\n\n## [Learn about Solana](README.md#learn-about-solana)\n\n## [Learn about the client](README.md#learn-about-the-client)\n\n## [Learn about the on-chain program](README.md#learn-about-the-on-chain-program)\n\n## [Expand your skills with advanced examples](README.md#expand-your-skills-with-advanced-examples)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-labs%2Fexample-helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolana-labs%2Fexample-helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-labs%2Fexample-helloworld/lists"}