Second step to BetacoinJ