Chest shop idea

wanted to ask if a chest shop that puts eared money in a town bank as an option so instead of
1st line Player name town name
2nd line amount of item it would be amount of item
3rd line price of item price of item
4th line item in chest item in chest
as an option