# How to set up your smart contract for Tweed

### Our claimer[ ](#user-content-fn-1)[^1]needs 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.

[^1]:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paytweed.com/developer-tools/tweed-sdks/payments-sdks-v1/how-to-set-up-your-smart-contract-for-tweed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
