Skip to content

Instantly share code, notes, and snippets.

@fukaoi
Last active July 26, 2018 01:00
Show Gist options
  • Select an option

  • Save fukaoi/071f1ee03fc402d559f15e674d8b64e7 to your computer and use it in GitHub Desktop.

Select an option

Save fukaoi/071f1ee03fc402d559f15e674d8b64e7 to your computer and use it in GitHub Desktop.
Create new wallet by electrum-ltc
## default
>electrum-ltc create --testnet -w ~/Desktop/wallet
<<Password (hit return if you do not wish to encrypt your wallet):
>>test
<<Confirm:
>>test
## set env parameter
>electrum-ltc create --testnet -w ~/Desktop/wallet
<<Password (hit return if you do not wish to encrypt your wallet):
>>$PASSWORD
<<Confirm:
>>$PASSWORD
## set argument parameterr
## $ expect-lite -c crate-wallet.elt pass=test network=--testnet dirpath=./wallet
>electrum-ltc create $network -w $dirpath
<<Password (hit return if you do not wish to encrypt your wallet):
>>$pass
<<Confirm:
>>$pass
>>echo $pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment