I am just dude
I am just dude

Reputation: 1

How to allow all to use mint function of aptos coin

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);
    }

Upvotes: 0

Views: 86

Answers (1)

0xaptosj
0xaptosj

Reputation: 36

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.

Upvotes: 1

Related Questions