Skip to main content

Contract Minting

If you wish to mint directly on a contract it is possible with some knowhow.

warning

Scatter contracts do not mint based on sending them ETH directly, you must use the mint function.

This example will use https://etherscan.io/ but any method of directly interacting with contracts will work in a similar fashion.

Find the contract on Etherscan from its contract address. Find the contract address from the Scatter page. Verify that this contract address matches what anyone else tells you.

Find the Contract button then Write Contract or Write Contract as Proxy buttons.

Click Connect button and confirm until the Connect button is green.

Scroll down to the "mint" function.

Public Lists

warning

Setting up free mints like this as a creator is a bad idea because they almost always get botted. Instead, if you want to do a free mint, you should use https://holders.art/ to snapshot some collections and give free mints to holders of those NFTs.

Free minting example

  • mint: 0
  • auth.key: 0x0000000000000000000000000000000000000000000000000000000000000000
  • auth.proof: []
  • quantity: as many as you can get
  • affiliate: 0x0000000000000000000000000000000000000000
  • signature: 0x00

The mint value should be set to the cost of the total quantity of NFTs you are wishing to mint. Make sure that you are not attempting more than the wallet limit of the public list allows. Additionally, the public list may have a list limit which limits the number of NFTs that can be minted on it. If price is 0.01 and you want 2 tokens you should set mint to 0.02 and quantity to 2.

If you find and decode a transaction you will see these similar details.

Mint transaction raw

Mint transaction decoded

Private Lists

Private lists require some special information to mint directly on the contract. The biggest hurdle for you will be to get the proof used in the auth.proof field. There isn't currently a super easy way for you to get this.

Other Situations

In some situations, you cannot mint directly onto a contract yourself and must use the Scatter interface for minting.

  • Affiliate minting. These transactions require our signature to execute.
  • Signed mints. These special mint types require our signature to execute.