Skip to content
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

NEAR API section (ex. JavaScript API) #2251

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Conversation

garikbesson
Copy link
Collaborator

No description provided.

@render render bot temporarily deployed to near-api-section - docs-preview PR #2251 October 9, 2024 11:09 Destroyed
@bucanero bucanero requested a review from gagdiez October 16, 2024 13:00
@gagdiez
Copy link
Collaborator

gagdiez commented Oct 23, 2024

@garikbesson lets better use near-api-rs instead of the json rpc, and lets delete the other API files that will not be used anymore

@render render bot temporarily deployed to near-api-section - docs-preview PR #2251 November 1, 2024 21:19 Destroyed
@PiVortex PiVortex mentioned this pull request Nov 26, 2024
12 tasks
@render render bot temporarily deployed to near-api-section - near-docs PR #2251 November 29, 2024 13:42 Destroyed
@PiVortex
Copy link
Contributor

This PR helps #2321 but does not include the Python API and how to sign a message as the APIs do not implement a specific method to do this

@PiVortex
Copy link
Contributor

The examples have been migrated under near-examples and the snippets will need updating accordingly (just ctrl+F)
https://github.com/near-examples/near-api-examples

There is now an added example in there in js for signing and sending a transaction in a lower-level way and one for verifying signatures (but this verifying signatures should be used in the example for verifying messages as per NEP 413 when a method for this is added)

@garikbesson
Copy link
Collaborator Author

@PiVortex amazing work, thank you! It would be nice to have Response Examples for each example as well, but we can create another issue for that

Since near-api-examples are migrated to proper organization, let's change code snippets URLs here. After that I think PR can be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: NEW❗
Development

Successfully merging this pull request may close these issues.

5 participants