enjin / erc-1155

ERC-1155: Smart Contract Sample Implementation
Apache License 2.0
420 stars 208 forks source link

What is the difference between 'create' and 'mint' functions in ERC1155Mintable.sol #25

Closed andylim0221 closed 4 years ago

andylim0221 commented 4 years ago

I can't get the difference between the 'create' function and 'mint' function in ERC1155Mintable.sol.

When you use 'create' function with initalSupply=100, and the balanceOf the owner is now 100. If so, it should be similar to 'mint' function, right?