i am working on substrate i have created a custom token using pallet_assets
,how can i configure the transaction_fee using the custom token i have seen the pallet_assets_transaction payment
which say's
i have added pallet_asset_tx_payment
to my runtime Config and construct_runtime
& SignedExtension
After above implementation when i try to transfer the assets from account A to account B the fees is getting deducted from the native token.
i tried to add into pallet_transaction_payment::Config for Runtime
can i do something like this?
type OnChargeTransaction = FungiblesAdapter<Balances,()>;
or is there any other way to do this? i have taken the reference from here but it did't work for me.