< Back

Start-Wallet

Sat Jan 18, 2020 4:31 pm

NAME Start-Wallet



SYNOPSIS

Starts any Crypto Currency Windows desktop wallet application provided

the application provides a method of loading the wallet data from a

specific folder.



By default, the Exodus desktop application from https://exodus.io/ is started

with a specified wallet. If desired, many different wallets can exist but only

one wallet at a time can be active.





SYNTAX

Start-Wallet [[-Wallet] <String>] [[-RecType] <String>] [<CommonParameters>]





DESCRIPTION

Starts Exodus with a wallet contained in a VeraCrypt container.



A GridView dialog is presented for the seletion of a specific wallet maintained in the

wallet database.



The Moolah database and Exodus wallet are two separate VeraCrypt containers

and will be mounted as different drive letters. The Moolah container will be

mounted as drive letter 'A' and the Exodus wallet will be mounted drive letter 'B'.



Both an online, offline, and SVN copy of the Exodus wallet is maintained. The Online term is

used to refer to a path location on Windows' 'C' drive. The Offline term is used to refer to

path location on Windows that contains removable media like a MicroSD or USB drive.

The SVN copy is optional.





PARAMETERS

-Wallet <String>

The name of the wallet container to be mount on drive letter 'B'.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-RecType <String>

[ValidateNotNullorEmpty("^[a-zA-Z0-1]{12}$")]



Required? false

Position? 2

Default value Wallet

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

User Enviornment variables for Moolah are:



Name Value Description

---- ----- -----------

Moolah_DL A Driveletter for mounting the Moolah VeraCrypt container

Moolah_Offline D:\\bin\\app Offline location of VeraCrypt containers

Moolah_Online C:\\bin\\app Online location of VeraCrypt containers

Moolah_VC Moolah Name of the Moolah VeraCrypt container

Moolah_WL B Driveletter for mounting the Wallet VeraCrypt container



File: Moolah (default name)



The Moolah file is a VeraCrypt container with an Online location of C:\\bin\\app and a

offline location of D:\\bin\\app. Confidential data files such as Moolah database, Password Manager

database and other confidential files reside in this container.



The Moolah container file is mounted as drive letter 'A'.



File: A:\\MoolahDB-<COMPUTERNAME>.xml



This is an XML database containing wallet and application records.

The DB structure is as follows:



<MoolahDB version="1.0">

<Wallet Name="Exodus" Application="Exodus">

<SVN>0</SVN>

<KeepOnLine>1</KeepOnLine>

<Alert>1</Alert>

</Wallet>

<Application Name="Exodus">

<Binary>C:\\Users\\MrCrypto\\AppData\\Local\\exodus\\Exodus.exe</Binary>

<Process>Exodus<Process>

<ARG>--datadir</ARG>

</Application>

</MoolahDB>



File: B:\\<walletname>



A VeraCrypt container containing the Exodus Wallet.



The default folder for the Exodus Wallet is: C:\\Users\\<username>\\AppData\\Roaming\\Exodus



The contents of the default folder is moved to a VeraCrypt container and

mounted as drive letter B. The process of moving Exodux's Wallet directory to

a VeraCrypt container is performed manually prior to invoking the PowerShell

automation script.



See the documentation on how to setup the system.





OUTPUTS

A offline backup of the Exodus wallet to a USB or MicroSD drive and

optionally performs a SVN commit operation the wallet folder.





NOTES





Author: Craig Dayton

0.1.5: 11/19/2017 - Logical chg to support Start-GnuCash

0.1.4: 11/12/2017 - Exit delay changes to 7 seconds.

0.1.0: 11/01/2017 - initial release.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Start-Wallet Exodus



Mounts the Moolah VeraCrypt container as drive letter 'A' and the

named wallet container 'Exodus' as drive letter 'B'.



The container files are stored in the default online path of C:\\bin\\app

and the offline path of D:\\bin\\app.



The Password Manager and Exodus application are then launched.



When the Exodus application is terminated, the contents of the online wallet

container is copied to the offline path and optionally the online wallet

container is removed.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Start-Wallet



Processes the same as the previous example, but a table of existing

wallets is displayed for selection of the desired wallet to use.



This is the default method used when started from the Moolah shortcut icon.











RELATED LINKS

https://github.com/cadayton/Moolah

http://Moolah.readthedocs.io