docs/content/guides/developer/digital-assets/fungible-tokens/create-a-fungible-token.mdx
The registry system supports two currency creation methods:
new_currency<T>() when creating the coin outside of the init function of your package.new_currency_with_otw<T>() with a One-Time Witness for uniqueness proof.:::caution Proper creation and RPC support requires a second transaction to promote the currency to the registry. :::
Both methods return a CurrencyInitializer<T> that allows configuration before finalization:
The initialization process allows for:
:::caution Proper creation and RPC support requires a second transaction to promote the currency to the registry.
After initialization of a currency using the One-Time Witness method, you must call coin_registry::finalize_registration to create the shared Currency object that the Coin Registry can track.
:::