Archives: Docs

Docs

Creating a Frontend

Login with NEARNow that we have successfully created a contract, it’s time to build a frontend to provide a user-friendly interface for interacting with it. Up until now, we have been using the CLI to send transactions and view the contract’s state. However, frontends offer a more intuitive way for end users to interact with …

Creating a Frontend Read More »

Indexing Historical Data

Login with NEARIn our frontend, we can easily display the previous bid since it’s stored in the contract’s state. However, we’re unable to see previous bids to the auction. An indexer is used to fetch historical data from the blockchain and store it in a database. Since indexers can take a while to set up …

Indexing Historical Data Read More »

Sandbox Testing

Login with NEARIn the previous section, we went through the contract’s code, analyzing how it worked. Now, we need to test it and make sure it works as expected! For contracts, there are two types of testing you can do: unit testing and sandbox testing. Here, we will focus on sandbox testing, as it enables …

Sandbox Testing Read More »

Deploying to Testnet

Login with NEARIn the previous sections, we saw how a simple auction smart contract is implemented, and checked its correctness using sandbox testing. The time has come to release it on the actual blockchain and interact with it! In this section, we will show you how to create a simple testnet account, deploy the contract, …

Deploying to Testnet Read More »

Basic Auction

Login with NEARIn this section, we will analyze a simple auction contract, which allows users to place bids, track the highest bidder and claim tokens at the end of the auction. After, we will cover how to test the contract, as well as how to deploy it on testnet. info Documentation During this tutorial, we …

Basic Auction Read More »

What is Data Infrastructure?

Login with NEARNEAR offers ready-to-use solutions to access and monitor on-chain data easily. This is very useful to automate actions based on specific events, cache data to reduce latency, gather usage data of the blockchain, and even study user preferences. In NEAR you will find three main solutions to access and monitor on-chain data: Data …

What is Data Infrastructure? Read More »

BigQuery Public Dataset

Login with NEARBlockchain data indexing in NEAR Public Lakehouse is for anyone wanting to understand blockchain data. This includes: Users: create queries to track NEAR assets, monitor transactions, or analyze on-chain events at a massive scale. Researchers: use indexed data for data science tasks, including on-chain activities, identifying trends, or feeding AI/ML pipelines for predictive …

BigQuery Public Dataset Read More »

Data APIs

Login with NEARMembers of the NEAR community have built a set of APIs to access and monitor on-chain data. These APIs are designed to be easy to use and can be accessed from any application through a simple API call. NearBlocks API: Query actions that happened on a NEAR account FastNear API: Exposes low-latency APIs …

Data APIs Read More »

Scroll to Top