When EU members Greenland and Denmark split in 1979 with home rule for each, neither had to adopt the euro and haven't to this day.
Scotland splitting from the UK is the same circumstance, either remaining in the EU would not be threatened with compulsory adoption of the euro.
Splitting away...