Two men from Scotland are expected to go to trial after being accused of preparing a series of thefts involving cryptocurrency worth around $23 million (£17 million).