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
@@ -69,36 +88,15 @@ The command-line interface (CLI) is the most straightforward way to interact wit
69
88
Exit
70
89
```
71
90
72
-
{{< callout type="info">}}
73
-
**Closing the CLI**: You can close the CLI tool anytime by pressing `CTRL` + `c`. This will halt the CLI process and return you to your normal terminal window.
74
-
{{< /callout >}}
75
-
76
-
Next, you'll create an Entropy account.
77
-
78
-
## 2. Create an account
79
-
80
-
You need funds to interact with the Entropy network. Your funds are stored in an account. You can have multiple accounts.
81
-
82
91
1. Select **Manage Accounts**.
83
92
1. Select **Create/Import Account**.
84
-
1. Type `n` and press `ENTER` when asked _Would you like to import a key?_:
85
-
86
-
```output
87
-
? Would you like to import a key? n
88
-
```
89
-
90
-
1. Enter the name of your new account. The CLI will output some information about it:
93
+
1. Type `n` and press `ENTER` when asked _Would you like to import your own seed?_:
Make a note of the `address` field. You'll need that in the next step.
101
-
99
+
1. Enter the name of your new account.
102
100
1. Type `Y` and press `ENTER` to return to the main menu.
103
101
104
102
Next up, you'll request some funds to play around with.
@@ -107,20 +105,18 @@ Next up, you'll request some funds to play around with.
107
105
108
106
Funds for testing are available from the CLI's built-in faucet.
109
107
110
-
1. Navigate to **Manage Accounts** and then**Select Account**.
111
-
1. Select the account you want to receive test funds.
112
-
1. Go back the main TUI menu and select**Entropy Faucet**.
108
+
1. Select **Entropy Faucet** from the main menu.
113
109
114
-
The CLI will request `2`test tokens from the Entropy network and forward them to your selected account. This equates to `20,000,000,000` bits, which is enough to perform transactions like registering an account and deploying a program.
110
+
The CLI will request `2` test tokens from the Entropy network and send them to your selected account. This equates to `20,000,000,000` bits, which is enough to perform actions like registering an account, transferring funds, and deploying a program.
115
111
116
-
Once you have been sent some funds, you can check your balance in the CLI.
112
+
```output
113
+
⠧ Funding account…
114
+
```
117
115
118
-
1. Return to the main menue and select**Balance**.
119
-
1. The CLI should show your balance:
116
+
1. Once you have been sent some funds, the CLI will output a success message:
120
117
121
118
```output
122
-
? Select Action Balance
123
-
Entropy Account [Andre] (5F3xmKa3WRkoHR4o6XjFQaWF2EskhtSh4ST5wY5cfsD9JYbC) has a balance of: 20,000,000,000 BITS
119
+
Account: 5EFDfxft4oZYvjj35TWttFkkKZSHUDVnBRmp3eMQQcpt9zku has been successfully funded with 20,000,000,000 BITS
124
120
```
125
121
126
122
Next, you'll register your account on the Entropy network.
@@ -129,7 +125,7 @@ Next, you'll register your account on the Entropy network.
129
125
130
126
Registering an account is a feature unique to Entropy. Without going into too much detail, it advertises to the network that you own _this_ account and that you're ready to start signing things.
131
127
132
-
1. Back at the main menu within the CLI, select**Register**:
128
+
1. Back at the main menu, select **Register**:
133
129
134
130
```output
135
131
? Select Action
@@ -146,8 +142,8 @@ Registering an account is a feature unique to Entropy. Without going into too mu
146
142
1. The CLI will send your selected account information to the network. The network will then register your account as long as you have enough funds.
147
143
148
144
```output
149
-
Attempting to register the address: 5Dcps2RdXPQfiJBxxDnrF8iDzDHcnZC8rb5mcJ3xicqzhYbv
150
-
Your address 5Dcps2RdXPQfiJBxxDnrF8iDzDHcnZC8rb5mcJ3xicqzhYbv has been successfully registered.
145
+
Attempting to register the address: 5EFDfxft4oZYvjj35TWttFkkKZSHUDVnBRmp3eMQQcpt9zku
146
+
Your address 5EFDfxft4oZYvjj35TWttFkkKZSHUDVnBRmp3eMQQcpt9zku has been successfully registered.
151
147
```
152
148
153
149
1. Press `Y` to go back to the main menu.
@@ -170,21 +166,29 @@ Next up, we'll attempt to get a signature from the network!
170
166
Exit
171
167
```
172
168
173
-
1. Select **Sign With Adapter**.
174
-
1. Select **Text Input**.
175
169
1. The CLI will prompt you to enter a message in the default terminal-based text editor on your system:
176
170
177
171
```output
178
172
? Enter the message you wish to sign (this will open your default editor): Press <enter> to launch your preferred editor.
179
173
```
180
174
175
+
{{< callout "info">}}
176
+
You can set your terminal's preferred editor by changing the `EDITOR` environment variable:
177
+
178
+
```shell
179
+
# Set default text-editor to Neovim.
180
+
export EDITOR='nvim'
181
+
```
182
+
{{< /callout >}}
183
+
181
184
1. Press `ENTER` to open a text editor.
182
185
1. Within your text editor, enter a message. It doesn't matter what the message is at this point.
183
186
1. Once you have finished entering your message into the text editor, save and quit the text editor.
184
-
1. The CLI will output a `base64` encoded string:
187
+
1. The CLI will output the verifying key used to sign the message and the signature of the message itself:
Congratulations! You just received a signature from the Entropy network using the CLI!
@@ -194,4 +198,3 @@ So, what was all that about? While this quickstart guide didn't go into much det
194
198
## Next steps
195
199
196
200
There's much more to come from Entropy! Next, you should check out the [Entrosplainer]({{< relref "./entrosplainer.md">}}), an end-to-end explanation of what Entropy is, why it's necessary, and how it works!
0 commit comments