import { sendTransaction } from "thirdweb";
import { MintableERC20 } from "thirdweb/modules";
const transaction = MintableERC20.setSaleConfig({
contract,
primarySaleRecipient: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });