1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Merge pull request #1270 from oceanprotocol/feature/ocean-cli-mnemonic

Update from mnemonic to private key
This commit is contained in:
Bogdan Fazakas 2023-10-10 17:39:59 +03:00 committed by GitHub
commit 97b3067d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,13 @@ To successfully configure the CLI tool, two essential steps must be undertaken:
### Private Key Configuration
The CLI tool requires the configuration of the account's private key. This private key serves as the means by which the CLI tool establishes a connection to the associated wallet. It plays a crucial role in authenticating and authorizing operations performed by the tool.
The CLI tool requires the configuration of the account's 'private key'(by exporting env "PRIVATE_KEY") or a 'mnemonic'(by exporting env "MNEMONIC").
Both serve as the means by which the CLI tool establishes a connection to the associated wallet. It plays a crucial role in authenticating and authorizing operations performed by the tool. You must choose either one option or the other. The tool will not utilize both simultaneously.
```bash
export PRIVATE_KEY="XXXX"
```
or
```bash
export MNEMONIC="XXXX"