Using "ecrecover" js function to validate RedeemCode at the server before making a transaction to the blockchain.