CLI 1Wallet User Guide

CLI (Command Line) Version of 1Wallet

Go to https://github.com/polymorpher/one-wallet/releases/tag/v0.1-cli and download the file that is appropriate to your operating system (1wallet-linux, 1wallet-macos, or 1wallet-win.exe).

  • I saved it in my downloads folder, but you can save it anywhere.

  • Open your Terminal (I'm a Mac user), and run the following commands:

cd downloads

chmod +x ./1wallet

./1wallet

Now that you have installed your CLI 1Wallet, you can do several things including:

Commands:
  
./1wallet scan                            Build a new wallet and show its setup 
                                          QR code in terminal

./1wallet make <recovery-address> <code>  Deploy the wallet you just built to 
                                          blockchain and make it your "main" 
                                          wallet

./1wallet send <address> <amount> <code>  Send funds to another address

./1wallet main <wallet>                   Change "main" wallet

./1wallet list                            Show all wallets (address, name,
                                          balance)

Options:
      --help      Show help                                           [boolean]
  -n, --network   The network you want to use. Can be mainnet, testnet, or any
                  valid URL                       [string] [default: "mainnet"]
  -r, --relayer   The relayer you want to use. Can be "beta" (hosted by ONE
                  Wallet) or any valid URL           [string] [default: "beta"]
  -p, --password  The password for accessing the Relayer. Default is
                  "onewallet" which is password for the "beta" relayer hosted
                  by ONE Wallet.                [string] [default: "onewallet"]
  -w, --wallet    The wallet you are going to use for transfer funds. By
                  default, the main wallet is used, which is the last wallet
                  you created                                          [string]
  -s, --store     Path of which your wallet data is stored. By default the data
                  is stored in a subdirectory "wallets" where this command line
                  tool is executed.               [string] [default: "wallets"]
      --version   Show version number                                 [boolean]

The first step is to scan the QR code.

./1wallet scan

Once you have done that, you can run the next command using the 6 digit authenticator code and a recovery address of your choice to create your 1Wallet.

./1wallet make <recovery-address> <code>

./1wallet make one10jaac3q8qrd6fkun25t09q33tsrsz4uazctnj0 123456

You should see a screen like this on your Terminal (yes, do you like my Matrix themed Terminal?):

After that you can try to send a small amount of tokens to your newly created 1Wallet and in general test some of the other commands and functionalities.

Let us know if you find any issues: https://github.com/polymorpher/one-wallet/issues

Last updated