The fungibles
module provides an api for interacting and managing fungible tokens.
It includes the following interfaces:
- PSP-22
- PSP-22 Metadata
- Management
- PSP-22 Mintable & Burnable
To use it in your contract add the fungibles
feature to the pop-api
dependency.
# Cargo.toml
pop-api = { git = "https://github.com/r0gue-io/pop-node", default-features = false, features = [ "fungibles" ] }
Check out the examples to learn how you can use the fungibles api.