Skip to content

feat: create many concurrent requests #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ npm run create
npm run pay
npm run declare
npm run delegate
npm run create-many
```
149 changes: 148 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@
"pay": "node src/payRequest.js",
"declare": "node src/declarePaymentSentAndReceived.js",
"delegate": "node src/delegateDeclarePaymentSentAndReceived.js",
"hinkal-deposit": "node src/depositToHinkalShieldedAddress.js"
"hinkal-deposit": "node src/depositToHinkalShieldedAddress.js",
"create-many": "node src/createManyConcurrentRequests.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"@requestnetwork/epk-signature": "0.9.5",
"@requestnetwork/payment-processor": "0.52.0",
"@requestnetwork/request-client.js": "0.54.0",
"cli-progress": "^3.12.0",
"dotenv": "16.3.1",
"ethers": "5.7.2"
"ethers": "5.7.2",
"p-limit": "^6.2.0"
},
"devDependencies": {
"husky": "8.0.3",
Expand Down
Loading