Hi, Iām using Moralis provided code:
const options = {
type: "erc20",
amount: Moralis.Units.Token("0.5", "18"),
receiver: "0x...",
contract_address: "0x..."
}
let result = await Moralis.transfer(options);
and itās letting me transfer tokens, but itās only letting me transfer to the address used to deploy the ER20 token contract not to other wallet address.
In the receiver: ā0xā¦ā, Iām trying to put address used in logging to my Dapp i.e the user address, so that user can claim their tokens but the transfer is failing.
Iām not quite sure whatās wrong hereā¦, Iāve tried manually putting the wallet address in receiver section and it still failed.
Any help would be appreciated.