Skip to content
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

v1 standards #109

Merged
merged 6 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/build/smart-contract/standards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
id: standards
sidebar_label: Standards
---

# Massa Standard

In the blockchain ecosystem, standards serve as crucial pillars fostering interoperability and seamless interaction across diverse platforms and applications. This page offers a comprehensive overview of the standards—including token, contract, unit definitions.
Ben-Rey marked this conversation as resolved.
Show resolved Hide resolved

## Fungible Tokens (FT)

FT is a standard for creating fungible, tradable tokens on the Massa blockchain. It includes a set of functions that allow for seamless interaction with tokens within smart contracts and wallets.

[View on GitHub](https://github.com/massalabs/massa-standards/tree/main/smart-contracts/assembly/contracts/FT)

## Non-Fungible Tokens (NFT)

NFT is a standard for creating unique, non-fungible tokens on the Massa blockchain. This allows the creation and management of tokens where each instance has a unique value or properties.

[View on GitHub](https://github.com/massalabs/massa-standards/tree/main/smart-contracts/assembly/contracts/NFT)

## Massa Domain Name Service (DNS)

The DNS standard provides a foundational framework for managing Domain Name System (DNS) records within the Massa blockchain ecosystem. It streamlines the creation of a link between the hostname (website name), resolver address (where the smart contract and chunks of the website are located), and the DNS record owner.

## Massa Units Standard
The Massa Units standard defines common units of measurement for the Massa blockchain, including:

- Massa coin

- Gas

- Rolls

Learn more about [Massa Units Standard](https://github.com/massalabs/massa-standards/blob/main/units.md)



*Last updated on July 5, 2023 by Author*
Ben-Rey marked this conversation as resolved.
Show resolved Hide resolved
9 changes: 7 additions & 2 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const sidebars = {
},
{
type: "html",
value: "<span class='menu__link'><b><small>Autonomous Smart Contract</small></b></span>"
value:
"<span class='menu__link'><b><small>Autonomous Smart Contract</small></b></span>",
},
{
type: "doc",
Expand Down Expand Up @@ -95,7 +96,7 @@ const sidebars = {
{
type: "doc",
id: "tutorial/trading-bot",
}
},
],
buildSidebar: [
{
Expand Down Expand Up @@ -148,6 +149,10 @@ const sidebars = {
},
],
},
{
type: "doc",
id: "build/smart-contract/standards",
},
],
},
{
Expand Down