-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tutorial sections blueprint for FT and NFT #114
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -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 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
*provide command line instructions on how to interact with the above sc* | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's better to do it with massa-web3 (node). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It applies also to everything below. |
||||||
|
||||||
# Check balance | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
*provide cli + explanations* | ||||||
|
||||||
# Transfering tokens between accounts | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
*provide cli + explanations* | ||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,18 @@ import { FeatureList, Feature } from "@site/src/components/featurelist"; | |
Here you will find various examples of decentralized apps built on Massa. | ||
|
||
<FeatureList> | ||
<Feature | ||
url="./fungible-token" | ||
title="Fungible Token" | ||
content="Create a fungible token." | ||
icon="🤖" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should use different icons. |
||
/> | ||
<Feature | ||
url="./non-fungible-token" | ||
title="Non Fungible Token" | ||
content="Create a non fungible token." | ||
icon="🤖" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same |
||
/> | ||
<Feature | ||
url="./trading-bot" | ||
title="Trading Bot" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
id: non-fungible-token | ||
sidebar_label: Non Fungible Token | ||
--- | ||
|
||
# Non Fungible Token | ||
|
||
Non Fungible Tokens are tokens that are individuated and can not be indifferently swaped with each other. | ||
They are commonly known as "NFTs" and can be bound to digital or even real-life assets, to facilitate | ||
trading them via the blockchain. Unlike Fungible Token, NFTs are not tradable on fluid markets, but instead | ||
must be sold via dedicated platforms, with price established by the owner, or via auctions. | ||
|
||
# Create a new NFT smart contract | ||
*give ref to github implementation, and explain again how to build and deploy* | ||
|
||
# Register a new account | ||
*provide command line instructions on how to interact with the above sc* | ||
|
||
# Check NFTs owned by a given account | ||
*provide cli + explanations* | ||
|
||
# Mint an NFT | ||
*provide cli + explanations* | ||
|
||
# Transfering NFTs between accounts | ||
*provide cli + explanations* | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.