RoyalCoin source code