This bounty is no longer available
Web3 DAO | giveacake Logo

Using WEB3 Contract "Transfer" function instead of RawTransaction

Organization

giveacake

Deadline

in over 263 years

Status

ENDED

174.58 USD
100000000000000000.00 ETH paid

INSTRUCTIONS

My contract is 0x106eadb44566c32132b027684f9c5b3c26d404b8 Contract name GIVE A CAKE, BSC

Example of call I made through bscScan, Write Contract https://bscscan.com/tx/0xd5e8099831ea95c441215b2d9a553664f40bb1069d4b9281d4de2791bdde0b8b

  1. Transfer recipient (address) 0x48d2241d0be1c07d8d387b911984c9e2e4c177ce

amount (uint256) 66666666666666666666666

Because my wallet "Creator of the contract" is excludedFee (true) so I run the function Transfer will exclude me from the fees, but if I use the below code to send token, it will not take into account "excludedFee"

I wanna know how do I change the code below to perform a transfer Function instead of rawTransaction. Below is NodeJS Script

https://github.com/giveacake/contract/blob/main/SEND_SCRIPT.js

ABOUT GIVEACAKE