i have been messing around with smart contracts using solidity and remix. I was able to create and deploy contract. I can buy dai token from the contract. Now i have dai tokens within the contract. I am stuck when trying to retrieve dai tokens back to creator account. Not too sure how to do it.
Jan 2, 2021, 8:40 PM
oh dont worry its just on test network
just experimenting
I have a transfer function that allows me to transfer eth on the contract back to me but not entirely sure how to create function with transfer function pointing at dai token
Jan 2, 2021, 8:46 PM