.env file at the root of your project.
Required Variables
Wallet and Blockchain Connection
Your Infura project ID for blockchain connectivity. Used as a fallback RPC provider.Default:
xxxWalletConnect project ID for wallet connection functionality.
Marketplace Fee Configuration
The Ethereum address where marketplace fees will be sent.Default:
0x9984b2453eC7D99a73A5B3a46Da81f197B753C8dPublisher market fee taken upon ordering an asset (absolute value). Declared on ERC20 creation.Default:
0Fee received by the publisher market when a datatoken is bought from a fixed rate exchange (percentage).Default:
0Consume market fee taken upon ordering an asset (absolute value). Specified on order.Default:
0Fee received by the consume market when a datatoken is bought from a fixed rate exchange (percentage).Default:
0Advanced Settings
Pricing Options
Enable or disable fixed pricing option during price creation.Default:
trueEnable or disable free pricing option during price creation.Default:
trueEnable or disable dynamic pricing option during price creation.Default:
falsePrivacy and Compliance
Enable GDPR-compliant privacy preference center to manage cookies. When enabled, uses
gdpr.json file in the content directory.Default: falseURI for compliance information.Default:
https://www.delta-dao.com/complianceVersion of the compliance API to use.Default:
2210Development Settings
Contract Addresses
Address of the NFT Factory contract for development.
Address of the OPF Community Fee Collector contract.
Address of the Fixed Rate Exchange contract.
Address of the Dispenser contract.
Address of the Ocean Protocol token contract.
Development Mode
Enable development mode for the marketplace.
Network Endpoints
Custom provider URL for development.
URI for the subgraph endpoint.
URI for the metadata cache (Aquarius) endpoint.Default:
https://aquarius.pontus-x.euRPC endpoint URI for blockchain interaction.
Purgatory URI for asset filtering. Leave empty to disable.Default: Empty string (disabled)
URL for fetching Docker Hub image information.Default:
https://dockerhub-proxy.delta-dao.comCredentials and Redis
URL for the Consents API service.Default:
http://localhost:8050/apiRedis connection URL for credentials storage.Default:
redis://localhost:6379Redis username for authentication.Default:
defaultRedis password for authentication.Default:
1234Telemetry and Monitoring
OpenTelemetry exporter endpoint for telemetry data.Default:
http://localhost:4317Disable Next.js telemetry collection.Default:
1 (disabled)External Services
API key for AgroPortal ontology service integration.
UI Configuration
Display alert banner for developer preview deployment.Default:
falseShow the onboarding module by default for new users.Default:
falseHide the MetaMask Connect Wallet button from the UI.Default:
falseEnable automation features in the marketplace.Default:
trueExample Configuration
Here’s a complete example.env file for production: