mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
add edit and links
This commit is contained in:
parent
c5e62765b6
commit
267c455c8f
@ -93,8 +93,10 @@
|
||||
- [Ocean CLI](developers/ocean-cli/README.md)
|
||||
- [Installation](developers/ocean-cli/installation.md)
|
||||
- [Setting environment variables](developers/ocean-cli/setting-environment-variables.md)
|
||||
- [Usage](developers/ocean-cli/usage.md)
|
||||
- [Publish a dataset](developers/ocean-cli/publish-a-dataset.md)
|
||||
- [Getting asset DDO](developers/ocean-cli/getting-asset-ddo.md)
|
||||
- [Editing a dataset](developers/ocean-cli/editing-a-dataset.md)
|
||||
- [Consuming an asset](developers/ocean-cli/consuming-an-asset.md)
|
||||
- [Starting a compute job](developers/ocean-cli/starting-a-compute-job.md)
|
||||
- [Downloading compute results](developers/ocean-cli/downloading-compute-results.md)
|
||||
|
@ -7,9 +7,9 @@ description: >-
|
||||
|
||||
The Ocean CLI tool offers a range of functionalities, including the ability to:
|
||||
|
||||
- **Publish** data services: downloadable files or compute-to-data.
|
||||
- **Edit** existing assets.
|
||||
- **Consume** data services, ordering datatokens and downloading data.
|
||||
- **Compute to data** on public available datasets using a published algorithm.
|
||||
- [**Publish**](./publish-a-dataset.md) data services: downloadable files or compute-to-data.
|
||||
- [**Edit**](./editing-a-dataset.md) existing assets.
|
||||
- [**Consume**](./consuming-an-asset.md) data services, ordering datatokens and downloading data.
|
||||
- [**Compute to data**](./starting-a-compute-job.md) on public available datasets using a published algorithm.
|
||||
|
||||
Ocean CLI is using ocean.js Javascripti library witch is part of the [Ocean Protocol](https://oceanprotocol.com) toolset.
|
||||
|
@ -69,6 +69,10 @@ To initiate this process, we'll begin by updating the helper DDO example named "
|
||||
```
|
||||
|
||||
Note: The provided example creates a consumable asset with a predetermined price of 2 OCEAN tokens. If you wish to modify this and create an asset that is freely accessible, you can do so by replacing the value of "stats.price.value" with 0 in the JSON example mentioned above.
|
||||
Next step is to run the npm run cli publish metadata/simpleDownloadDataset.json command
|
||||
Next step is to run the command
|
||||
|
||||
```bash
|
||||
npm run cli publish metadata/simpleDownloadDataset.json
|
||||
```
|
||||
|
||||
<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2F0WBqBdns3Nqip0W91uld%2FScreenshot%202023-09-28%20at%2000.58.48.png?alt=media&token=29806606-4029-4979-85a5-a3d02bb0a79d" alt=""><figcaption>running publish command</figcaption></figure>
|
||||
|
@ -2,13 +2,15 @@
|
||||
|
||||
To successfully configure the CLI tool, two essential steps must be undertaken: the setting of the account's private key and the definition of the desired RPC endpoint. These actions are pivotal in enabling the CLI tool to function effectively.
|
||||
|
||||
**Private Key Configuration**: The CLI tool necessitates 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.
|
||||
**Private Key Configuration** \
|
||||
The CLI tool necessitates 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.
|
||||
|
||||
```bash
|
||||
export MNEMONIC="XXXX"
|
||||
```
|
||||
|
||||
**RPC Endpoint Specification**: Additionally, it is imperative to specify the RPC endpoint that corresponds to the desired network for executing operations. The CLI tool relies on this user-provided RPC endpoint to connect to the network required for its functions. This connection to the network is vital as it enables the CLI tool to interact with the blockchain and execute operations seamlessly.
|
||||
**RPC Endpoint Specification** \
|
||||
Additionally, it is imperative to specify the RPC endpoint that corresponds to the desired network for executing operations. The CLI tool relies on this user-provided RPC endpoint to connect to the network required for its functions. This connection to the network is vital as it enables the CLI tool to interact with the blockchain and execute operations seamlessly.
|
||||
|
||||
```bash
|
||||
export RPC='XXXX'
|
||||
|
Loading…
Reference in New Issue
Block a user