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.