How to generate master key and derived keys without network access? How to convert keys to corresponding address?