From f5ef2d6b79192fce709bd1d5b1cf4a87f7ccc726 Mon Sep 17 00:00:00 2001 From: benface Date: Wed, 31 Jul 2024 15:58:29 -0400 Subject: [PATCH 1/9] For Ida --- nginx.conf | 3 ++- website/next.config.js | 5 +++++ website/pages/en/_meta.js | 12 ++++++++++-- website/pages/en/{network => }/benefits.mdx | 0 website/pages/en/index.json | 2 +- website/pages/en/network/_meta.js | 1 - 6 files changed, 18 insertions(+), 5 deletions(-) rename website/pages/en/{network => }/benefits.mdx (100%) diff --git a/nginx.conf b/nginx.conf index 882867973dbb..45be5cd58300 100644 --- a/nginx.conf +++ b/nginx.conf @@ -52,7 +52,7 @@ http { rewrite ^/docs/([a-zA-Z][a-zA-Z])/about/network/$ $scheme://$http_host/docs/$1/network/overview/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/curating/$ $scheme://$http_host/docs/$1/network/curating/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/delegating/$ $scheme://$http_host/docs/$1/network/delegating/ permanent; - rewrite ^/docs/([a-zA-Z][a-zA-Z])/network-transition-faq/$ $scheme://$http_host/docs/$1/arbitrum/arbitrum-faq/ permanent; + rewrite ^/docs/([a-zA-Z][a-zA-Z])/network-transition-faq/$ $scheme://$http_host/docs/$1/arbitrum/arbitrum-faq/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developer/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/assemblyscript-api/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developer/assemblyscript-migration-guide/$ $scheme://$http_host/docs/$1/release-notes/assemblyscript-migration-guide/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developer/create-subgraph-hosted/$ $scheme://$http_host/docs/$1/developing/creating-a-subgraph/ permanent; @@ -92,6 +92,7 @@ http { rewrite ^/docs/en/firehose/(?!index\.).+$ https://firehose.streamingfast.io permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developer/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/graph-ts/api/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developing/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/graph-ts/api/ permanent; + rewrite ^/docs/([a-zA-Z][a-zA-Z])/network/benefits/$ $scheme://$http_host/docs//benefits/ permanent; # Temporary redirects (302) rewrite ^/docs/en/querying/graph-client/$ $scheme://$http_host/docs/en/querying/graph-client/README/ redirect; diff --git a/website/next.config.js b/website/next.config.js index 163824afa80f..79f9f79d3e20 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -81,6 +81,11 @@ export default withNextra({ destination: '/en/developing/graph-ts/api/', permanent: true, }, + { + source: '/en/network/benefits/', + destination: '/en/benefits/', + permanent: true, + }, ], images: { unoptimized: true, diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index eb4b36cb4a6d..f6ddca308d6a 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -5,11 +5,9 @@ export default { }, about: '', network: 'The Graph Network', - sunrise: 'Sunrise Upgrade FAQ', billing: '', glossary: '', tokenomics: 'Tokenomics', - arbitrum: 'Scaling with Arbitrum', '---2': { type: 'separator', }, @@ -47,4 +45,14 @@ export default { firehose: '', graphcast: '', 'mips-faqs': '', + '---5': { + type: 'separator', + }, + '###4': { + type: 'heading', + title: 'Archive', + }, + sunrise: 'Sunrise Upgrade FAQ', + arbitrum: 'Scaling with Arbitrum', + benefits: 'Benefits', } diff --git a/website/pages/en/network/benefits.mdx b/website/pages/en/benefits.mdx similarity index 100% rename from website/pages/en/network/benefits.mdx rename to website/pages/en/benefits.mdx diff --git a/website/pages/en/index.json b/website/pages/en/index.json index 988a55bb63e2..f99668f57be1 100644 --- a/website/pages/en/index.json +++ b/website/pages/en/index.json @@ -1,5 +1,5 @@ { - "title": "Get Started", + "title": "Docs Overview", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/en/network/_meta.js b/website/pages/en/network/_meta.js index 555f264df379..9ad2c6b2d000 100644 --- a/website/pages/en/network/_meta.js +++ b/website/pages/en/network/_meta.js @@ -1,6 +1,5 @@ export default { overview: 'Overview', - benefits: 'Benefits', indexing: '', delegating: '', curating: '', From ba73a8cd9d22d80be3ff77aa4d4d5b8c355ec3f3 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Wed, 31 Jul 2024 15:42:48 -0700 Subject: [PATCH 2/9] nav-round1 --- website/pages/en/_meta.js | 21 ++++++++++++++------ website/pages/en/{network => }/contracts.mdx | 0 2 files changed, 15 insertions(+), 6 deletions(-) rename website/pages/en/{network => }/contracts.mdx (100%) diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index f6ddca308d6a..b9a6512334a1 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -1,13 +1,13 @@ export default { index: '', + about: '', '---1': { type: 'separator', }, about: '', network: 'The Graph Network', billing: '', - glossary: '', - tokenomics: 'Tokenomics', + benefits: 'Benefits', '---2': { type: 'separator', }, @@ -44,15 +44,24 @@ export default { 'new-chain-integration': 'Integrating New Networks', firehose: '', graphcast: '', - 'mips-faqs': '', '---5': { type: 'separator', }, '###4': { type: 'heading', - title: 'Archive', + title: 'Additional Resources', }, - sunrise: 'Sunrise Upgrade FAQ', + tokenomics: 'Tokenomics', + contracts: 'Protocol Contracts', + glossary: '', + '---6': { + type: 'separator', + }, + '###5': { + type: 'heading', + title: 'Archived', + }, + 'mips-faqs': '', arbitrum: 'Scaling with Arbitrum', - benefits: 'Benefits', + sunrise: 'Sunrise Upgrade FAQ', } diff --git a/website/pages/en/network/contracts.mdx b/website/pages/en/contracts.mdx similarity index 100% rename from website/pages/en/network/contracts.mdx rename to website/pages/en/contracts.mdx From b1397504cd0b4ce52a1fd0e711fbc86ed38dfb3e Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Tue, 13 Aug 2024 12:39:25 -0700 Subject: [PATCH 3/9] start of round2 --- website/pages/en/_meta.js | 63 +++++++++++---------- website/pages/en/{network => }/explorer.mdx | 0 website/pages/en/index.json | 2 +- website/pages/en/network/_meta.js | 1 - 4 files changed, 35 insertions(+), 31 deletions(-) rename website/pages/en/{network => }/explorer.mdx (100%) diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index b9a6512334a1..d2e5e66a8323 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -1,40 +1,56 @@ export default { - index: '', - about: '', '---1': { type: 'separator', }, + '###1': { + type: 'heading', + title: 'Overview', + }, + index: '', + about: '', about: '', - network: 'The Graph Network', + network: 'The Graph Roles', billing: '', benefits: 'Benefits', + tokenomics: 'Tokenomics', + contracts: 'Protocol Contracts', + glossary: '', '---2': { type: 'separator', }, - '###1': { + '###2': { + type: 'heading', + title: 'Products', + }, + firehose: '', + substreams: '', + '---3': { + type: 'separator', + }, + '###3': { + type: 'heading', + title: 'Data Consumers', + }, + explorer: '', + querying: 'Querying', + '---4': { + type: 'separator', + }, + '###4': { type: 'heading', - title: 'Subgraphs', + title: 'Developing', }, 'quick-start': '', developing: 'Developing', deploying: 'Deploying', publishing: 'Publishing', managing: 'Managing', - querying: 'Querying', cookbook: 'Cookbook', 'release-notes': 'Release Notes & Upgrade Guides', - '---3': { - type: 'separator', - }, - '###2': { - type: 'heading', - title: 'Substreams', - }, - substreams: '', - '---4': { + '---5': { type: 'separator', }, - '###3': { + '###5': { type: 'heading', title: 'Indexing', }, @@ -42,26 +58,15 @@ export default { 'chain-integration-overview': '', 'supported-network-requirements': '', 'new-chain-integration': 'Integrating New Networks', - firehose: '', graphcast: '', - '---5': { - type: 'separator', - }, - '###4': { - type: 'heading', - title: 'Additional Resources', - }, - tokenomics: 'Tokenomics', - contracts: 'Protocol Contracts', - glossary: '', '---6': { type: 'separator', }, - '###5': { + '###6': { type: 'heading', title: 'Archived', }, + sunrise: 'Sunrise Upgrade FAQ', 'mips-faqs': '', arbitrum: 'Scaling with Arbitrum', - sunrise: 'Sunrise Upgrade FAQ', } diff --git a/website/pages/en/network/explorer.mdx b/website/pages/en/explorer.mdx similarity index 100% rename from website/pages/en/network/explorer.mdx rename to website/pages/en/explorer.mdx diff --git a/website/pages/en/index.json b/website/pages/en/index.json index f99668f57be1..55a2b07b9eef 100644 --- a/website/pages/en/index.json +++ b/website/pages/en/index.json @@ -1,5 +1,5 @@ { - "title": "Docs Overview", + "title": "Home", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/en/network/_meta.js b/website/pages/en/network/_meta.js index 9ad2c6b2d000..8c5a4f817194 100644 --- a/website/pages/en/network/_meta.js +++ b/website/pages/en/network/_meta.js @@ -4,5 +4,4 @@ export default { delegating: '', curating: '', developing: '', - explorer: '', } From ddad1b3d2ff85a156c2ffbcc257be9454bd87835 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Wed, 14 Aug 2024 09:38:04 -0700 Subject: [PATCH 4/9] slight change --- website/pages/en/_meta.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index d2e5e66a8323..cac24eefed6e 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -1,4 +1,5 @@ export default { + index: '', '---1': { type: 'separator', }, @@ -6,8 +7,6 @@ export default { type: 'heading', title: 'Overview', }, - index: '', - about: '', about: '', network: 'The Graph Roles', billing: '', @@ -38,7 +37,7 @@ export default { }, '###4': { type: 'heading', - title: 'Developing', + title: 'Developers', }, 'quick-start': '', developing: 'Developing', @@ -52,7 +51,7 @@ export default { }, '###5': { type: 'heading', - title: 'Indexing', + title: 'Indexers', }, 'operating-graph-node': '', 'chain-integration-overview': '', From f984760028030d700211bef2b34057fa776fff95 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Thu, 15 Aug 2024 13:54:47 -0700 Subject: [PATCH 5/9] updated changes --- website/pages/en/network/_meta.js | 2 + website/pages/en/network/benefits.mdx | 92 +++++++++++ website/pages/en/network/billing.mdx | 213 ++++++++++++++++++++++++++ 3 files changed, 307 insertions(+) create mode 100644 website/pages/en/network/benefits.mdx create mode 100644 website/pages/en/network/billing.mdx diff --git a/website/pages/en/network/_meta.js b/website/pages/en/network/_meta.js index 8c5a4f817194..83f52fb6af79 100644 --- a/website/pages/en/network/_meta.js +++ b/website/pages/en/network/_meta.js @@ -1,5 +1,7 @@ export default { overview: 'Overview', + benefits: 'Benefits', + billing: '', indexing: '', delegating: '', curating: '', diff --git a/website/pages/en/network/benefits.mdx b/website/pages/en/network/benefits.mdx new file mode 100644 index 000000000000..26a350d7af68 --- /dev/null +++ b/website/pages/en/network/benefits.mdx @@ -0,0 +1,92 @@ +--- +title: The Graph Network vs. Self Hosting +socialImage: https://thegraph.com/docs/img/seo/benefits.jpg +--- + +The Graph’s decentralized network has been engineered and refined to create a robust indexing and querying experience—and it’s getting better every day thanks to thousands of contributors around the world. + +The benefits of this decentralized protocol cannot be replicated by running a `graph-node` locally. The Graph Network is more reliable, more efficient, and less expensive. + +Here is an analysis: + +## Why You Should Use The Graph Network + +- Significantly lower monthly costs +- $0 infrastructure setup costs +- Superior uptime +- Access to hundreds of independent Indexers around the world +- 24/7 technical support by global community + +## The Benefits Explained + +### Lower & more Flexible Cost Structure + +No contracts. No monthly fees. Only pay for the queries you use—with an average cost-per-query of $40 per million queries (~$0.00004 per query). Queries are priced in USD and paid in GRT or credit card. + +Query costs may vary; the quoted cost is the average at time of publication (March 2024). + +## Low Volume User (less than 100,000 queries per month) + +| Cost Comparison | Self Hosted | The Graph Network | +| :-: | :-: | :-: | +| Monthly server cost\* | $350 per month | $0 | +| Query costs | $0+ | $0 per month | +| Engineering time | $400 per month | None, built into the network with globally distributed Indexers | +| Queries per month | Limited to infra capabilities | 100,000 (Free Plan) | +| Cost per query | $0 | $0 | +| Infrastructure | Centralized | Decentralized | +| Geographic redundancy | $750+ per additional node | Included | +| Uptime | Varies | 99.9%+ | +| Total Monthly Costs | $750+ | $0 | + +## Medium Volume User (~3M queries per month) + +| Cost Comparison | Self Hosted | The Graph Network | +| :-: | :-: | :-: | +| Monthly server cost\* | $350 per month | $0 | +| Query costs | $500 per month | $120 per month | +| Engineering time | $800 per month | None, built into the network with globally distributed Indexers | +| Queries per month | Limited to infra capabilities | ~3,000,000 | +| Cost per query | $0 | $0.00004 | +| Infrastructure | Centralized | Decentralized | +| Engineering expense | $200 per hour | Included | +| Geographic redundancy | $1,200 in total costs per additional node | Included | +| Uptime | Varies | 99.9%+ | +| Total Monthly Costs | $1,650+ | $120 | + +## High Volume User (~30M queries per month) + +| Cost Comparison | Self Hosted | The Graph Network | +| :-: | :-: | :-: | +| Monthly server cost\* | $1100 per month, per node | $0 | +| Query costs | $4000 | $1,200 per month | +| Number of nodes needed | 10 | Not applicable | +| Engineering time | $6,000 or more per month | None, built into the network with globally distributed Indexers | +| Queries per month | Limited to infra capabilities | ~30,000,000 | +| Cost per query | $0 | $0.00004 | +| Infrastructure | Centralized | Decentralized | +| Geographic redundancy | $1,200 in total costs per additional node | Included | +| Uptime | Varies | 99.9%+ | +| Total Monthly Costs | $11,000+ | $1,200 | + +\*including costs for backup: $50-$100 per month + +Engineering time based on $200 per hour assumption + +Reflects cost for data consumer. Query fees are still paid to Indexers for Free Plan queries. + +Estimated costs are only for Ethereum Mainnet subgraphs — costs are even higher when self hosting a `graph-node` on other networks. Some users may need to update their subgraph to a new version. Due to Ethereum gas fees, an update costs ~$50 at time of writing. Note that gas fees on [Arbitrum](/arbitrum/arbitrum-faq) are substantially lower than Ethereum mainnet. + +Curating signal on a subgraph is an optional one-time, net-zero cost (e.g., $1k in signal can be curated on a subgraph, and later withdrawn—with potential to earn returns in the process). + +## No Setup Costs & Greater Operational Efficiency + +Zero setup fees. Get started immediately with no setup or overhead costs. No hardware requirements. No outages due to centralized infrastructure, and more time to concentrate on your core product . No need for backup servers, troubleshooting, or expensive engineering resources. + +## Reliability & Resiliency + +The Graph’s decentralized network gives users access to geographic redundancy that does not exist when self-hosting a `graph-node`. Queries are served reliably thanks to 99.9%+ uptime, achieved by hundreds of independent Indexers securing the network globally. + +Bottom line: The Graph Network is less expensive, easier to use, and produces superior results compared to running a `graph-node` locally. + +Start using The Graph Network today, and learn how to [upgrade your subgraph to The Graph's decentralized network](/cookbook/upgrading-a-subgraph). diff --git a/website/pages/en/network/billing.mdx b/website/pages/en/network/billing.mdx new file mode 100644 index 000000000000..37f9c840d00b --- /dev/null +++ b/website/pages/en/network/billing.mdx @@ -0,0 +1,213 @@ +--- +title: Billing +--- + +## Subgraph Billing Plans + +There are two plans to use when querying subgraphs on The Graph Network. + +- **Free Plan**: The Free Plan includes 100,000 free monthly queries with full access to the Subgraph Studio testing environment. This plan is designed for hobbyists, hackathoners, and those with side projects to try out The Graph before scaling their dapp. + +- **Growth Plan**: The Growth Plan includes everything in the Free Plan with all queries after 100,000 monthly queries requiring payments with GRT or credit card. The Growth Plan is flexible enough to cover teams that have established dapps across a variety of use cases. + + + +## Query Payments with credit card + +- To set up billing with credit/debit cards, users will access Subgraph Studio (https://thegraph.com/studio/) + 1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). + 2. Click on the "Connect Wallet" button on the top right corner of the page. You'll be redirected to the wallet selection page. Select your wallet and click on "Connect". + 3. Choose “Upgrade plan” if you are upgrading from the Free Plan or choose “Manage Plan” if you have already added GRT to your billing balance in the past. Next, you can estimate the number of queries to get a pricing estimate, but this is not a required step. + 4. To choose a credit card payment, choose “Credit card” as the payment method and fill out your credit card information. Those who have used Stripe before can use the Link feature to autofill their details. +- Invoices will be processed at the end of each month and require an active credit card on file for all queries beyond the free plan quota. + +## Query Payments with GRT + +Subgraph users can use The Graph Token (or GRT) to pay for queries on The Graph Network. With GRT, invoices will be processed at the end of each month and require a sufficient balance of GRT to make queries beyond the Free Plan quota of 100,000 monthly queries. You'll be required to pay fees generated from your API keys. Using the billing contract, you'll be able to: + +- Add and withdraw GRT from your account balance. +- Keep track of your balances based on how much GRT you have added to your account balance, how much you have removed, and your invoices. +- Automatically pay invoices based on query fees generated, as long as there is enough GRT in your account balance. + +### GRT on Arbitrum or Ethereum + +The Graph’s billing system accepts GRT on Arbitrum, and users will need ETH on Arbitrum to pay their gas. While The Graph protocol started on Ethereum Mainnet, all activity, including the billing contracts, is now on Arbitrum One. + +To pay for queries, you need GRT on Arbitrum. Here are a few different ways to achieve this: + +- If you already have GRT on Ethereum, you can bridge it to Arbitrum. You can do this via the GRT bridging option provided in Subgraph Studio or by using one of the following bridges: + +- [The Arbitrum Bridge](https://bridge.arbitrum.io/?l2ChainId=42161) +- [TransferTo](https://transferto.xyz/swap) + +- If you already have assets on Arbitrum, you can swap them for GRT via a swapping protocol like Uniswap. + +- Alternatively, you acquire GRT directly on Arbitrum through a decentralized exchange. + +> This section is written assuming you already have GRT in your wallet, and you're on Arbitrum. If you don't have GRT, you can learn how to get GRT [here](#getting-grt). + +Once you bridge GRT, you can add it to your billing balance. + +### Adding GRT using a wallet + +1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). +2. Click on the "Connect Wallet" button on the top right corner of the page. You'll be redirected to the wallet selection page. Select your wallet and click on "Connect". +3. Select the "Manage" button near the top right corner. First time users will see an option to "Upgrade to Growth plan" while returning users will click "Deposit from wallet". +4. Use the slider to estimate the number of queries you expect to make on a monthly basis. + - For suggestions on the number of queries you may use, see our **Frequently Asked Questions** page. +5. Choose "Cryptocurrency". GRT is currently the only cryptocurrency accepted on The Graph Network. +6. Select the number of months you would like to prepay. + - Paying in advance does not commit you to future usage. You will only be charged for what you use and you can withdraw your balance at any time. +7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable. +8. Click "Allow GRT Access" and then specify the amount of GRT that can be taken from you wallet. + - If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas. +9. Lastly, click on "Add GRT to Billing Balance". This transaction will require ETH on Arbitrum to cover the gas costs. + +- Note that GRT deposited from Arbitrum will process within a few moments while GRT deposited from Ethereum will take approximately 15-20 minutes to process. Once the transaction is confirmed, you'll see the GRT added to your account balance. + +### Withdrawing GRT using a wallet + +1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). +2. Click on the "Connect Wallet" button on the top right corner of the page. Select your wallet and click on "Connect". +3. Click the "Manage"" button at the top right corner of the page. Select "Withdraw GRT". A side panel will appear. +4. Enter the amount of GRT you would like to withdraw. +5. Click 'Withdraw GRT' to withdraw the GRT from your account balance. Sign the associated transaction in your wallet. This will cost gas. The GRT will be sent to your Arbitrum wallet. +6. Once the transaction is confirmed, you'll see the GRT withdrawn from your account balance in your Arbitrum wallet. + +### Adding GRT using a multisig wallet + +1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). +2. Click on the "Connect Wallet" button on the top right corner of the page. Select your wallet and click on "Connect". If you're using [Gnosis-Safe](https://gnosis-safe.io/), you'll be able to connect your multisig as well as your signing wallet. Then, sign the associated message. This will not cost any gas. +3. Select the "Manage" button near the top right corner. First time users will see an option to "Upgrade to Growth plan" while returning users will click "Deposit from wallet". +4. Use the slider to estimate the number of queries you expect to make on a monthly basis. + - For suggestions on the number of queries you may use, see our **Frequently Asked Questions** page. +5. Choose "Cryptocurrency". GRT is currently the only cryptocurrency accepted on The Graph Network. +6. Select the number of months you would like to prepay. + - Paying in advance does not committing you to future usage. You will only be charged for what you use and you can withdraw your balance at any time. +7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable. 8. Click "Allow GRT Access" and then specify the amount of GRT that can be taken from you wallet. + - If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas. +8. Lastly, click on "Add GRT to Billing Balance". This transaction will require ETH on Arbitrum to cover the gas costs. + +- Note that GRT deposited from Arbitrum will process within a few moments while GRT deposited from Ethereum will take approximately 15-20 minutes to process. Once the transaction is confirmed, you'll see the GRT added to your account balance. + +## Getting GRT + +This section will show you how to get GRT to pay for query fees. + +### Coinbase + +This will be a step by step guide for purchasing GRT on Coinbase. + +1. Go to [Coinbase](https://www.coinbase.com/) and create an account. +2. Once you have created an account, you will need to verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. +3. Once you have verified your identity, you can purchase GRT. You can do this by clicking on the "Buy/Sell" button on the top right of the page. +4. Select the currency you want to purchase. Select GRT. +5. Select the payment method. Select your preferred payment method. +6. Select the amount of GRT you want to purchase. +7. Review your purchase. Review your purchase and click "Buy GRT". +8. Confirm your purchase. Confirm your purchase and you will have successfully purchased GRT. +9. You can transfer the GRT from your account to your wallet such as [MetaMask](https://metamask.io/). + - To transfer the GRT to your wallet, click on the "Accounts" button on the top right of the page. + - Click on the "Send" button next to the GRT account. + - Enter the amount of GRT you want to send and the wallet address you want to send it to. + - Click "Continue" and confirm your transaction. -Please note that for larger purchase amounts, Coinbase may require you to wait 7-10 days before transferring the full amount to a wallet. + +You can learn more about getting GRT on Coinbase [here](https://help.coinbase.com/en/coinbase/trading-and-funding/buying-selling-or-converting-crypto/how-do-i-buy-digital-currency). + +### Binance + +This will be a step by step guide for purchasing GRT on Binance. + +1. Go to [Binance](https://www.binance.com/en) and create an account. +2. Once you have created an account, you will need to verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. +3. Once you have verified your identity, you can purchase GRT. You can do this by clicking on the "Buy Now" button on the homepage banner. +4. You will be taken to a page where you can select the currency you want to purchase. Select GRT. +5. Select your preferred payment method. You'll be able to pay with different fiat currencies such as Euros, US Dollars, and more. +6. Select the amount of GRT you want to purchase. +7. Review your purchase and click "Buy GRT". +8. Confirm your purchase and you will be able to see your GRT in your Binance Spot Wallet. +9. You can withdraw the GRT from your account to your wallet such as [MetaMask](https://metamask.io/). + - [To withdraw](https://www.binance.com/en/blog/ecosystem/how-to-transfer-crypto-from-binance-to-trust-wallet-8305050796630181570) the GRT to your wallet, add your wallet's address to the withdrawel whitelist. + - Click on the "wallet" button, click withdraw, and select GRT. + - Enter the amount of GRT you want to send and the whitelisted wallet address you want to send it to. + - Click "Continue" and confirm your transaction. + +You can learn more about getting GRT on Binance [here](https://www.binance.com/en/support/faq/how-to-buy-cryptocurrency-on-binance-homepage-400c38f5e0cd4b46a1d0805c296b5582). + +### Uniswap + +This is how you can purchase GRT on Uniswap. + +1. Go to [Uniswap](https://app.uniswap.org/swap?chain=arbitrum) and connect your wallet. +2. Select the token you want to swap from. Select ETH. +3. Select the token you want to swap to. Select GRT. + - Make sure you're swapping for the correct token. The GRT smart contract address on Arbitrum One is: [0x9623063377AD1B27544C965cCd7342f7EA7e88C7](https://arbiscan.io/token/0x9623063377ad1b27544c965ccd7342f7ea7e88c7) +4. Enter the amount of ETH you want to swap. +5. Click "Swap". +6. Confirm the transaction in your wallet and you wait for the transaction to process. + +You can learn more about getting GRT on Uniswap [here](https://support.uniswap.org/hc/en-us/articles/8370549680909-How-to-Swap-Tokens-). + +## Getting Ether + +This section will show you how to get Ether (ETH) to pay for transaction fees or gas costs. ETH is necessary to execute operations on the Ethereum network such as transferring tokens or interacting with contracts. + +### Coinbase + +This will be a step by step guide for purchasing ETH on Coinbase. + +1. Go to [Coinbase](https://www.coinbase.com/) and create an account. +2. Once you have created an account, verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. +3. Once you have verified your identity, purchase ETH by clicking on the "Buy/Sell" button on the top right of the page. +4. Select the currency you want to purchase. Select ETH. +5. Select your preferred payment method. +6. Enter the amount of ETH you want to purchase. +7. Review your purchase and click "Buy ETH". +8. Confirm your purchase and you will have successfully purchased ETH. +9. You can transfer the ETH from your Coinbase account to your wallet such as [MetaMask](https://metamask.io/). + - To transfer the ETH to your wallet, click on the "Accounts" button on the top right of the page. + - Click on the "Send" button next to the ETH account. + - Enter the amount of ETH you want to send and the wallet address you want to send it to. + - Ensure that you are sending to your Ethereum wallet address on Arbitrum One. + - Click "Continue" and confirm your transaction. + +You can learn more about getting ETH on Coinbase [here](https://help.coinbase.com/en/coinbase/trading-and-funding/buying-selling-or-converting-crypto/how-do-i-buy-digital-currency). + +### Binance + +This will be a step by step guide for purchasing ETH on Binance. + +1. Go to [Binance](https://www.binance.com/en) and create an account. +2. Once you have created an account, verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. +3. Once you have verified your identity, purchase ETH by clicking on the "Buy Now" button on the homepage banner. +4. Select the currency you want to purchase. Select ETH. +5. Select your preferred payment method. +6. Enter the amount of ETH you want to purchase. +7. Review your purchase and click "Buy ETH". +8. Confirm your purchase and you will see your ETH in your Binance Spot Wallet. +9. You can withdraw the ETH from your account to your wallet such as [MetaMask](https://metamask.io/). + - To withdraw the ETH to your wallet, add your wallet's address to the withdrawal whitelist. + - Click on the "wallet" button, click withdraw, and select ETH. + - Enter the amount of ETH you want to send and the whitelisted wallet address you want to send it to. + - Ensure that you are sending to your Ethereum wallet address on Arbitrum One. + - Click "Continue" and confirm your transaction. + +You can learn more about getting ETH on Binance [here](https://www.binance.com/en/support/faq/how-to-buy-cryptocurrency-on-binance-homepage-400c38f5e0cd4b46a1d0805c296b5582). + +## Billing FAQs + +### How many queries will I need? + +You don't need to know how many queries you'll need in advance. You will only be charged for what you use and you can withdrawal GRT from your account at any time. + +We recommend you overestimate the number of queries you will need so that you don’t have to top up your balance frequently. A good estimate for small to medium sized applications is to start with 1M-2M queries per month and monitor usage closely in the first weeks. For larger apps, a good estimate is to use the number of daily visits your site gets multiplied by the number of queries your most active page makes upon opening. + +Of course, both new and existing users can reach out to Edge & Node's BD team for a consult to learn more about anticipated usage. + +### Can I withdraw GRT from my billing balance? + +Yes, you can always withdraw GRT that has not already been used for queries from your billing balance. The billing contract is only designed to bridge GRT from Ethereum mainnet to the Arbitrum network. If you'd like to transfer your GRT from Arbitrum back to Ethereum mainnet, you'll need to use the [Arbitrum Bridge](https://bridge.arbitrum.io/?l2ChainId=42161). + +### What happens when my billing balance runs? Will I get a warning? + +You will receive several email notifications before your billing balance runs out. From 527169ed28375fe26971c28d317d0e07d9b72a4b Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Thu, 15 Aug 2024 14:12:49 -0700 Subject: [PATCH 6/9] more changes --- website/pages/en/_meta.js | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index cac24eefed6e..563ef43b8fad 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -8,34 +8,17 @@ export default { title: 'Overview', }, about: '', - network: 'The Graph Roles', - billing: '', - benefits: 'Benefits', + network: 'The Graph Network', tokenomics: 'Tokenomics', contracts: 'Protocol Contracts', glossary: '', - '---2': { - type: 'separator', - }, - '###2': { - type: 'heading', - title: 'Products', - }, + explorer: '', firehose: '', substreams: '', - '---3': { - type: 'separator', - }, - '###3': { - type: 'heading', - title: 'Data Consumers', - }, - explorer: '', - querying: 'Querying', - '---4': { + '---2': { type: 'separator', }, - '###4': { + '###2': { type: 'heading', title: 'Developers', }, @@ -44,12 +27,13 @@ export default { deploying: 'Deploying', publishing: 'Publishing', managing: 'Managing', + querying: 'Querying', cookbook: 'Cookbook', 'release-notes': 'Release Notes & Upgrade Guides', - '---5': { + '---3': { type: 'separator', }, - '###5': { + '###3': { type: 'heading', title: 'Indexers', }, @@ -58,10 +42,10 @@ export default { 'supported-network-requirements': '', 'new-chain-integration': 'Integrating New Networks', graphcast: '', - '---6': { + '---4': { type: 'separator', }, - '###6': { + '###4': { type: 'heading', title: 'Archived', }, From 1b158199e71bd06c301b066e2a04c78531b5bfcf Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Fri, 16 Aug 2024 13:51:27 -0700 Subject: [PATCH 7/9] adjustments --- website/pages/en/_meta.js | 2 +- website/pages/en/benefits.mdx | 92 --------------- website/pages/en/billing.mdx | 213 ---------------------------------- 3 files changed, 1 insertion(+), 306 deletions(-) delete mode 100644 website/pages/en/benefits.mdx delete mode 100644 website/pages/en/billing.mdx diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index 44693ac4a92e..446f80274ab9 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -49,7 +49,7 @@ export default { type: 'heading', title: 'Archived', }, - sunrise: 'Sunrise Upgrade FAQ', + sunrise: 'Post-Sunrise Upgrade FAQ', 'mips-faqs': '', arbitrum: 'Scaling with Arbitrum', } diff --git a/website/pages/en/benefits.mdx b/website/pages/en/benefits.mdx deleted file mode 100644 index 26a350d7af68..000000000000 --- a/website/pages/en/benefits.mdx +++ /dev/null @@ -1,92 +0,0 @@ ---- -title: The Graph Network vs. Self Hosting -socialImage: https://thegraph.com/docs/img/seo/benefits.jpg ---- - -The Graph’s decentralized network has been engineered and refined to create a robust indexing and querying experience—and it’s getting better every day thanks to thousands of contributors around the world. - -The benefits of this decentralized protocol cannot be replicated by running a `graph-node` locally. The Graph Network is more reliable, more efficient, and less expensive. - -Here is an analysis: - -## Why You Should Use The Graph Network - -- Significantly lower monthly costs -- $0 infrastructure setup costs -- Superior uptime -- Access to hundreds of independent Indexers around the world -- 24/7 technical support by global community - -## The Benefits Explained - -### Lower & more Flexible Cost Structure - -No contracts. No monthly fees. Only pay for the queries you use—with an average cost-per-query of $40 per million queries (~$0.00004 per query). Queries are priced in USD and paid in GRT or credit card. - -Query costs may vary; the quoted cost is the average at time of publication (March 2024). - -## Low Volume User (less than 100,000 queries per month) - -| Cost Comparison | Self Hosted | The Graph Network | -| :-: | :-: | :-: | -| Monthly server cost\* | $350 per month | $0 | -| Query costs | $0+ | $0 per month | -| Engineering time | $400 per month | None, built into the network with globally distributed Indexers | -| Queries per month | Limited to infra capabilities | 100,000 (Free Plan) | -| Cost per query | $0 | $0 | -| Infrastructure | Centralized | Decentralized | -| Geographic redundancy | $750+ per additional node | Included | -| Uptime | Varies | 99.9%+ | -| Total Monthly Costs | $750+ | $0 | - -## Medium Volume User (~3M queries per month) - -| Cost Comparison | Self Hosted | The Graph Network | -| :-: | :-: | :-: | -| Monthly server cost\* | $350 per month | $0 | -| Query costs | $500 per month | $120 per month | -| Engineering time | $800 per month | None, built into the network with globally distributed Indexers | -| Queries per month | Limited to infra capabilities | ~3,000,000 | -| Cost per query | $0 | $0.00004 | -| Infrastructure | Centralized | Decentralized | -| Engineering expense | $200 per hour | Included | -| Geographic redundancy | $1,200 in total costs per additional node | Included | -| Uptime | Varies | 99.9%+ | -| Total Monthly Costs | $1,650+ | $120 | - -## High Volume User (~30M queries per month) - -| Cost Comparison | Self Hosted | The Graph Network | -| :-: | :-: | :-: | -| Monthly server cost\* | $1100 per month, per node | $0 | -| Query costs | $4000 | $1,200 per month | -| Number of nodes needed | 10 | Not applicable | -| Engineering time | $6,000 or more per month | None, built into the network with globally distributed Indexers | -| Queries per month | Limited to infra capabilities | ~30,000,000 | -| Cost per query | $0 | $0.00004 | -| Infrastructure | Centralized | Decentralized | -| Geographic redundancy | $1,200 in total costs per additional node | Included | -| Uptime | Varies | 99.9%+ | -| Total Monthly Costs | $11,000+ | $1,200 | - -\*including costs for backup: $50-$100 per month - -Engineering time based on $200 per hour assumption - -Reflects cost for data consumer. Query fees are still paid to Indexers for Free Plan queries. - -Estimated costs are only for Ethereum Mainnet subgraphs — costs are even higher when self hosting a `graph-node` on other networks. Some users may need to update their subgraph to a new version. Due to Ethereum gas fees, an update costs ~$50 at time of writing. Note that gas fees on [Arbitrum](/arbitrum/arbitrum-faq) are substantially lower than Ethereum mainnet. - -Curating signal on a subgraph is an optional one-time, net-zero cost (e.g., $1k in signal can be curated on a subgraph, and later withdrawn—with potential to earn returns in the process). - -## No Setup Costs & Greater Operational Efficiency - -Zero setup fees. Get started immediately with no setup or overhead costs. No hardware requirements. No outages due to centralized infrastructure, and more time to concentrate on your core product . No need for backup servers, troubleshooting, or expensive engineering resources. - -## Reliability & Resiliency - -The Graph’s decentralized network gives users access to geographic redundancy that does not exist when self-hosting a `graph-node`. Queries are served reliably thanks to 99.9%+ uptime, achieved by hundreds of independent Indexers securing the network globally. - -Bottom line: The Graph Network is less expensive, easier to use, and produces superior results compared to running a `graph-node` locally. - -Start using The Graph Network today, and learn how to [upgrade your subgraph to The Graph's decentralized network](/cookbook/upgrading-a-subgraph). diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx deleted file mode 100644 index 37f9c840d00b..000000000000 --- a/website/pages/en/billing.mdx +++ /dev/null @@ -1,213 +0,0 @@ ---- -title: Billing ---- - -## Subgraph Billing Plans - -There are two plans to use when querying subgraphs on The Graph Network. - -- **Free Plan**: The Free Plan includes 100,000 free monthly queries with full access to the Subgraph Studio testing environment. This plan is designed for hobbyists, hackathoners, and those with side projects to try out The Graph before scaling their dapp. - -- **Growth Plan**: The Growth Plan includes everything in the Free Plan with all queries after 100,000 monthly queries requiring payments with GRT or credit card. The Growth Plan is flexible enough to cover teams that have established dapps across a variety of use cases. - - - -## Query Payments with credit card - -- To set up billing with credit/debit cards, users will access Subgraph Studio (https://thegraph.com/studio/) - 1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). - 2. Click on the "Connect Wallet" button on the top right corner of the page. You'll be redirected to the wallet selection page. Select your wallet and click on "Connect". - 3. Choose “Upgrade plan” if you are upgrading from the Free Plan or choose “Manage Plan” if you have already added GRT to your billing balance in the past. Next, you can estimate the number of queries to get a pricing estimate, but this is not a required step. - 4. To choose a credit card payment, choose “Credit card” as the payment method and fill out your credit card information. Those who have used Stripe before can use the Link feature to autofill their details. -- Invoices will be processed at the end of each month and require an active credit card on file for all queries beyond the free plan quota. - -## Query Payments with GRT - -Subgraph users can use The Graph Token (or GRT) to pay for queries on The Graph Network. With GRT, invoices will be processed at the end of each month and require a sufficient balance of GRT to make queries beyond the Free Plan quota of 100,000 monthly queries. You'll be required to pay fees generated from your API keys. Using the billing contract, you'll be able to: - -- Add and withdraw GRT from your account balance. -- Keep track of your balances based on how much GRT you have added to your account balance, how much you have removed, and your invoices. -- Automatically pay invoices based on query fees generated, as long as there is enough GRT in your account balance. - -### GRT on Arbitrum or Ethereum - -The Graph’s billing system accepts GRT on Arbitrum, and users will need ETH on Arbitrum to pay their gas. While The Graph protocol started on Ethereum Mainnet, all activity, including the billing contracts, is now on Arbitrum One. - -To pay for queries, you need GRT on Arbitrum. Here are a few different ways to achieve this: - -- If you already have GRT on Ethereum, you can bridge it to Arbitrum. You can do this via the GRT bridging option provided in Subgraph Studio or by using one of the following bridges: - -- [The Arbitrum Bridge](https://bridge.arbitrum.io/?l2ChainId=42161) -- [TransferTo](https://transferto.xyz/swap) - -- If you already have assets on Arbitrum, you can swap them for GRT via a swapping protocol like Uniswap. - -- Alternatively, you acquire GRT directly on Arbitrum through a decentralized exchange. - -> This section is written assuming you already have GRT in your wallet, and you're on Arbitrum. If you don't have GRT, you can learn how to get GRT [here](#getting-grt). - -Once you bridge GRT, you can add it to your billing balance. - -### Adding GRT using a wallet - -1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). -2. Click on the "Connect Wallet" button on the top right corner of the page. You'll be redirected to the wallet selection page. Select your wallet and click on "Connect". -3. Select the "Manage" button near the top right corner. First time users will see an option to "Upgrade to Growth plan" while returning users will click "Deposit from wallet". -4. Use the slider to estimate the number of queries you expect to make on a monthly basis. - - For suggestions on the number of queries you may use, see our **Frequently Asked Questions** page. -5. Choose "Cryptocurrency". GRT is currently the only cryptocurrency accepted on The Graph Network. -6. Select the number of months you would like to prepay. - - Paying in advance does not commit you to future usage. You will only be charged for what you use and you can withdraw your balance at any time. -7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable. -8. Click "Allow GRT Access" and then specify the amount of GRT that can be taken from you wallet. - - If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas. -9. Lastly, click on "Add GRT to Billing Balance". This transaction will require ETH on Arbitrum to cover the gas costs. - -- Note that GRT deposited from Arbitrum will process within a few moments while GRT deposited from Ethereum will take approximately 15-20 minutes to process. Once the transaction is confirmed, you'll see the GRT added to your account balance. - -### Withdrawing GRT using a wallet - -1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). -2. Click on the "Connect Wallet" button on the top right corner of the page. Select your wallet and click on "Connect". -3. Click the "Manage"" button at the top right corner of the page. Select "Withdraw GRT". A side panel will appear. -4. Enter the amount of GRT you would like to withdraw. -5. Click 'Withdraw GRT' to withdraw the GRT from your account balance. Sign the associated transaction in your wallet. This will cost gas. The GRT will be sent to your Arbitrum wallet. -6. Once the transaction is confirmed, you'll see the GRT withdrawn from your account balance in your Arbitrum wallet. - -### Adding GRT using a multisig wallet - -1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). -2. Click on the "Connect Wallet" button on the top right corner of the page. Select your wallet and click on "Connect". If you're using [Gnosis-Safe](https://gnosis-safe.io/), you'll be able to connect your multisig as well as your signing wallet. Then, sign the associated message. This will not cost any gas. -3. Select the "Manage" button near the top right corner. First time users will see an option to "Upgrade to Growth plan" while returning users will click "Deposit from wallet". -4. Use the slider to estimate the number of queries you expect to make on a monthly basis. - - For suggestions on the number of queries you may use, see our **Frequently Asked Questions** page. -5. Choose "Cryptocurrency". GRT is currently the only cryptocurrency accepted on The Graph Network. -6. Select the number of months you would like to prepay. - - Paying in advance does not committing you to future usage. You will only be charged for what you use and you can withdraw your balance at any time. -7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable. 8. Click "Allow GRT Access" and then specify the amount of GRT that can be taken from you wallet. - - If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas. -8. Lastly, click on "Add GRT to Billing Balance". This transaction will require ETH on Arbitrum to cover the gas costs. - -- Note that GRT deposited from Arbitrum will process within a few moments while GRT deposited from Ethereum will take approximately 15-20 minutes to process. Once the transaction is confirmed, you'll see the GRT added to your account balance. - -## Getting GRT - -This section will show you how to get GRT to pay for query fees. - -### Coinbase - -This will be a step by step guide for purchasing GRT on Coinbase. - -1. Go to [Coinbase](https://www.coinbase.com/) and create an account. -2. Once you have created an account, you will need to verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. -3. Once you have verified your identity, you can purchase GRT. You can do this by clicking on the "Buy/Sell" button on the top right of the page. -4. Select the currency you want to purchase. Select GRT. -5. Select the payment method. Select your preferred payment method. -6. Select the amount of GRT you want to purchase. -7. Review your purchase. Review your purchase and click "Buy GRT". -8. Confirm your purchase. Confirm your purchase and you will have successfully purchased GRT. -9. You can transfer the GRT from your account to your wallet such as [MetaMask](https://metamask.io/). - - To transfer the GRT to your wallet, click on the "Accounts" button on the top right of the page. - - Click on the "Send" button next to the GRT account. - - Enter the amount of GRT you want to send and the wallet address you want to send it to. - - Click "Continue" and confirm your transaction. -Please note that for larger purchase amounts, Coinbase may require you to wait 7-10 days before transferring the full amount to a wallet. - -You can learn more about getting GRT on Coinbase [here](https://help.coinbase.com/en/coinbase/trading-and-funding/buying-selling-or-converting-crypto/how-do-i-buy-digital-currency). - -### Binance - -This will be a step by step guide for purchasing GRT on Binance. - -1. Go to [Binance](https://www.binance.com/en) and create an account. -2. Once you have created an account, you will need to verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. -3. Once you have verified your identity, you can purchase GRT. You can do this by clicking on the "Buy Now" button on the homepage banner. -4. You will be taken to a page where you can select the currency you want to purchase. Select GRT. -5. Select your preferred payment method. You'll be able to pay with different fiat currencies such as Euros, US Dollars, and more. -6. Select the amount of GRT you want to purchase. -7. Review your purchase and click "Buy GRT". -8. Confirm your purchase and you will be able to see your GRT in your Binance Spot Wallet. -9. You can withdraw the GRT from your account to your wallet such as [MetaMask](https://metamask.io/). - - [To withdraw](https://www.binance.com/en/blog/ecosystem/how-to-transfer-crypto-from-binance-to-trust-wallet-8305050796630181570) the GRT to your wallet, add your wallet's address to the withdrawel whitelist. - - Click on the "wallet" button, click withdraw, and select GRT. - - Enter the amount of GRT you want to send and the whitelisted wallet address you want to send it to. - - Click "Continue" and confirm your transaction. - -You can learn more about getting GRT on Binance [here](https://www.binance.com/en/support/faq/how-to-buy-cryptocurrency-on-binance-homepage-400c38f5e0cd4b46a1d0805c296b5582). - -### Uniswap - -This is how you can purchase GRT on Uniswap. - -1. Go to [Uniswap](https://app.uniswap.org/swap?chain=arbitrum) and connect your wallet. -2. Select the token you want to swap from. Select ETH. -3. Select the token you want to swap to. Select GRT. - - Make sure you're swapping for the correct token. The GRT smart contract address on Arbitrum One is: [0x9623063377AD1B27544C965cCd7342f7EA7e88C7](https://arbiscan.io/token/0x9623063377ad1b27544c965ccd7342f7ea7e88c7) -4. Enter the amount of ETH you want to swap. -5. Click "Swap". -6. Confirm the transaction in your wallet and you wait for the transaction to process. - -You can learn more about getting GRT on Uniswap [here](https://support.uniswap.org/hc/en-us/articles/8370549680909-How-to-Swap-Tokens-). - -## Getting Ether - -This section will show you how to get Ether (ETH) to pay for transaction fees or gas costs. ETH is necessary to execute operations on the Ethereum network such as transferring tokens or interacting with contracts. - -### Coinbase - -This will be a step by step guide for purchasing ETH on Coinbase. - -1. Go to [Coinbase](https://www.coinbase.com/) and create an account. -2. Once you have created an account, verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. -3. Once you have verified your identity, purchase ETH by clicking on the "Buy/Sell" button on the top right of the page. -4. Select the currency you want to purchase. Select ETH. -5. Select your preferred payment method. -6. Enter the amount of ETH you want to purchase. -7. Review your purchase and click "Buy ETH". -8. Confirm your purchase and you will have successfully purchased ETH. -9. You can transfer the ETH from your Coinbase account to your wallet such as [MetaMask](https://metamask.io/). - - To transfer the ETH to your wallet, click on the "Accounts" button on the top right of the page. - - Click on the "Send" button next to the ETH account. - - Enter the amount of ETH you want to send and the wallet address you want to send it to. - - Ensure that you are sending to your Ethereum wallet address on Arbitrum One. - - Click "Continue" and confirm your transaction. - -You can learn more about getting ETH on Coinbase [here](https://help.coinbase.com/en/coinbase/trading-and-funding/buying-selling-or-converting-crypto/how-do-i-buy-digital-currency). - -### Binance - -This will be a step by step guide for purchasing ETH on Binance. - -1. Go to [Binance](https://www.binance.com/en) and create an account. -2. Once you have created an account, verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges. -3. Once you have verified your identity, purchase ETH by clicking on the "Buy Now" button on the homepage banner. -4. Select the currency you want to purchase. Select ETH. -5. Select your preferred payment method. -6. Enter the amount of ETH you want to purchase. -7. Review your purchase and click "Buy ETH". -8. Confirm your purchase and you will see your ETH in your Binance Spot Wallet. -9. You can withdraw the ETH from your account to your wallet such as [MetaMask](https://metamask.io/). - - To withdraw the ETH to your wallet, add your wallet's address to the withdrawal whitelist. - - Click on the "wallet" button, click withdraw, and select ETH. - - Enter the amount of ETH you want to send and the whitelisted wallet address you want to send it to. - - Ensure that you are sending to your Ethereum wallet address on Arbitrum One. - - Click "Continue" and confirm your transaction. - -You can learn more about getting ETH on Binance [here](https://www.binance.com/en/support/faq/how-to-buy-cryptocurrency-on-binance-homepage-400c38f5e0cd4b46a1d0805c296b5582). - -## Billing FAQs - -### How many queries will I need? - -You don't need to know how many queries you'll need in advance. You will only be charged for what you use and you can withdrawal GRT from your account at any time. - -We recommend you overestimate the number of queries you will need so that you don’t have to top up your balance frequently. A good estimate for small to medium sized applications is to start with 1M-2M queries per month and monitor usage closely in the first weeks. For larger apps, a good estimate is to use the number of daily visits your site gets multiplied by the number of queries your most active page makes upon opening. - -Of course, both new and existing users can reach out to Edge & Node's BD team for a consult to learn more about anticipated usage. - -### Can I withdraw GRT from my billing balance? - -Yes, you can always withdraw GRT that has not already been used for queries from your billing balance. The billing contract is only designed to bridge GRT from Ethereum mainnet to the Arbitrum network. If you'd like to transfer your GRT from Arbitrum back to Ethereum mainnet, you'll need to use the [Arbitrum Bridge](https://bridge.arbitrum.io/?l2ChainId=42161). - -### What happens when my billing balance runs? Will I get a warning? - -You will receive several email notifications before your billing balance runs out. From 69bde3d3b20e78c0762ceac2f6ab2dba7d76eb08 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Fri, 16 Aug 2024 14:04:56 -0700 Subject: [PATCH 8/9] re-directing --- nginx.conf | 1 - website/next.config.js | 5 ----- 2 files changed, 6 deletions(-) diff --git a/nginx.conf b/nginx.conf index 45be5cd58300..4f7c6fa01984 100644 --- a/nginx.conf +++ b/nginx.conf @@ -92,7 +92,6 @@ http { rewrite ^/docs/en/firehose/(?!index\.).+$ https://firehose.streamingfast.io permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developer/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/graph-ts/api/ permanent; rewrite ^/docs/([a-zA-Z][a-zA-Z])/developing/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/graph-ts/api/ permanent; - rewrite ^/docs/([a-zA-Z][a-zA-Z])/network/benefits/$ $scheme://$http_host/docs//benefits/ permanent; # Temporary redirects (302) rewrite ^/docs/en/querying/graph-client/$ $scheme://$http_host/docs/en/querying/graph-client/README/ redirect; diff --git a/website/next.config.js b/website/next.config.js index 79f9f79d3e20..163824afa80f 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -81,11 +81,6 @@ export default withNextra({ destination: '/en/developing/graph-ts/api/', permanent: true, }, - { - source: '/en/network/benefits/', - destination: '/en/benefits/', - permanent: true, - }, ], images: { unoptimized: true, From c9179bc08ab427242573087b975d198b62a0cad7 Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Fri, 30 Aug 2024 13:37:34 -0700 Subject: [PATCH 9/9] minor update --- website/pages/en/_meta.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js index 446f80274ab9..470c1569bb2e 100644 --- a/website/pages/en/_meta.js +++ b/website/pages/en/_meta.js @@ -10,7 +10,7 @@ export default { about: '', network: 'The Graph Network', tokenomics: 'Tokenomics', - contracts: 'Protocol Contracts', + contracts: '', glossary: '', explorer: '', firehose: '', @@ -20,7 +20,7 @@ export default { }, '###2': { type: 'heading', - title: 'Developers', + title: 'Subgraph Developers', }, 'quick-start': '', developing: 'Developing',