From cefcc8c82f624da33675d0b43f4c13422ad5ff65 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:13:50 +0300
Subject: [PATCH 1/8] fix javascript-sdk.mdx
---
pages/advanced-api/javascript-sdk.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/advanced-api/javascript-sdk.mdx b/pages/advanced-api/javascript-sdk.mdx
index 8f0dabe9a..8716f3d67 100644
--- a/pages/advanced-api/javascript-sdk.mdx
+++ b/pages/advanced-api/javascript-sdk.mdx
@@ -1,6 +1,6 @@
# Ankr.js SDK
-_Ankr.js SDK_ contains a compact JavaScript library to enable you interact with [Advanced API](/advanced-api/overview/).
+_Ankr.js SDK_ contains a compact JavaScript library to enable you to interact with [Advanced API](/advanced-api/overview/).
## Get started
From 1f174f83d2e6f05a887bc7c77df075f42a76be41 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:16:09 +0300
Subject: [PATCH 2/8] fix token-api.mdx
---
pages/advanced-api/token-api.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/advanced-api/token-api.mdx b/pages/advanced-api/token-api.mdx
index 99b4064d4..06ee55d03 100644
--- a/pages/advanced-api/token-api.mdx
+++ b/pages/advanced-api/token-api.mdx
@@ -3,7 +3,7 @@ import { Callout } from "components";
## Who Can Spend Your Tokens?
-Interacting with DeFi apps, we usually approve token allowances to enable the dApp making transactions on our behalf. It's easy to forget about those allowances and the spending limits involved.
+Interacting with DeFi apps, we usually approve token allowances to enable the dApp to make transactions on our behalf. It's easy to forget about those allowances and the spending limits involved.
Later on it can mean that an exploited project's contract has unlimited access to the tokens in your wallet. And malicious actors can spend those tokens even if you have withdrawn your funds from the smart contract back into your wallet.
From 176ad26a9e422fb9ae6837485e89641338341952 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:17:12 +0300
Subject: [PATCH 3/8] fix
donation-based-crowdfunding-dapp-on-polygon-with-ankr.mdx
---
.../donation-based-crowdfunding-dapp-on-polygon-with-ankr.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/advanced-tutorials/donation-based-crowdfunding-dapp-on-polygon-with-ankr.mdx b/pages/advanced-tutorials/donation-based-crowdfunding-dapp-on-polygon-with-ankr.mdx
index ab5be052f..497fd09d5 100644
--- a/pages/advanced-tutorials/donation-based-crowdfunding-dapp-on-polygon-with-ankr.mdx
+++ b/pages/advanced-tutorials/donation-based-crowdfunding-dapp-on-polygon-with-ankr.mdx
@@ -172,7 +172,7 @@ contract CrowdfundingProject {
string public projDescription;
uint256 public goalAmount;
uint256 public raisedAmount;
- address ownerWallet; //address where amount to be transfered
+ address ownerWallet; //address where amount to be transferred
event Funded(
address indexed donar,
From b1529c6d2634fdc46148ea6f20366e9fa3d5bcc2 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:17:30 +0300
Subject: [PATCH 4/8] fix create-compatible-contracts.mdx
---
pages/automation/create-compatible-contracts.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/automation/create-compatible-contracts.mdx b/pages/automation/create-compatible-contracts.mdx
index 3f3af7bd3..bbe26dfd6 100644
--- a/pages/automation/create-compatible-contracts.mdx
+++ b/pages/automation/create-compatible-contracts.mdx
@@ -6,7 +6,7 @@ Contract that are compatible with the `IAutomateCompatible` Ankr interface allow
A compatible contract contains:
1. A checker, that repeatedly checks on an event.
-2. A follow-up executor, that contains the custom logic and executes it when the checker returnss `true`.
+2. A follow-up executor, that contains the custom logic and executes it when the checker returns `true`.
## `IAutomateCompatible` interface
The interface contains a checker `checkTask()` and an executor with the custom logic `performTask()`.
From 8757a228831b707ad053aa435439613cc846fdf4 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:17:45 +0300
Subject: [PATCH 5/8] fix custom-logic-automation.mdx
---
pages/automation/custom-logic-automation.mdx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/automation/custom-logic-automation.mdx b/pages/automation/custom-logic-automation.mdx
index e1b200f54..7d9c70b9e 100644
--- a/pages/automation/custom-logic-automation.mdx
+++ b/pages/automation/custom-logic-automation.mdx
@@ -12,7 +12,7 @@ To create a custom logic automation task, you need to:
## Connect a wallet
-We recommend MetaMask as a most adopted and tested-out wallet and use it throughout our documentation.
+We recommend MetaMask as the most adopted and tested-out wallet and use it throughout our documentation.
To connect a wallet:
@@ -52,4 +52,4 @@ To create a time-based Task:
* [Automation overview](/automation/overview/)
* [Time-based automation](/automation/time-based-automation/)
* [Manage automation tasks](/automation/manage-tasks)
-* [Create compatible contracts](/automation/create-compatible-contracts/)
\ No newline at end of file
+* [Create compatible contracts](/automation/create-compatible-contracts/)
From d431e5178a9a3fd99374bcf229f46fdf7fe1c8c9 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:17:58 +0300
Subject: [PATCH 6/8] fix manage-tasks.mdx
---
pages/automation/manage-tasks.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/automation/manage-tasks.mdx b/pages/automation/manage-tasks.mdx
index 5168e7749..341def2f9 100644
--- a/pages/automation/manage-tasks.mdx
+++ b/pages/automation/manage-tasks.mdx
@@ -5,7 +5,7 @@ import { Callout } from "components";
## Fund Tasks
Don't forget to fund your Ankr Automation account so your Tasks can keep running.
-Remember that actions that write to blockchain and not only read information from need a gas fee to execute.
+Remember that actions that write to blockchain and not only read information from needing a gas fee to execute.
To add funds:
From c2a4bc6b1dace4cd19f9e7a29722c6bb8686d20f Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:18:20 +0300
Subject: [PATCH 7/8] fix time-based-automation.mdx
---
pages/automation/time-based-automation.mdx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/automation/time-based-automation.mdx b/pages/automation/time-based-automation.mdx
index 658511979..2491e7ba7 100644
--- a/pages/automation/time-based-automation.mdx
+++ b/pages/automation/time-based-automation.mdx
@@ -11,7 +11,7 @@ To create a time-based automation task, you need to:
## Connect a wallet
-We recommend MetaMask as a most adopted and tested-out wallet and use it throughout our documentation.
+We recommend MetaMask as the most adopted and tested-out wallet and use it throughout our documentation.
To connect a wallet:
@@ -53,4 +53,4 @@ To create a time-based Task:
* [Automation overview](/automation/overview/)
* [Custom logic automation](/automation/custom-logic-automation/)
* [Manage automation tasks](/automation/manage-tasks)
-* [Create compatible contracts](/automation/create-compatible-contracts/)
\ No newline at end of file
+* [Create compatible contracts](/automation/create-compatible-contracts/)
From 15409d00fb627d678bf7a24bdd3144d8187efff5 Mon Sep 17 00:00:00 2001
From: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Date: Tue, 25 Jun 2024 16:19:14 +0300
Subject: [PATCH 8/8] fix backend-nodejs-ipfs-file-uploader-with-filebase.mdx
---
.../backend-nodejs-ipfs-file-uploader-with-filebase.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/basic-tutorials/backend-nodejs-ipfs-file-uploader-with-filebase.mdx b/pages/basic-tutorials/backend-nodejs-ipfs-file-uploader-with-filebase.mdx
index 30012b1bd..87017bf56 100644
--- a/pages/basic-tutorials/backend-nodejs-ipfs-file-uploader-with-filebase.mdx
+++ b/pages/basic-tutorials/backend-nodejs-ipfs-file-uploader-with-filebase.mdx
@@ -429,7 +429,7 @@ FILEBASE_REGION=us-east-1
FILE_SERVER_URL=http://localhost:5002
```
-What we want to do is create a way so that when we’re running in `development` mode that the files upload to our local `bucket` folder, but when we’re in production mode, the files upload to IPFS with Filebase. To do this, we’re going to take advantage of our `NODE_ENV` and modify our `upload` middleware to use a different multer configuration when the `NODE_ENV` is set to production. More specifically, we’ll be using an extension of `multer` called `multer-s3` that handles requests regularly to AWS S3 but because Filebase is an AWS S3 compatible service, we’ll just configure it to point to Filebase.
+What we want to do is create a way so that when we’re running in `development` mode the files upload to our local `bucket` folder, but when we’re in production mode, the files upload to IPFS with Filebase. To do this, we’re going to take advantage of our `NODE_ENV` and modify our `upload` middleware to use a different multer configuration when the `NODE_ENV` is set to production. More specifically, we’ll be using an extension of `multer` called `multer-s3` that handles requests regularly to AWS S3 but because Filebase is an AWS S3 compatible service, we’ll just configure it to point to Filebase.
File: `./src/app.ts`