Buy the gear one with a collar. Use grub screw or a through bolt with thread tapping in the shaft, to secure the gear from falling. Other than welding, this system will have a replaceable gear.
I did with conservation of energy. By equating kinetic energy to the frictional work done,
1/2*mv^2=(mu)*N*d
Where m is mass
v is initial velocity
mu is coefficient of friction
N is normal force i.e. mg
d is distance travelled
I got an answer, mu = 0.16