Minter Widget
The Minter Widget is a frontend tool to facilitate minting USDV with alternative stablecoins (e.g., USDC, USDT, DAI), providing flexibility for minters who support these alternatives.
A Verified Minter can configure the Minter Widget with its registered color to enforce that all newly minted USDV through this widget be colored accordingly.
The Minter Widget supports Minter.sol (via MinterProxy) on Ethereum and BridgeRecolor.sol on Sidechains.
Architecture (Ethereum)

Deploy Minter Widget
Here is an example of how to deploy a minter widget on your website with the React framework.
Add
@usdv/usdv-widgetto the dependencies of your package.
or
In your page file
Declare elements in html or jsx file.
usdv-tracker、usdv-bridge、usdv-mintandusdv-widgetare custom HTML elements.usdv-trackeris used for displaying transaction status,usdv-bridgeis used for transferring across chains, andusdv-mintis used for minting.usdv-widgetis a combination of the above three elements.
or if you only want mint feature with transaction tracker, you can use it like this:
You can customize the theme.
Switch to testnet
Enable minting in side chain
Request Mint
This is the interface to mint USDV :
The Minter Widget can also provide a minting memo for this minting action for extensibility, such as keeping record or external attributions.
Last updated