Skip to content

Commit

Permalink
Merge pull request #89 from OffchainLabs/l1-confirmation-checker
Browse files Browse the repository at this point in the history
Make commands simpler
  • Loading branch information
mahsamoosavi authored Jan 12, 2023
2 parents 61a0814 + f7be231 commit 8b5713b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/l1-confirmation-checker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ See [./exec.js](./scripts/exec.js) for inline explanations.

Check if tx recorded in L1 or not:
```
yarn ts-node scripts/exec.ts --action checkConfirmation --txHash {YOUR_TX_HASH}
yarn checkConfirmation --txHash {YOUR_TX_HASH}
```
Get submissiontx by a given L2 transaction status:
```
yarn ts-node scripts/exec.ts --action findSubmissionTx --txHash {YOUR_TX_HASH}
yarn findSubmissionTx --txHash {YOUR_TX_HASH}
```

## Config Environment Variables
Expand Down
4 changes: 3 additions & 1 deletion packages/l1-confirmation-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"checkConfirmation": "yarn ts-node scripts/exec.ts --action checkConfirmation",
"findSubmissionTx": "yarn ts-node scripts/exec.ts --action findSubmissionTx"
},
"dependencies": {
"@arbitrum/sdk": "^v3.0.0",
Expand Down

0 comments on commit 8b5713b

Please sign in to comment.