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

feat: consolidate frontend docs #2427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 0 additions & 67 deletions docs/2.build/4.web3-apps/frontend.md

This file was deleted.

32 changes: 31 additions & 1 deletion docs/2.build/4.web3-apps/integrate-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,42 @@ Using those tools you will implement the following flow:
2. Ask the user to **sign-in** using a NEAR wallet.
2. **Call methods** in the contract.

### Naxios

:::warning NEAR BOS

The project known as NEAR Blockchain Operating System (NEAR BOS) has been deprecated, but you can find its documentation on [this link](https://deprecated-near.github.io/legacy-docs/components/what-is)

:::

<details>

<summary> Alternatives to `near-api-js` </summary>

You can optionally use [Naxios](https://wpdas.gitbook.io/naxios). A promise-based NEAR Contract and NEAR Wallet Client for browser.

Naxios was designed to facilitate the React / Next.js integration with NEAR Blockchain and avoid the boilerplate of setting up a wallet and contract.

</details>


<details markdown="1">

<summary> Decentralized Frontend Solutions </summary>

If you need full decentralization of your entire stack, this option is ideal. However, consider the possible technical constraints, such as the absence of server-side rendering or meta frameworks like Next.js.

Although the ecosystem for developing decentralized frontends is still maturing, here are some notable projects for you to evaluate and consider:

| Name | <div align="center">Description</div> |
|-------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|
| [**IPFS**](https://docs.ipfs.tech/how-to/websites-on-ipfs/single-page-website/) | A peer-to-peer hypermedia protocol designed to preserve and grow humanity's knowledge by making the web upgradeable, resilient, and more open. |
| [**Fleek**](https://docs.fleek.co/tutorials/hosting/) | Hosts websites on IPFS with a user-friendly interface and continuous deployment from popular repositories. |
| [**Arweave**](https://www.arweave.org/build) | Arweave lets you build quickly and simply with permanent storage. You can store anything from files to fully decentralized web applications. |
| [**Web4**](https://web4.near.page/) | Web4 is a new way to distribute decentralized apps on NEAR Protocol. Deploy single WASM smart contract to deploy an entire web application. |
| [**B.O.S. Components**](https://deprecated-near.github.io/legacy-docs/components/what-is) | An experimental platform that allows users to build and deploy multi-chain decentralized UI experiences. |

</details>

---

## Adding NEAR API JS and Wallet Selector
Expand Down
5 changes: 1 addition & 4 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,7 @@ const sidebar = {
"Building Web3 Applications": [
"build/web3-apps/quickstart",
{
type: 'category',
label: 'Frontends',
link: { type: 'doc', id: 'build/web3-apps/frontend' },
items: [
"Frontends": [
"build/web3-apps/integrate-contracts",
]
},
Expand Down
Loading