Archives: Docs

Docs

Chain Hosted UI

Login with NEARChain Hosted UI is a decentralized frontend solution that lets you to deploy dApp frontends directly on the NEAR blockchain. A frontend can be built with typical Web2 tooling (e.g. React + Vite + node.js dependencies), and the resulting compressed bundle can be stored in the state of a smart contract. warning This …

Chain Hosted UI Read More »

What are NEAR Components?

Login with NEARNEAR Components are a new way to build web applications. They are composable, reusable and decentralized. tip ou can login to interact with the examples in this section. Familiar to Web Developers NEAR Components are built on top of React Components, meaning that they: Handle input through the props variable Handle state through …

What are NEAR Components? Read More »

Choose your Dev Environment

Login with NEARThe environments in which you can develop Components are divided into two categories: Web Tools: Online tools that allow you to quickly start building and sharing components. Local Tools: Tools that allow you to develop and test components locally. tip andling collaborations If you plan to collaborate with multiple people, we recommend you …

Choose your Dev Environment Read More »

Using components on WebApps

Login with NEARIn order to use the components you create in a WebApp you need to use what is known as the NEAR VM. This virtual machine helps you to easily fetch components from the blockchain and transform them into executable code. There are two possible scenarios: You want to start a WebApp from scratch. …

Using components on WebApps Read More »

Yield and Resume

Login with NEARNEAR smart contracts can yield execution, until an external service resumes them. In practice, the contract yields a cross-contract call to itself, until an external service executes a function and the contract decides to resume. This is a powerful feature that allows contracts to wait for external events, such as a response from …

Yield and Resume Read More »

SDK Types

Login with NEARLets discuss which types smart contracts use to input and output data, as well as how such data is stored and handled in the contract’s code. ### Native Types Smart contracts can receive, store and return data using JS native types: – `string` – `number` – `boolean` – `Array` – `Map` – `Object` …

SDK Types Read More »

Scroll to Top