Without private key or Create Account

If you don’t want to handle the private key yourself, you can use the “fallback” helper.

Aleph-Client will try to find a "device.key" file in the current folder and use it to instantiate the account. If none is found, a new device.key file will be created with a random key.

Choose the blockchain you would like to use and import the get_fallback_account function for the relevant chain module.

from aleph_client.chains.cosmos import get_fallback_account

account = get_fallback_account()

Last updated