Skip to content

Commit 06821d3

Browse files
authored
move zero to hero ft/nft to github pages (#2849)
* move to github pages * clean up * clean up * fixes * Update fts.md * clean up
1 parent c3a050e commit 06821d3

37 files changed

+157
-8776
lines changed

docs/primitives/ft/ft.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Here is an example from our [auctions tutorial](../../tutorials/auction/3.2-ft.m
537537
url="https://github.com/near-examples/auctions-tutorial/blob/main/contract-rs/03-bid-with-fts/src/lib.rs#L56-L87"
538538
start="56" end="87" />
539539

540-
_Note: The [`near_contract_standards::fungible_token::receiver`](https://docs.rs/near-contract-standards/latest/near_contract_standards/fungible_token/receiver/trait.FungibleTokenReceiver.html) module exposes a `FungibleTokenReceiver` trait that you could implement on your contract_
540+
_Note: The [`near_contract_standards::fungible_token::receiver`](https://docs.rs/near-contract-standards/latest/near_contract_standards/fungible_token/receiver/trait.FungibleTokenReceiver.html) module exposes a `FungibleTokenReceiver` trait that you could implement on your contract_
541541

542542
---
543543

@@ -547,4 +547,4 @@ _Note: The [`near_contract_standards::fungible_token::receiver`](https://docs.rs
547547
2. [NEP-148 standard](https://github.com/near/NEPs/tree/master/neps/nep-0148.md)
548548
3. [FT Event Standards](https://github.com/near/NEPs/blob/master/neps/nep-0300.md)
549549
4. [FT reference implementation](https://github.com/near-examples/FT)
550-
5. [Fungible Tokens 101](../../tutorials/fts/0-intro.md) - a set of tutorials that cover how to create a FT contract using Rust.
550+
5. [Fungible Tokens 101](../../tutorials/fts.md) - a set of tutorials that cover how to create a FT contract using Rust.

docs/primitives/nft/nft.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,5 +516,5 @@ If the `msg` parameter is included, then a cross-contract call will be made to `
516516

517517
## Tutorials
518518

519-
- [NFT Tutorial](/tutorials/nfts/js/introduction) _Zero to Hero_ (JavaScript SDK) - a set of tutorials that cover how to create a NFT contract using JavaScript.
520-
- [NFT Tutorial](/tutorials/nfts/introduction) _Zero to Hero_ (Rust SDK) - a set of tutorials that cover how to create a NFT contract using Rust.
519+
- [NFT Tutorial](/tutorials/nfts-js) _Zero to Hero_ (JavaScript SDK) - a set of tutorials that cover how to create a NFT contract using JavaScript.
520+
- [NFT Tutorial](/tutorials/nfts) _Zero to Hero_ (Rust SDK) - a set of tutorials that cover how to create a NFT contract using Rust.

docs/tutorials/fts.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
id: fts
3+
title: Fungible Tokens Zero to Hero
4+
sidebar_label: Build a FT Contract from Scratch
5+
description: "Master NEAR fungible tokens from pre-deployed contracts to building fully-featured FT smart contracts."
6+
---
7+
8+
In this _Zero to Hero_ series, you'll find a set of tutorials covering every aspect of a fungible token (FT) smart contract. You'll start by interacting with a pre-deployed contract and by the end you'll have built a fully-fledged FT smart contract that supports every extension of the standards.
9+
10+
---
11+
12+
## Prerequisites
13+
14+
To complete these tutorials successfully, you'll need:
15+
16+
- [Rust](/smart-contracts/quickstart#prerequisites)
17+
- [A NEAR wallet](https://testnet.mynearwallet.com)
18+
- [NEAR-CLI](/tools/near-cli#installation)
19+
- [cargo-near](https://github.com/near/cargo-near)
20+
21+
:::info New to Rust?
22+
If you are new to Rust and want to dive into smart contract development, our [Quick-start guide](https://docs.near.org/smart-contracts/quickstart) is a great place to start.
23+
:::
24+
25+
---
26+
27+
## Overview
28+
29+
These are the steps that will bring you from **_Zero_** to **_Hero_** in no time! 💪
30+
31+
| Step | Name | Description |
32+
| ---- | ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
33+
| 1 | [Pre-deployed contract](https://near-examples.github.io/ft-tutorial/predeployed-contract) | Receive FTs without the need to code, create, or deploy a smart contract. |
34+
| 2 | [Contract architecture](https://near-examples.github.io/ft-tutorial/skeleton) | Learn the basic architecture of the FT smart contract and compile the code. |
35+
| 3 | [Defining a Token](https://near-examples.github.io/ft-tutorial/defining-a-token) | Flesh out what it means to have a FT and how you can customize your own. |
36+
| 4 | [Circulating Supply](https://near-examples.github.io/ft-tutorial/circulating-supply) | Learn how to create an initial supply and have the token show up in your wallet. |
37+
| 5 | [Registering Accounts](https://near-examples.github.io/ft-tutorial/registering-accounts) | Explore how you can implement and understand the storage management standard to avoid malicious users from draining your funds. |
38+
| 6 | [Transferring FTs](https://near-examples.github.io/ft-tutorial/transfers) | Learn how to transfer FTs and discover some of the true powers that the core standard brings |
39+
| 7 | [Marketplace](https://near-examples.github.io/ft-tutorial/marketplace) | Learn about how common marketplaces operate on NEAR and dive into some of the code that allows buying and selling NFTs by using Fungible Tokens. |
40+
41+
---
42+
43+
## Next steps
44+
45+
Ready to start? Jump to the [Pre-deployed Contract](https://near-examples.github.io/ft-tutorial/predeployed-contract) tutorial and begin your learning journey!
46+
47+
If you already know about fungible tokens and smart contracts, feel free to skip and jump directly to the tutorial of your interest. The tutorials have been designed so you can start at any given point!

docs/tutorials/fts/0-intro.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

docs/tutorials/fts/0-predeployed.md

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)