diff --git a/.env.example b/.env.example index 9fca81994..f65b84a23 100644 --- a/.env.example +++ b/.env.example @@ -13,7 +13,6 @@ # Toggle pricing options presented during price creation #NEXT_PUBLIC_ALLOW_FIXED_PRICING="true" -#NEXT_PUBLIC_ALLOW_DYNAMIC_PRICING="true" #NEXT_PUBLIC_ALLOW_FREE_PRICING="true" # Privacy Preference Center diff --git a/README.md b/README.md index b9cc3732f..7213aceeb 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ - [💖 Contributing](#-contributing) - [🍴 Forking](#-forking) - [💰 Pricing Options](#-pricing-options) - - [Dynamic Pricing](#dynamic-pricing) - [Fixed Pricing](#fixed-pricing) - [Free Pricing](#free-pricing) - [✅ GDPR Compliance](#-gdpr-compliance) @@ -110,7 +109,7 @@ All displayed data in the app is presented around the concept of one data set, w - the actual data set files - the NFT which represents the data set - the datatokens representing access rights to the data set files -- financial data connected to these datatokens, either a pool or a fixed rate exchange contract +- financial data connected to these datatokens - calculations and conversions based on financial data - metadata about publisher accounts @@ -181,10 +180,10 @@ The app has [Urql Client](https://formidable.com/open-source/urql/docs/basics/re import { gql, useQuery } from 'urql' const query = gql` - query PoolLiquidity($id: ID!, $shareId: ID) { - pool(id: $id) { + query TopSalesQuery { + users(first: 20, orderBy: totalSales, orderDirection: desc) { id - totalShares + totalSales } } ` @@ -402,10 +401,6 @@ Everything else is made open according to the apache2 license. We look forward t ## 💰 Pricing Options -### Dynamic Pricing - -To allow publishers to set pricing as "Dynamic" you need to add the following environmental variable to your .env file: `NEXT_PUBLIC_ALLOW_DYNAMIC_PRICING="true"` (default). - ### Fixed Pricing To allow publishers to set pricing as "Fixed" you need to add the following environmental variable to your .env file: `NEXT_PUBLIC_ALLOW_FIXED_PRICING="true"` (default).