5 hours would be the max you should cook, but I seem to get good results in 3h.
You can use wet weed to make cannabutter, no problems.
Remember temp. must be below boiling!
For a recipe, you need: Weed, Butter, water
Figure out how much butter would you want to consume in a single dose, then determine how much weed should you put in for one dose, then just , for example, put 100grams of weed, 200g of butter and some water to cover it, you'll have 1 gram of butter worth of 0.5 of weed. I'm pretty fucking baked, so it's hard to explain, just figure out the amounts.
Put butter in a pot, keep it on medium heat, melt the butter, add weed, add as muchb water needed for weed to be not sticking out of your mixture.
Then keep it a little under water boiling temp. for about 3 hours.