|
4 | 4 |
|
5 | 5 | ## Installation and first run |
6 | 6 |
|
7 | | -The `cosmwasm-cli` executable is available via npm. We recommend local |
| 7 | +The `cosmjs-cli` executable is available via npm. We recommend local |
8 | 8 | installations to your demo project. If you don't have one yet, just |
9 | | -`mkdir cosmwasm-cli-installation && cd cosmwasm-cli-installation && yarn init --yes`. |
| 9 | +`mkdir cosmjs-cli-installation && cd cosmjs-cli-installation && yarn init --yes`. |
10 | 10 |
|
11 | 11 | ### locally with yarn |
12 | 12 |
|
13 | 13 | ``` |
14 | 14 | $ yarn add @cosmjs/cli --dev |
15 | | -$ ./node_modules/.bin/cosmwasm-cli |
| 15 | +$ ./node_modules/.bin/cosmjs-cli |
16 | 16 | ``` |
17 | 17 |
|
18 | 18 | ### locally with npm |
19 | 19 |
|
20 | 20 | ``` |
21 | 21 | $ npm install @cosmjs/cli --save-dev |
22 | | -$ ./node_modules/.bin/cosmwasm-cli |
| 22 | +$ ./node_modules/.bin/cosmjs-cli |
23 | 23 | ``` |
24 | 24 |
|
25 | 25 | ### globally with yarn |
26 | 26 |
|
27 | 27 | ``` |
28 | 28 | $ yarn global add @cosmjs/cli |
29 | | -$ cosmwasm-cli |
| 29 | +$ cosmjs-cli |
30 | 30 | ``` |
31 | 31 |
|
32 | 32 | ### globally with npm |
33 | 33 |
|
34 | 34 | ``` |
35 | 35 | $ npm install -g @cosmjs/cli |
36 | | -$ cosmwasm-cli |
| 36 | +$ cosmjs-cli |
37 | 37 | ``` |
38 | 38 |
|
39 | 39 | ## Getting started |
40 | 40 |
|
41 | | -1. Install `@cosmjs/cli` and run `cosmwasm-cli` as shown above |
| 41 | +1. Install `@cosmjs/cli` and run `cosmjs-cli` as shown above |
42 | 42 | 2. Start a local wasmd blockchain |
43 | | -3. Start with `./bin/cosmwasm-cli --init examples/local_faucet.ts` |
| 43 | +3. Start with `./bin/cosmjs-cli --init examples/local_faucet.ts` |
44 | 44 | 4. Play around as in the following example code |
45 | 45 |
|
46 | 46 | ```ts |
@@ -77,7 +77,7 @@ way to learn how to embed cosmjs into your project. However, if you just want a |
77 | 77 | cli to perform some quick queries on a chain, you can use an extended set of |
78 | 78 | helpers: |
79 | 79 |
|
80 | | -Start with `./bin/cosmwasm-cli --init examples/helpers.ts` |
| 80 | +Start with `./bin/cosmjs-cli --init examples/helpers.ts` |
81 | 81 |
|
82 | 82 | (This points to the Demonet at https://lcd.demo-08.cosmwasm.com for ease of use. |
83 | 83 | Other networks, look below) |
@@ -171,7 +171,7 @@ see how to connect to the Regen Testnet, try this. (Note you need to use |
171 | 171 | `.editor` in the repl to allow multi-line commands. Alternative is to place |
172 | 172 | entire `regenOptions` on one line. |
173 | 173 |
|
174 | | -Run `./bin/cosmwasm-cli --init examples/helpers.ts` |
| 174 | +Run `./bin/cosmjs-cli --init examples/helpers.ts` |
175 | 175 |
|
176 | 176 | ```ts |
177 | 177 | .editor |
@@ -244,7 +244,7 @@ Save mnemonic to a file |
244 | 244 | echo "cousin nephew vintage label empty sunny cargo mushroom photo side clarify sleep solid entire deal tattoo vehicle record discover arrive sting staff salt uncle" > wasmcli.key |
245 | 245 | ``` |
246 | 246 |
|
247 | | -Load it up in cosmjs: `./bin/cosmwasm-cli --init examples/helpers.ts` |
| 247 | +Load it up in cosmjs: `./bin/cosmjs-cli --init examples/helpers.ts` |
248 | 248 |
|
249 | 249 | ```ts |
250 | 250 | const mnemonic = loadOrCreateMnemonic("wasmcli.key"); |
|
0 commit comments