Create an Account
Configure the name of your key. The command below will set the name of your key to myWallet, run the below command and replace myWallet with a name of your choice:
NEXQLOUD_KEY_NAME=myWalletVerify you have the shell variables set up . The below command should return the name you've used:
echo $NEXQLOUD_KEY_NAMEWe now need to point Nexqloud to where the keys are stored for your configuration. To do this we will set the NEXQLOUD_KEYRING_BACKEND environmental variable.
NEXQLOUD_KEYRING_BACKEND=osCopy and paste this command into Terminal to create an Nexqloud account:
provider-services keys add $NEXQLOUD_KEY_NAMERead the output and save your mnemonic phrase is a safe place. Let's set a Shell Variable in Terminal NEXQLOUD_ACCOUNT_ADDRESS to save your account address for later.
export NEXQLOUD_ACCOUNT_ADDRESS="$(provider-services keys show $NEXQLOUD_KEY_NAME -a)"
echo $NEXQLOUD_ACCOUNT_ADDRESSNote that if you close your Terminal window this variable will not be saved.
Last updated