Very simple question with I'm assuming no answer or a difficult to implement answer.

We have a smart contract with a mint function that takes no arguments. It only allows for the minting of one token.

We'd like to allow users to mint multiples of these tokens at one time rather than one by one.

Is there a workaround without having to upload an entirely new contract?

Here is the mint code (scrubbed to be generic):

function assembleToken() public {
        otherTokens.burn(msg.sender, assemblePrice);
        uint256 id = maxTokens + newTokensAssembled + 1;
        _mint(msg.sender, id);
    newTokensAssembled += 1;

1 Answer 1


Unless you deployed an upgradable contract, the answer is yes, you will need to deploy a new contract since contracts are inmutable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.