From 61efb9f24ed6209c230f3ae1847e325c8be8c3d1 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 11 Jul 2022 11:32:21 +0200 Subject: [PATCH] Issue-#1042: Add note for ocean.py --- SUMMARY.md | 1 + building-with-ocean/using-ocean-libraries/configuration.md | 4 +++- building-with-ocean/using-ocean-libraries/creating_dataNFT.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 building-with-ocean/using-ocean-libraries/creating_dataNFT.md diff --git a/SUMMARY.md b/SUMMARY.md index 3e21ac02..cdc533cc 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -24,6 +24,7 @@ * [Obtaining API key](building-with-ocean/obtaining-api-key.md) * [Using Ocean libraries](building-with-ocean/using-ocean-libraries/README.md) * [Configuration](building-with-ocean/using-ocean-libraries/configuration.md) + * [Creating a dataNFT](building-with-ocean/using-ocean-libraries/creating_dataNFT.md) * [Publish assets using hosting services](building-with-ocean/asset-hosting.md) * [Binance Smart Chain (BSC)](building-with-ocean/bsc-bridge.md) * [Set Up a Marketplace](building-with-ocean/marketplace.md) diff --git a/building-with-ocean/using-ocean-libraries/configuration.md b/building-with-ocean/using-ocean-libraries/configuration.md index e5e570d0..a4483a57 100644 --- a/building-with-ocean/using-ocean-libraries/configuration.md +++ b/building-with-ocean/using-ocean-libraries/configuration.md @@ -52,18 +52,20 @@ PROVIDER_URL=https://v4.provider.polygon.oceanprotocol.com {% code title=".env" %} ``` # Mandatory environment variables +OCEAN_NETWORK=development OCEAN_NETWORK_URL=http://172.15.0.3:8545/ AQUARIUS_URL=http://172.15.0.5:5000 PROVIDER_URL=http://172.15.0.4:8030 # Replace PRIVATE_KEY if needed PRIVATE_KEY=0xc594c6e5def4bab63ac29eed19a134c130388f74f019bc74b8f4389df2837a58 -OCEAN_NETWORK=development ``` {% endcode %} {% endtab %} {% endtabs %} +_NOTE: If using ocean.py, additionally specify **ADDRESS_FILE** variable in the `.env` file. Copy the content of this [link](https://github.com/oceanprotocol/contracts/blob/v4main/addresses/address.json) locally and set the **ADDRESS_FILE** so that its value is a correct file path._ + #### Setup dependencies {% tabs %} diff --git a/building-with-ocean/using-ocean-libraries/creating_dataNFT.md b/building-with-ocean/using-ocean-libraries/creating_dataNFT.md new file mode 100644 index 00000000..796afc0f --- /dev/null +++ b/building-with-ocean/using-ocean-libraries/creating_dataNFT.md @@ -0,0 +1 @@ +# Create a dataNFT \ No newline at end of file