Added a token generation method to BetaToken