-
Notifications
You must be signed in to change notification settings - Fork 164
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
Add example usage for various common JavaScript utilities #471
Comments
maybe the soroban-examples-dapp repo could be one place to codify these examples in code. |
@Shaptic Do you have time to help out contributing to our docs? This is a great one :) |
This was referenced Mar 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does your feature solve?
There is a lack of "discoverability" for certain helpers and features in the JavaScript SDK.
People ask questions on Discord frequently about things that are very easy to do if you know about them, but knowing about them requires unnecessarily intimate knowledge about the SDK. Now that it has stabilized, we should take the time to raise the visibility of these helpful devX features.
What would you like to see?
Like with State Expiration, there should be brief demonstrations of how things are done via the JS SDK. Here's a non-exhaustive list:
Server.getEvents
andhumanizeEvents
authorizeInvocation
and friends as well asbuildInvocationTree
.Server.simulateTransaction
and its related utilitiesWhat alternatives are there?
A lot of this already exists in example dapps and other "fully featured" demos, but this hurts discoverability and ramping up for new users.
The text was updated successfully, but these errors were encountered: