ColoredCoins implementation