Archives: Docs

Docs

Transfers

Login with NEARIn this tutorial you’ll learn how to implement NFT transfers as defined in the core standards into your smart contract. We will define two methods for transferring NFTs: nft_transfer: that transfers ownership of an NFT from one account to another nft_transfer_call: that transfers an NFT to a “receiver” and calls a method on …

Transfers Read More »

Minting

Login with NEARThis is the first of many tutorials in a series where you’ll be creating a complete NFT smart contract from scratch that conforms with all the NEAR NFT standards. Today you’ll learn how to create the logic needed to mint NFTs and have them show up in your NEAR wallet. You will be …

Minting Read More »

Upgrading the Contract

Login with NEARIn this tutorial, you’ll build off the work you previously did to implement the minting functionality on a skeleton smart contract. You got to the point where NFTs could be minted and the wallet correctly picked up on the fact that you owned an NFT. However, it had no way of displaying the …

Upgrading the Contract Read More »

Pre-deployed Contract

Login with NEARCreate your first non-fungible token by using a pre-deployed NFT smart contract which works exactly as the one you will build on this tutorial. Prerequisites To complete this tutorial successfully, you’ll need a NEAR Wallet and NEAR CLI Using the NFT contract Minting an NFT token on NEAR is a simple process that …

Pre-deployed Contract Read More »

Skeleton and Rust Architecture

Login with NEARIn this article, you’ll learn about the basic architecture behind the NFT contract that you’ll develop while following this “Zero to Hero” series. You’ll discover the contract’s layout and you’ll see how the Rust files are structured in order to build a feature-complete smart contract. info Skeleton Contract You can find the skeleton …

Skeleton and Rust Architecture Read More »

NFT Zero to Hero

Login with NEARIn this Zero to Hero series, you’ll find a set of tutorials that will cover every aspect of a non-fungible token (NFT) smart contract. You’ll start by minting an NFT using a pre-deployed contract and by the end you’ll end up building a fully-fledged NFT smart contract that supports every extension. Prerequisites To …

NFT Zero to Hero Read More »

Smart Contract Interaction

Login with NEARYour frontend can interact with different blockchains using the built-in BOS API. Let’s see how to create an application that reads and stores a greeting from a NEAR smart contract. View of our Hello Near app when the user is logged-in info Check the finished example at [near.social code page](https://near.social/#/mob.near/widget/WidgetSource?src=gagdiez.near/widget/HelloNear). The Contract We …

Smart Contract Interaction Read More »

Using IFrames

Login with NEARIframes In this tutorial you’ll learn how to use the iframe VM tag and the Iframe resizer library, so you can embed external HTML or use custom DOM elements when building NEAR components. You can use it along the rest of approved VM tags to simplify your component development. Using IFrames on NEAR …

Using IFrames Read More »

Push Notifications

Login with NEARPush messages enable your gateway to send notifications on desktop and mobile devices even when the users are not active. To implement push notifications, you need to: Create a Service Worker Ask the user for permission to send push notifications Send the client identifier information to our notification server Add logic to display …

Push Notifications Read More »

Scroll to Top