On BSC Testnet I have deployed a token contract https://testnet.bscscan.com/address/0xE5bB5e6Cf65dBE0062d1EBa9e36e64F89e3f0638
And also a TokenSale contract https://testnet.bscscan.com/address/0xe6A01F088fE30e613D8449D6DA04196C90D5F255
Then I created a temporary DAPP with a swap function connected to my Tokesale contract. Here it is: http://kurt.bestcoinx.com/
The problem is that when I try to swap I get an error for example this transaction:
https://testnet.bscscan.com/tx/0x85b079d4351b16f8733e5b03dd97e7a8a4dfdddaa8037f3ce0c6a2ea9f4f16f7
with the error Warning! Error encountered during contract execution: out of gas
- I have BNB in my Owner wallet
- I have sent a sufficient amount of my token to the Token sale contract.
- I have tried sending BNB to my Tokensale contract and it failed too.
I don't know what to do to get this to start working and I will appreciate it if anyone can check these issues out for me.
Thanks