-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is the documentation of this project? #74
Comments
It's all I'm working on; just a little while longer now. In the meantime, if you can't wait and editor TypeScript hints (eg. Intellisense) aren't enough, you can make your own person documentation website by running this in the root directory: pnpm i
pnpm typedoc
python3 -m http.server -d docs/ |
@thanpolas , meantime I added some snippets I have changed |
thank you all 🙏 |
Docs please! spent to long looking for them lol |
We are working on making the documentation easier to read via a dedicated website at the moment but most of the information is already available for you to read. For each package inside this library, you will find a README that details all of the things you can do with that package. The Web3.js v2 library is merely a collection of all these packages. For instance, if you want to get started with RPCs and send some HTTP request to them, you can find some documentation under the I understand that this is not the most intuitive way to find this information at the moment — and we are working on that — but I just wanted to flag that this information currently exists. |
While you wait, make use of this live documentation generator: https://tsdocs.dev/docs/@solana/web3.js/2.0.0/index.html |
@lorisleiva Sure we can read them. But examples don't have READMEs. So it's not clear what they are about. Maybe there's a draft docs page we can check out for now? Currently it's not even clear how to create a basic connection, because there is nothing about "connections" in the library. |
@romankurnovskii Oh, I just discovered your page with snippets. Many thanks! |
Be sure to take a look at the source code of the examples. Every single line is documented in detail, explaining what is being done at each step, and why. |
should I start using this in prod? readme has a lot of complex information I think those might be better in another markdown and focus readme on high level. |
Many are, @benjiqq. For questions, head over to https://sola.na/sse and we'll be happy to answer them in detail there. What changes would you like to see to the READMEs? |
IMO: answers to more basics at the start eg
I would assume for most consumers fine details below are better in separate advanced doc
|
Don't miss this: solana-labs/solana-web3.js#1111. Also this: https://www.anza.xyz/blog/solana-web3-js-2-release-candidate
Yes.
This project is ready to use in production, the Release Candidate program having ended. |
Overview
There is no documentation or migration path from 1.x to 2.x that I can find on the README or looking around the repository. Examples are not adequate.
Please let me know where i can find the documentation for 2.x and please please please link it to the top of README.
The text was updated successfully, but these errors were encountered: