Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mint]

The tag has no usage guidance.

0
votes
1answer
22 views

Contract gives erc20 tokens based on an event, to an empty wallet

I have a new wallet address and no ETH. I want to be able to request an amount of 10 erc-20 tokens. Because I do not have any eth on this wallet, I want to be able to get the tokens onto my wallet ...
0
votes
1answer
24 views

What does the single line “_;” in OpenZeppelin's onlyMinter() function do? [duplicate]

In onlyMinter(), there is a line with only _;. I'm having troubles adding a minter address, so I'm just checking the various contracts that go into ERC721. The function is modifier onlyMinter() { ...
1
vote
0answers
56 views

What is the best secured way to let users interact with a tokens minting function?

I have an ERC20 tokens contract with a function to mint tokens. This function allows users to mint tokens after performing specific actions or activities on a website. If a user performs the action ...
0
votes
0answers
144 views

Error: VM Exception while processing transaction

I've got an errors while purchasing token with my test network, and the message is rpc error with payload, and an VM Exception while processing transaction. Is my contract wrong or my function wrong? ...
0
votes
0answers
48 views

Hostile Takeover Of Minted Coin In Crowdsale

I am querying the warning on new crowd sales where minted tokens are made as per this guide: https://www.ethereum.org/crowdsale which reads as follows: Once you published the crowdsale contract, ...
0
votes
1answer
211 views

what is meant by minted crowdsales?

I am new to ethereum smart contracts, I was going through minted crowdsale code for learning but couldn't figured out its use case or what is its purpose, precisely what does it mean? Any answer ...
0
votes
1answer
221 views

Mintable tokens with some kind of identifier

I have the mintable token code working fine. Now I would like to add the ability for the tokens to 'remember' when/why they were minted, such as, 0-100 group 1, 101-300 group 2, 301-1000 group 3, ...
0
votes
2answers
300 views

Is the way I'm minting tokens bad practice?

Notice from: https://ethereum.org/token The mintToken Function: function mintToken(address target, uint256 mintedAmount) onlyOwner { balanceOf[target] += mintedAmount; totalSupply += ...
0
votes
1answer
366 views

Proof of Stake Automatic Timed Release of Token

I'm using https://github.com/PoSToken/PoSToken/blob/master/contracts/PoSToken.sol as my example of Proof of Stake implementation (feel free to point out others that are worth looking at) however, it ...