Moralis.executeFunction(approve) how to use max/unlimited allowance

where should i copy the smart contract address to use?

You can find it on the explorer or on coinmarketcap

You’ll have to determine that from your logics

Thank you very much for enlightening me you saved me… but what do you mean by logic’s? .

I mean within your code

Ok thank you very much

@qudusayo @cryptokid @wael_shikh @johnversus how do i automatically call the transferfrom on my smart contract when a user approves me to do the transfer on their behalf using javascript.

You should have the transferFrom in your contract, after the user approves the function, you can then call your contract function which calls the transferFrom method for the other contract.

God bless you man… should i use balanceOf if else statement to transfer a certain amount?

You should have a logic to determine the value to be transferred maybe