diff --git a/docs/tutorial/fungible-token.mdx b/docs/tutorial/fungible-token.mdx new file mode 100644 index 000000000..f250f45e6 --- /dev/null +++ b/docs/tutorial/fungible-token.mdx @@ -0,0 +1,32 @@ +--- +id: fungible-token +sidebar_label: Fungible Token +--- + +# Fungible Token + +Fungible Tokens are tokens that can be indifferently swaped with each other, like coins for example. +This is what is covered by standards such as ERC-20 in the ethereum ecosystem and is commonly known as +a "token" or "alt-coin" in the blockchain jargon. + +Because of their fungible nature, fungible tokens are usually traded on fluid markets where they can be +bought and sold in bulks. They have a known price then, which is the price at which the last transaction +took place. + +## Create a new Fungible Token smart contract +*give ref to github implementation, and explain again how to build and deploy* + +## Register a new account +*provide massa-web3 examples on how to interact with the above sc* + +## Check balance +*provide massa-web3 examples + explanations* + +## Transfering tokens between accounts +*provide massa-web3 examples + explanations* + + + + + + diff --git a/docs/tutorial/home.mdx b/docs/tutorial/home.mdx index 5707f8ccd..342a431ce 100644 --- a/docs/tutorial/home.mdx +++ b/docs/tutorial/home.mdx @@ -10,6 +10,18 @@ import { FeatureList, Feature } from "@site/src/components/featurelist"; Here you will find various examples of decentralized apps built on Massa. + + Tutorials ", }, + { + type: "doc", + id: "tutorial/fungible-token", + }, + { + type: "doc", + id: "tutorial/non-fungible-token", + }, { type: "doc", id: "tutorial/trading-bot",