How to allow anyone use mint function of my coin in aptos?
Now i have this code
public entry fun mint(account: &signer, dst_addr: address, amount: u64) {
aptos_framework::managed_coin::mint<Coin>(account, dst_addr, amount);
}
How to allow anyone use mint function of my coin in aptos?
Now i have this code
public entry fun mint(account: &signer, dst_addr: address, amount: u64) {
aptos_framework::managed_coin::mint<Coin>(account, dst_addr, amount);
}
Aptos is moving away from Coin standard, Fungbile Asset is the successor to Coin.
Checkout the fungible asset tutorial on minting and transferring a fungible asset you create.