You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally you can provide a passphrase to encrypt the mnemonic phrase in the wallet file:
88
88
89
+
> Setting a passphrase is highly recommended to protect your wallet
90
+
91
+
A less secure way to provide the passphrase is to set the `ANTI_WALLET_PASSPHRASE` environment variable:
92
+
89
93
```bash
90
94
read -s -p "Enter your wallet passphrase: " ANTI_WALLET_PASSPHRASE
91
95
export ANTI_WALLET_PASSPHRASE
92
96
```
93
-
94
97
You can create a wallet file with the `anti wallet create` command:
95
98
96
99
```bash
97
100
antij wallet create
98
101
```
99
102
100
-
It will fail to re-create the file if it already exists. You can review this wallet info anytime with
103
+
A more secure way is to let the CLI prompt you for the passphrase when needed.
104
+
105
+
```bash
106
+
antij wallet create --ask-passphrase
107
+
```
108
+
109
+
If you set the `ANTI_INTERACTIVE_PASSWORD` environment variable to any value, the CLI will prompt you for the passphrase every time it needs it.
110
+
111
+
```bash
112
+
export ANTI_INTERACTIVE_PASSWORD=1
113
+
```
114
+
115
+
You can review this wallet info anytime with
101
116
102
117
```bash
103
118
antij wallet info
104
119
```
105
120
106
-
Remember to read your wallet passphrase into the `ANTI_WALLET_PASSPHRASE` environment variable before running any command that requires the wallet.
121
+
> Store a copy of your encrypted/plaintext wallet file in a password manager. Think twice before storing a plaintext wallet file. Store your passphrase in a password manager too. ATM we do not support hardware wallets like Ledger or Trezor.
107
122
108
123
> Fund your wallet with some tAda tokens on preprod, for example using the [Cardano Testnet Faucet](https://docs.cardano.org/cardano-testnets/tools/faucet/).
0 commit comments