The Asset Library provides basic helper functions for the SRC-20; Native Asset Standard , SRC-3; Mint and Burn Standard , and the SRC-7; Arbitrary Asset Metadata Standard . It is intended to make development of Native Assets using Sway quick and easy while following the standard's specifications.
For implementation details on the Asset Library please see the Sway Libs Docs .
The Base or core of any Asset on the Fuel Network must follow the SRC-20; Native Asset Standard . The Asset Library's Base section supports the SRC-20 's implementation.
The SRC-3; Mint and Burn Standard prescribes an ABI for how Native Assets on the Fuel Network are minted and burned. The Asset Library's supply section supports the SRC-3 's implementation.
The SRC-7; Arbitrary Asset Metadata Standard prescribes an ABI for metadata associated with Native Assets on the Fuel Network. The Asset Library's metadata section supports the SRC-7 's implementation.