We do not allow any codes to be sold, bought, shared or traded. You can give away a code as a gift as long as it has not been redeemed to an account yet. The Moglins Kickstarter was through HeroMart, so all HeroMart policies stand for anything Moglins related.
Please review the official HeroMart codes help page for more information.