solana-web3.js
example-helloworld
solana-web3.js | example-helloworld | |
---|---|---|
12 | 9 | |
1,827 | 868 | |
11.5% | 3.0% | |
9.9 | 2.9 | |
4 days ago | about 2 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
solana-web3.js
-
Education Blog Post | HeliusLabs - How do Solana RPCs work?
In practice, no one really works with direct JSON-RPC requests like this (although you certainly can!). Most developers prefer working with RPC clients. The most commonly used one is the Solana Web3 JS library, which can be found here.
-
The fastest and most efficient way to learn Solana (for Solidity developers)
All Solana invocations must be done though the RPC, which is typically handled by Solana web3js. Unless you are handy with this library, you won’t be able to execute your smart contracts.
-
The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
solana/web3.js - A Solana version of web3.js that seems to work pretty well, but the documentation was almost unusable for me
-
Bulk key pair generating
As much as I don’t really think you SHOULD do this, I would use the JavaScript api
- Need help with linking a transaction request to my website
-
Solana and javascript?
As others have said, they use Solana's JSON RPC to interact with the blockchain, in Solscan's case it's mostly fetching the data. For JavaScript we have an official SDK: @solana/web3.js
-
That's My Ape A blockchain-free chain of custody tool
https://github.com/solana-labs/solana-web3.js
Essentially what it comes down to is a user has a wallet, that is typically a web wallet via extension, but you can of course use hardware wallets if you'd like, however those do require you to own one, so if you just want to play around with the ecosystem, these extensions are the easiest to use. These above projects are javascript APIs that allow for interacting with wallets and onchain programs.
-
I want a Solana developer roadmap
Intro to Programming on Solana https://paulx.dev/blog/2021/01/14/programming-on-solana-an-introduction/ Intro to Anchor Framework https://project-serum.github.io/anchor/getting-started/introduction.html Video Solana Core Concepts https://www.youtube.com/watch?v=4dNuMXBjpr0&list=PLilwLeBwGuK4teLcqyXavweEbveCjjRk0 Solana Tutorial | Solana for Developers https://www.youtube.com/watch?v=qNIhClYDjR8 Programming Solana (playlist) https://www.youtube.com/playlist?list=PL41Cw3fN3CfdbmhgxADwyDyIoDrxc22v2 Programming Solana Smart Contracts https://www.youtube.com/watch?v=i6Ycr5nhjH8 Figment Learn Pathway (playlist) https://www.youtube.com/playlist?list=PLkgTdjgP1aUAiqqbvVi3b0sSdxByd5KSX Programming Solana Smart Contracts | Hello World Anchor Tutorial https://www.youtube.com/watch?v=oD1umX\_DnUw Courses Building Smart Contracts on Solana https://solhack.com/courses/building-solana-smart-contracts-dapps-with-james-bachini/ How Rusty is Your Rustlang https://solhack.com/courses/how-rusty-is-your-rust-lang/ Programming on Solana an Introduction https://solhack.com/courses/programming-on-solana-an-introduction/ Solana Security Audit Workshop by Solend https://solhack.com/courses/solana-security-audit-workshop-by-solend/ Figment Solana-Pathway https://learn.figment.io/network-documentation/solana/solana-pathway . Docs Terminology https://docs.solana.com/terminology Transactions https://docs.solana.com/developing/programming-model/transactions Accounts https://docs.solana.com/developing/programming-model/accounts Runtime https://docs.solana.com/developing/programming-model/runtime Devnet Endpoint and Rate Limits https://docs.solana.com/cluster/rpc-endpoints#devnet Testnet Endpoint and Rate Limits https://docs.solana.com/cluster/rpc-endpoints#testnet On-chain Programs https://docs.solana.com/developing/on-chain-programs/overview Native Programs https://docs.solana.com/developing/runtime-facilities/programs JSON RPC API https://docs.solana.com/apps/jsonrpc-api Solana Program Library https://spl.solana.com/ Examples / Reference Implementations Hello World Example https://github.com/solana-labs/example-helloworld Serum DEX Example https://github.com/project-serum/anchor/blob/master/examples/swap/programs/swap/src/lib.rs Automated Market Maker + Swap Reference Implementation https://github.com/solana-labs/oyster-swap Borrow/Lend Reference Implementation https://github.com/solana-labs/oyster-lending Margin Reference Implementation https://github.com/solana-labs/oyster-margin . SDKs Go: https://github.com/dfuse-io/solana-go Go: https://github.com/portto/solana-go-sdk C#: https://github.com/bmresearch/Solnet C#: https://github.com/bmresearch/Solnet.Serum JS: https://github.com/solana-labs/solana-web3.js/ JS/TS: https://github.com/project-serum/serum-ts Java: https://github.com/skynetcapital/solanaj Java: https://github.com/skynetcapital/solanaj-programs Python: https://github.com/michaelhly/solana-py Python: https://github.com/serum-community/pyserum Swift: https://github.com/ajamaica/Solana.Swift Extra stuff: https://github.com/paul-schaaf/awesome-solana Tools Solana Explorers https://explorer.solana.com/ https://solscan.io/ https://solanabeach.io/transactions Command Line Interface https://docs.solana.com/cli SPL Token UI https://spl-token-ui.com/
-
Distribution of Solend users by deposits
This library is pretty good https://solana-labs.github.io/solana-web3.js
-
Where is the latest version of solanaWeb3.min.js?
A website that is a year old (https://morioh.com/p/720daf27c8c8) gave this address: https://github.com/solana-labs/solana-web3.js/releases/download/v0.0.6/solanaWeb3.min.js
example-helloworld
-
Building your first ZK program on Solana
git clone https://github.com/solana-labs/example-helloworld simple-zk
-
Error running Solana local cluster
I am trying to run a local cluster for the example hello wold program on GitHub but I keep running into these pop-up errors when I run the "solana-test-validator" command and I'm not sure why. For context, I am on a machine running Windows 11, running cmd prompt in administrative mode, and I have tried re-installing the Solana CLI tool but am still seeing these errors.
-
I want a Solana developer roadmap
Intro to Programming on Solana https://paulx.dev/blog/2021/01/14/programming-on-solana-an-introduction/ Intro to Anchor Framework https://project-serum.github.io/anchor/getting-started/introduction.html Video Solana Core Concepts https://www.youtube.com/watch?v=4dNuMXBjpr0&list=PLilwLeBwGuK4teLcqyXavweEbveCjjRk0 Solana Tutorial | Solana for Developers https://www.youtube.com/watch?v=qNIhClYDjR8 Programming Solana (playlist) https://www.youtube.com/playlist?list=PL41Cw3fN3CfdbmhgxADwyDyIoDrxc22v2 Programming Solana Smart Contracts https://www.youtube.com/watch?v=i6Ycr5nhjH8 Figment Learn Pathway (playlist) https://www.youtube.com/playlist?list=PLkgTdjgP1aUAiqqbvVi3b0sSdxByd5KSX Programming Solana Smart Contracts | Hello World Anchor Tutorial https://www.youtube.com/watch?v=oD1umX\_DnUw Courses Building Smart Contracts on Solana https://solhack.com/courses/building-solana-smart-contracts-dapps-with-james-bachini/ How Rusty is Your Rustlang https://solhack.com/courses/how-rusty-is-your-rust-lang/ Programming on Solana an Introduction https://solhack.com/courses/programming-on-solana-an-introduction/ Solana Security Audit Workshop by Solend https://solhack.com/courses/solana-security-audit-workshop-by-solend/ Figment Solana-Pathway https://learn.figment.io/network-documentation/solana/solana-pathway . Docs Terminology https://docs.solana.com/terminology Transactions https://docs.solana.com/developing/programming-model/transactions Accounts https://docs.solana.com/developing/programming-model/accounts Runtime https://docs.solana.com/developing/programming-model/runtime Devnet Endpoint and Rate Limits https://docs.solana.com/cluster/rpc-endpoints#devnet Testnet Endpoint and Rate Limits https://docs.solana.com/cluster/rpc-endpoints#testnet On-chain Programs https://docs.solana.com/developing/on-chain-programs/overview Native Programs https://docs.solana.com/developing/runtime-facilities/programs JSON RPC API https://docs.solana.com/apps/jsonrpc-api Solana Program Library https://spl.solana.com/ Examples / Reference Implementations Hello World Example https://github.com/solana-labs/example-helloworld Serum DEX Example https://github.com/project-serum/anchor/blob/master/examples/swap/programs/swap/src/lib.rs Automated Market Maker + Swap Reference Implementation https://github.com/solana-labs/oyster-swap Borrow/Lend Reference Implementation https://github.com/solana-labs/oyster-lending Margin Reference Implementation https://github.com/solana-labs/oyster-margin . SDKs Go: https://github.com/dfuse-io/solana-go Go: https://github.com/portto/solana-go-sdk C#: https://github.com/bmresearch/Solnet C#: https://github.com/bmresearch/Solnet.Serum JS: https://github.com/solana-labs/solana-web3.js/ JS/TS: https://github.com/project-serum/serum-ts Java: https://github.com/skynetcapital/solanaj Java: https://github.com/skynetcapital/solanaj-programs Python: https://github.com/michaelhly/solana-py Python: https://github.com/serum-community/pyserum Swift: https://github.com/ajamaica/Solana.Swift Extra stuff: https://github.com/paul-schaaf/awesome-solana Tools Solana Explorers https://explorer.solana.com/ https://solscan.io/ https://solanabeach.io/transactions Command Line Interface https://docs.solana.com/cli SPL Token UI https://spl-token-ui.com/
-
Newbie needing help understanding intuitively state changes in Solana development
If we use the Hello World program provided by Solana Labs as reference, that program increments a counter every time a user interacts with the program:
-
An implementation the Solana helloworld client example code in Rust
The Solana helloworld example client is written in TypeScript. I found it hard to read because its extensive use of global state. To try and help future users and to learn a little about it myself I made an implementation of the example client in Rust which I find to be slightly more readable.
-
Solana: How to send custom instructions via instruction data
In this article, we'll walk through the process of sending a custom instruction to a solana on-chain program. We'll modify the solana example helloworld to take two instructions, SayHello and SayGoodbye.
- Tu primer Programa en Solana
-
A Gentle Introduction to Solana.
Solana has a nice hello-world example that shows us how to build a Rust program on Solana from scratch and interact with it using a typescript SDK.
-
OG LWS Members?
HelloWorld: https://github.com/solana-labs/example-helloworld
What are some alternatives?
solana-py - Solana Python SDK
solana-go-sdk - Solana Golang SDK
solana - Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
anchor - ⚓ Solana Sealevel Framework
simple-solana-program - A variation of the solana helloworld program example with a client written in Rust instead of Typescript.
metaplex - A directory of what the Metaplex Foundation works on!
solanaj-programs - SolanaJ implementations for popular Solana programs such as Serum DEX.
pyserum - Pyserum is client library to interact with Serum DEX
rosetta-api - Reference Implementation Of The Rosetta API Open Standard For DLT Interoperability.