Skip to content

Commit

Permalink
NEAR API section (ex. JavaScript API) (#2251)
Browse files Browse the repository at this point in the history
* js + rust overview

* minor improvements

* style fixes

* add most of rust

* api additions

* quick fix

* swapping to code snippets

* complete rust + javascript api docs

* change sidebars

* fix links

* fix: minor fixes

* New NEAR API section - Python examples (#2358)

* feat(near-api/python): Install, account and utilities examples

* feat(near-api/python): Missing examples added

* fix: added snippet for python

---------

Co-authored-by: gagdiez <[email protected]>
Co-authored-by: Damián Parrino <[email protected]>
Co-authored-by: Lyudmil Ivanov <[email protected]>
Co-authored-by: PiVortex <[email protected]>
Co-authored-by: Guillermo Alejandro Gallardo Diez <[email protected]>
Co-authored-by: Reza Rahemtola <[email protected]>
  • Loading branch information
7 people authored Jan 2, 2025
1 parent 704e759 commit f3dddd5
Show file tree
Hide file tree
Showing 13 changed files with 997 additions and 1,201 deletions.
4 changes: 2 additions & 2 deletions docs/2.build/2.smart-contracts/release/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ allowing the code to be changed.

Contract's can be updated in two ways:

1. **Through tools** such as [NEAR CLI](../../../4.tools/cli.md) or
[near-api-js](../../../4.tools/near-api-js/quick-reference.md) (if you hold
1. **Through tools** such as [NEAR CLI](../../../4.tools/cli.md) or the
[NEAR API](../../../4.tools/near-api.md) (if you hold
the account's
[full access key](../../../1.concepts/protocol/access-keys.md)).
2. **Programmatically**, by implementing a method that
Expand Down
4 changes: 2 additions & 2 deletions docs/2.build/4.web3-apps/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ While your user interface layer will remain centralized, the backend layer—inc

When building a frontend that can connect with the NEAR blockchain using standard web2 tooling will require you to import two dependencies:

- [NEAR API JS](../../4.tools/near-api-js/quick-reference.md) - A JavaScript API tool that allows frontend clients the ability to view and retrieve data directly from the blockchain.
- [NEAR API JS](../../4.tools/near-api.md) - A JavaScript API tool that allows frontend clients the ability to view and retrieve data directly from the blockchain.
- [Wallet Selector](../../4.tools/wallet-selector.md) - Wallet integration tool allowing developers to choose which wallets are supported and allows users to choose which wallet they would like to connect with.

:::tip

[Checkout this article](integrate-contracts.md) to learn how to integrate smart contracts to your frontend, using [Wallet Selector](../../4.tools/wallet-selector.md) and [NEAR API JS](../../4.tools/near-api-js/quick-reference.md).
[Checkout this article](integrate-contracts.md) to learn how to integrate smart contracts to your frontend, using [Wallet Selector](../../4.tools/wallet-selector.md) and [NEAR API JS](../../4.tools/near-api.md).

:::

Expand Down
26 changes: 0 additions & 26 deletions docs/4.tools/near-api-js/cookbook.md

This file was deleted.

Loading

0 comments on commit f3dddd5

Please sign in to comment.