How to set up your smart contract for Tweed

Our claimerneeds to have a minter role in the contract.

Your smart contract have to allow Tweed's "claimer" smart contract to mint assets (Tokens or NFTs).

In case you want to get settled in native crypto currency, the mint function needs to be payable.

If you expect Tweed to settle (pay you) with native cryptocurrency (ETH, MATIC, BASE, etc..), then the mint function in your contract has to be payable thus allowing Tweed to send crypto directly along with the mint request.

Your contract will be able to validate that it got the crypto funds.

Last updated