Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez committed Oct 31, 2023
1 parent 5aa9164 commit 568b941
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 28 deletions.
2 changes: 1 addition & 1 deletion docs/7.primitives/ft/interacting/web-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ const TransferComponent = ({ tokenId, contractAddress }: TransferArgs): JSX.Elem

---

## List a NFT up for a sale
## List a NFT for sale

Basic NFT contracts following [the NEP-171 and NEP-177 standards](https://nomicon.io/Standards/Tokens/NonFungibleToken) do not implement marketplace functionality.

Expand Down
8 changes: 4 additions & 4 deletions docs/7.primitives/nft/additional-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ hide_table_of_contents: false
import {FeatureList, Column, Feature} from "@site/components/featurelist"
import ContactUs from '@site/components/ContactUs.mdx';

1. [NFT Tutorial](/tutorials/nfts/js/introduction) (NEAR examples, JavaScript SDK) - a set of tutorials that will cover every aspect of a non-fungible token (NFT) smart contract on JavaScript.
2. [NFT Tutorial](/tutorials/nfts/introduction) (NEAR examples, Rust SDK) - a set of tutorials that will cover every aspect of a non-fungible token (NFT) smart contract on Rust.
3. [NFT Tutorial by Keypom](https://github.com/keypom/nft-tutorial-series) (fork NEAR examples).
1. [NFT Tutorial](/tutorials/nfts/js/introduction) (NEAR examples, JavaScript SDK) - a set of tutorials that cover how to create a NFT contract using JavaScript.
2. [NFT Tutorial](/tutorials/nfts/introduction) (NEAR examples, Rust SDK) - a set of tutorials that cover how to create a NFT contract using Rust.
3. [NFT Tutorial by Keypom](https://github.com/keypom/nft-tutorial-series) (a fork of the NEAR example tutorial).
4. [Paras API documentation](https://parashq.github.io/).
5. [Mintbase API documentation](https://docs.mintbase.xyz/dev/mintbase-graph).
6. [Mintbase JS SDK](https://docs.mintbase.xyz/dev/mintbase-sdk-ref) - a set of methods to get data from blockchain, interact with Mintbase contracts, etc.
7. [Examples](/develop/relevant-contracts/nft) of how to mint NFT, query metadata, attach NFTs to a contract call using `near-cli`.
7. [Examples](/develop/relevant-contracts/nft) on how to mint NFT, query metadata, attach NFTs to a contract call using `near-cli`.
2 changes: 1 addition & 1 deletion docs/7.primitives/nft/interacting/bos.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ const tokenData = Near.call("thomasettorreiv.mintbase1.near", "nft_transfer", {

---

## List a NFT for a sale
## List a NFT for sale

Basic NFT contracts following [the NEP-171 and NEP-177 standards](https://nomicon.io/Standards/Tokens/NonFungibleToken) do not implement marketplace functionality.

Expand Down
2 changes: 1 addition & 1 deletion docs/7.primitives/nft/interacting/near-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ near call thomasettorreiv.mintbase1.near nft_transfer '{"token_id": "490641" "re

---

## List a NFT up for a sale
## List a NFT for sale

Basic NFT contracts following [the NEP-171 and NEP-177 standards](https://nomicon.io/Standards/Tokens/NonFungibleToken) do not implement marketplace functionality.

Expand Down
10 changes: 5 additions & 5 deletions docs/7.primitives/nft/interacting/smart-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ hide_table_of_contents: false

This section will explain how a smart contract can mint, buy, transfer and query NFTs.

:::warning
If you want to create your own NFT contract check this [Example implementation](https://github.com/near-examples/NFT) and the [NFT Zero to Hero Tutorial](https://docs.near.org/tutorials/nfts/introduction)
:::tip
If you are looking to create your own NFT contract please check the [Example implementation](https://github.com/near-examples/NFT) and the [NFT Zero to Hero Tutorial](https://docs.near.org/tutorials/nfts/introduction)
:::

---
Expand Down Expand Up @@ -112,10 +112,10 @@ Values of gas and deposit might vary depending on which NFT contract you are cal

## Buy a NFT

There is an example how you can make your smart contract to buy NFT on a some marketplace (Paras this case).
This is an example on how you can make your smart contract buy a NFT on some marketplace (Paras this case).

:::info
Note, that the contract will be the NFT owner.
Please note that in this example the contract will be the owner of the NFT, however, some marketplaces allow you to buy NFT for somebody else.
:::

```rust
Expand Down Expand Up @@ -252,7 +252,7 @@ impl Contract {

---

## List a NFT up for a sale
## List a NFT for sale

Due to the specifics of putting a token up for sale on a NFT marketplace (more precisely, the need for the owner of the token to sign an approval transaction), you need to do this on the client side.

Expand Down
2 changes: 1 addition & 1 deletion docs/7.primitives/nft/interacting/web-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ const TransferComponent = ({ tokenId, contractAddress }: TransferArgs): JSX.Elem

---

## List a NFT up for a sale
## List a NFT for sale

Basic NFT contracts following [the NEP-171 and NEP-177 standards](https://nomicon.io/Standards/Tokens/NonFungibleToken) do not implement marketplace functionality.

Expand Down
2 changes: 1 addition & 1 deletion docs/7.primitives/nft/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ContactUs from '@site/components/ContactUs.mdx';

## What is an NFT?

In contrast with [fungible tokens](/develop/relevant-contracts/ft), non-fungible tokens (NFT) are unitary and therefore unique. This makes NFTs ideal to represent ownership of assets such as a piece of digital content, or a ticket for an event.
In contrast with fungible tokens, non-fungible tokens (NFT) are unitary and therefore unique. This makes NFTs ideal to represent ownership of assets such as a piece of digital content, or a ticket for an event.

As with fungible tokens, NFTs are **not stored** in the user's wallet, instead, each NFT lives in a **NFT contract**. The NFT contract works as a bookkeeper, this is: it is in charge of handling the creation, storage and transfers of NFTs.

Expand Down
16 changes: 2 additions & 14 deletions website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,21 +387,9 @@
"type": "html",
"value": "<span class='menu__link'><b><small> Fungible Tokens (FT) </small></b></span>"
},
"primitives/ft/introduction",
{
"Using FTs": [
"primitives/ft/interacting/bos",
"primitives/ft/interacting/web-app",
"primitives/ft/interacting/smart-contract",
"primitives/ft/interacting/near-cli"
]
},
"primitives/ft/additional-resources",
{
"Drafts": [
"primitives/ft/bos",
"primitives/ft/dex"
]
"type": "html",
"value": "<span class='menu__link'>Coming Soon</span>"
},
{
"type": "html",
Expand Down
Binary file modified website/static/docs/assets/welcome-pages/examples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 568b941

Please sign in to comment.