Is it possible to write a Transfer hook program that can redirect the Transfer fee to two or more wallets? e.g. if the Transfer fee is set to 2%, can we make a Transfer hook program that can transfer half of that to one wallet and another half to a different wallet?
I guess for such functionality we should be only enabling transfer hooks but not the transfer fee for the mint token as the transfer fee can go to only one wallet, with just Transfer hooks enabled the fee portion of splitting and sending that fee to two different wallets part can be done with program?
Please provide any sample if possible