[Ethereum] Smart contract that accepts custom token

contract-developmentrinkebytestnetstokens

I've successfully created my own custom token on the Rinkeby testnet. Upon creation of the token I sent all the new coins to my wallet. I can send the new token to other wallets just fine and it shows up.

However I'm having difficulty writing a smart contract to accept the new token. I've sent the token from my wallet to the contracts address and it's been confirmed. However within the contract I can't see that it has received the token.

Best Answer

You must read this

The process is more complicated but it still does its job so I think it's worth it

Related Topic