juanjuanrod said:
i have 50 gm of pins of gold can i just melt them in a crucible just like that
You could, but all you will have is a melt of whatever metals were in the pins. Ie, a glob of various metals - perhaps including tin, iron, nickel, copper and/or other not-very-valuable metals - along with a tiny bit of gold.
If your pins are anything like those pictured (i.e., typically used in a computer connector, etc.), then they are not "pins of gold", but "gold plated pins", which contain very little gold per pin. The amount varies per each pin number/type and that is why others have stated they have to test each one and keep very close records, etc. Even then, each and every time they are processed, the yield varies - all due to many, many variants found in the individual processing run.
Read this forum - then read some more.... There are lots of posts about working with pins and the yields you can anticipate.
For 50 gm of gold plated pins, I would expect the yield would be less than the cost of the chemicals (which you will learn about by reading this forum...). You should continue to collect them (all while you are reading this forum - oh, did I say that already? It's OK, because I'll probably say it again...) until you have a few pounds of them at least.
See the pictures in the earlier post - the cash register drawer full is "almost enough" to start processing - that should give you an idea of what you should shoot for in your collecting efforts - and, give you some time to read more (and more) from this forum (where there happens to be vast and useful knowledge about refining gold pins and many other types of scrap/items, all for free...)
Do a search on this board for "gold pin refining" - I'm sure you will have plenty of reading available, and learn tons about your 50 gm of pins.
Good luck!