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:
1
cd downloads
2
3
chmod +x ./1wallet
4
5
./1wallet
Copied!
Now that you have installed your CLI 1Wallet, you can do several things including:
1
Commands:
2
3
./1wallet scan Build a new wallet and show its setup
4
QR code in terminal
5
6
./1wallet make <recovery-address> <code> Deploy the wallet you just built to
7
blockchain and make it your "main"
8
wallet
9
10
./1wallet send <address> <amount> <code> Send funds to another address
11
12
./1wallet main <wallet> Change "main" wallet
13
14
./1wallet list Show all wallets (address, name,
15
balance)
16
17
Options:
18
--help Show help [boolean]
19
-n, --network The network you want to use. Can be mainnet, testnet, or any
20
valid URL [string] [default: "mainnet"]
21
-r, --relayer The relayer you want to use. Can be "beta" (hosted by ONE
22
Wallet) or any valid URL [string] [default: "beta"]
23
-p, --password The password for accessing the Relayer. Default is
24
"onewallet" which is password for the "beta" relayer hosted
25
by ONE Wallet. [string] [default: "onewallet"]
26
-w, --wallet The wallet you are going to use for transfer funds. By
27
default, the main wallet is used, which is the last wallet
28
you created [string]
29
-s, --store Path of which your wallet data is stored. By default the data
30
is stored in a subdirectory "wallets" where this command line
31
tool is executed. [string] [default: "wallets"]
32
--version Show version number [boolean]
Copied!
The first step is to scan the QR code.
1
./1wallet scan
Copied!
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.
1
./1wallet make <recovery-address> <code>
2
3
./1wallet make one10jaac3q8qrd6fkun25t09q33tsrsz4uazctnj0 123456
Copied!
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 modified 4mo ago
Export as PDF
Copy link