Crates.io | src20_sdk |
lib.rs | src20_sdk |
version | 0.0.3 |
source | src |
created_at | 2023-06-21 18:58:57.951927 |
updated_at | 2023-06-29 13:43:40.832363 |
description | Sway token standard SRC-20 rust sdk |
homepage | |
repository | |
max_upload_size | |
id | 896454 |
size | 18,868 |
Tokens can represent virtually anything in Fuel ⚡️:
Such a powerful feature of Fuel must be handled by a robust standard, right? That's exactly where the SWAY-GANG-TOKEN plays its role! This standard allows developers to build token applications that are interoperable with other products and services.
The SWAY-GANG-TOKEN introduces a standard for Fungible Tokens, in other words, they have a property that makes each Token be exactly the same (in type and value) as another Token. For example, a SWAY-GANG-TOKEN Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.
The SWAY-GANG-TOKEN, proposed by the SWAY GANG TEAM on December 2022, is a Token Standard that implements an API for tokens within Smart Contracts.
Example functionalities SWAY-GANG-TOKEN provides:
If a Smart Contract implements the following methods and events it can be called an SWAY-GANG-TOKEN Contract and, once deployed, it will be responsible to keep track of the created tokens on Fuel.