From 170749302288a8d87287a95db8c24243a438ac96 Mon Sep 17 00:00:00 2001 From: Michael Macaulay <56690114+MichaelMacaulay@users.noreply.github.com> Date: Thu, 16 Mar 2023 14:58:26 -0400 Subject: [PATCH 1/6] Banxa billing --- website/pages/en/billing.mdx | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx index 287a6078fdf5..43e4f5dfb0bd 100644 --- a/website/pages/en/billing.mdx +++ b/website/pages/en/billing.mdx @@ -2,10 +2,32 @@ title: Billing --- -## Billing on Arbitrum - > Invoices are generated on a weekly basis. +There are two options for paying for your query fees: + +- [Paying with fiat currency through Banxa](#billing-on-banxa) +- [Paying with GRT on Arbitrum](#billing-on-arbitrum) + +## Billing on Banxa + +Banxa enables you to bypass the need for an exchange and pay for your query fees using the fiat currency of your choice. The fiat currency will be converted to GRT, added to your billing balance on the billing contract, and used to pay for your query fees. + +There may be KYC requirements depending on the regulations in your country. For more information about KYC, please visit [Banxa's FAQ page](https://docs.banxa.com/docs/faqs). + +You can learn more about Banxa by reading their [documentation](https://docs.banxa.com/docs). + +### Paying for query fees with Banxa + +1. Select “Pay with Card” option in [Subgraph Studio](https://thegraph.com/studio/). +2. Enter the amount of GRT to be added to your billing balance. +3. Enter necessary banking information on Banxa including payment method & fiat currency of choice. +4. Finish the transaction. + +Once the transaction is confirmed, your GRT will automatically be added to your billing balance on Arbitrum. + +## Billing on Arbitrum + While The Graph protocol operates on Ethereum Mainnet, [the billing contract](https://arbiscan.io/address/0x1b07d3344188908fb6deceac381f3ee63c48477a) lives on the [Arbitrum](https://arbitrum.io/) network to reduce transaction times and cost. You'll be required to pay the query fees generated from your API keys. Using the billing contract, you'll be able to: - Add and withdraw GRT from your billing balance. From 0bb0a776e48264ff96178e09d5d83df1c03ac2a8 Mon Sep 17 00:00:00 2001 From: "Micmac.eth" <56690114+MichaelMacaulay@users.noreply.github.com> Date: Fri, 17 Mar 2023 09:02:32 -0400 Subject: [PATCH 2/6] Fixes --- website/pages/en/billing.mdx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx index 43e4f5dfb0bd..cb158f34e008 100644 --- a/website/pages/en/billing.mdx +++ b/website/pages/en/billing.mdx @@ -7,11 +7,11 @@ title: Billing There are two options for paying for your query fees: - [Paying with fiat currency through Banxa](#billing-on-banxa) -- [Paying with GRT on Arbitrum](#billing-on-arbitrum) +- [Paying with crypto wallet](#billing-on-arbitrum) ## Billing on Banxa -Banxa enables you to bypass the need for an exchange and pay for your query fees using the fiat currency of your choice. The fiat currency will be converted to GRT, added to your billing balance on the billing contract, and used to pay for your query fees. +Banxa enables you to bypass the need for an exchange and pay for your query fees using the fiat currency of your choice. The fiat currency will be converted to GRT, added to your account balance on the billing contract, and used to pay for queries associated with your API keys. There may be KYC requirements depending on the regulations in your country. For more information about KYC, please visit [Banxa's FAQ page](https://docs.banxa.com/docs/faqs). @@ -19,20 +19,20 @@ You can learn more about Banxa by reading their [documentation](https://docs.ban ### Paying for query fees with Banxa -1. Select “Pay with Card” option in [Subgraph Studio](https://thegraph.com/studio/). -2. Enter the amount of GRT to be added to your billing balance. +1. Select “Pay with Card” option in [Subgraph Studio](https://thegraph.com/studio/billing/?show=Deposit). +2. Enter the amount of GRT to be added to your account balance. 3. Enter necessary banking information on Banxa including payment method & fiat currency of choice. 4. Finish the transaction. -Once the transaction is confirmed, your GRT will automatically be added to your billing balance on Arbitrum. +Once the transaction is confirmed, the purchased GRT will automatically be added to your account balance on Arbitrum. ## Billing on Arbitrum While The Graph protocol operates on Ethereum Mainnet, [the billing contract](https://arbiscan.io/address/0x1b07d3344188908fb6deceac381f3ee63c48477a) lives on the [Arbitrum](https://arbitrum.io/) network to reduce transaction times and cost. You'll be required to pay the query fees generated from your API keys. Using the billing contract, you'll be able to: -- Add and withdraw GRT from your billing balance. -- Keep track of your balances based on how much GRT you have added to your billing 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 billing balance. +- 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. ### Adding GRT using a crypto wallet @@ -44,17 +44,17 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht 3. Click the 'Add GRT' button at the center of the page. A side panel will appear. -4. Enter the amount of GRT you want to add to your billing balance. You can also select the maximum amount of GRT you want to add to your billing balance by clicking on the "Max" button. +4. Enter the amount of GRT you want to add to your account balance. You can also select the maximum amount of GRT you want to add to your account balance by clicking on the "Max" button. 5. Click 'Allow GRT Access' to allow the Subgraph Studio to access your GRT. Sign the associated transaction in your wallet. This will not cost any gas. -6. Click 'Add GRT to billing balance' to add the GRT to your billing balance. Sign the associated transaction in your wallet. This will cost gas. +6. Click 'Add GRT to account balance' to add the GRT to your account balance. Sign the associated transaction in your wallet. This will cost gas. -7. Once the transaction is confirmed, you'll see the GRT added to your billing balance within an hour. +7. Once the transaction is confirmed, you'll see the GRT added to your account balance within an hour. ### Withdrawing GRT using a crypto wallet -> This section is written assuming you have deposited GRT into your billing balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on the Arbitrum network. +> This section is written assuming you have deposited GRT into your account balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on the Arbitrum network. 1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). @@ -64,9 +64,9 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht 4. Enter the amount of GRT you would like to withdraw. -5. Click 'Withdraw GRT' to withdraw the GRT from your billing balance. Sign the associated transaction in your wallet. This will cost gas. The GRT will be sent to your Arbitrum wallet. +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 billing balance in 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 @@ -76,11 +76,11 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht 3. Click the 'Add GRT' button at the center of the page. A side panel will appear. -4. Once the transaction is confirmed, you'll see the GRT added to your billing balance within an hour. +4. Once the transaction is confirmed, you'll see the GRT added to your account balance within an hour. ### Withdrawing GRT using a multisig wallet -> This section is written assuming you have deposited GRT into your billing balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on Ethereum mainnet. +> This section is written assuming you have deposited GRT into your account balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on Ethereum mainnet. 1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/). @@ -90,7 +90,7 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht 4. Enter the amount of GRT you would like to withdraw. Specify the receiving wallet which will receive the GRT from this transaction. The GRT will be sent to the receiving wallet on Arbitrum. -5. Click 'Withdraw GRT' to withdraw the GRT from your billing balance. Sign the associated transaction in your wallet. This will cost gas. +5. Click 'Withdraw GRT' to withdraw the GRT from your account balance. Sign the associated transaction in your wallet. This will cost gas. 6. Once the transaction is confirmed, you'll see the GRT added to your Arbitrum wallet within an hour. From 52a75dfb608f20faf2e91a52d2fe77d589054655 Mon Sep 17 00:00:00 2001 From: "Micmac.eth" <56690114+MichaelMacaulay@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:09:25 -0400 Subject: [PATCH 3/6] small fix --- website/pages/en/billing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx index cb158f34e008..139b24242a6e 100644 --- a/website/pages/en/billing.mdx +++ b/website/pages/en/billing.mdx @@ -6,7 +6,7 @@ title: Billing There are two options for paying for your query fees: -- [Paying with fiat currency through Banxa](#billing-on-banxa) +- [Paying with fiat currency with Banxa](#billing-on-banxa) - [Paying with crypto wallet](#billing-on-arbitrum) ## Billing on Banxa From 89a627251e716007bcd005db1e2baecda4a4650a Mon Sep 17 00:00:00 2001 From: "Micmac.eth" <56690114+MichaelMacaulay@users.noreply.github.com> Date: Tue, 21 Mar 2023 09:05:36 -0400 Subject: [PATCH 4/6] Small updates & details --- website/pages/en/billing.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx index 139b24242a6e..a81f5c86b086 100644 --- a/website/pages/en/billing.mdx +++ b/website/pages/en/billing.mdx @@ -20,11 +20,12 @@ You can learn more about Banxa by reading their [documentation](https://docs.ban ### Paying for query fees with Banxa 1. Select “Pay with Card” option in [Subgraph Studio](https://thegraph.com/studio/billing/?show=Deposit). -2. Enter the amount of GRT to be added to your account balance. -3. Enter necessary banking information on Banxa including payment method & fiat currency of choice. -4. Finish the transaction. +2. Click the 'Continue with Banxa' button. +3. Enter the amount of GRT to be added to your account balance. +4. Enter necessary banking information on Banxa including payment method & fiat currency of choice. +5. Finish the transaction. -Once the transaction is confirmed, the purchased GRT will automatically be added to your account balance on Arbitrum. +It may take up to 10 minutes to complete the transaction. Once the transaction is confirmed, the purchased GRT will automatically be added to your account balance on Arbitrum. ## Billing on Arbitrum From 002cf43f4a5ebee82cf2975ef0c904d0f5a6658a Mon Sep 17 00:00:00 2001 From: Michael Macaulay <56690114+MichaelMacaulay@users.noreply.github.com> Date: Wed, 22 Mar 2023 17:15:01 -0400 Subject: [PATCH 5/6] Switching lines --- website/pages/en/billing.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx index a81f5c86b086..0baca70f75fd 100644 --- a/website/pages/en/billing.mdx +++ b/website/pages/en/billing.mdx @@ -20,8 +20,8 @@ You can learn more about Banxa by reading their [documentation](https://docs.ban ### Paying for query fees with Banxa 1. Select “Pay with Card” option in [Subgraph Studio](https://thegraph.com/studio/billing/?show=Deposit). -2. Click the 'Continue with Banxa' button. -3. Enter the amount of GRT to be added to your account balance. +2. Enter the amount of GRT to be added to your account balance. +3. Click the 'Continue with Banxa' button. 4. Enter necessary banking information on Banxa including payment method & fiat currency of choice. 5. Finish the transaction. From 4aa561c1e2b6caefb11f6185124cbb45b5ee1acf Mon Sep 17 00:00:00 2001 From: Michael Macaulay <56690114+MichaelMacaulay@users.noreply.github.com> Date: Wed, 22 Mar 2023 17:20:00 -0400 Subject: [PATCH 6/6] Billing with Banxa --- website/pages/en/billing.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/en/billing.mdx b/website/pages/en/billing.mdx index 0baca70f75fd..3c21e5de1cdc 100644 --- a/website/pages/en/billing.mdx +++ b/website/pages/en/billing.mdx @@ -6,10 +6,10 @@ title: Billing There are two options for paying for your query fees: -- [Paying with fiat currency with Banxa](#billing-on-banxa) +- [Paying with fiat currency with Banxa](#billing-with-banxa) - [Paying with crypto wallet](#billing-on-arbitrum) -## Billing on Banxa +## Billing with Banxa Banxa enables you to bypass the need for an exchange and pay for your query fees using the fiat currency of your choice. The fiat currency will be converted to GRT, added to your account balance on the billing contract, and used to pay for queries associated with your API keys.