From de823d4477caee250c210ba32b5b0f52d1033110 Mon Sep 17 00:00:00 2001 From: Daniel Helm Date: Thu, 5 Sep 2024 18:56:38 -0500 Subject: [PATCH] 0.0.8 --- README.md | 58 +++++++++++++++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 43 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 2b899ce..b9e2586 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ $ npm install -g scroll-sdk-cli $ scrollsdk COMMAND running command... $ scrollsdk (--version) -scroll-sdk-cli/0.0.7 linux-x64 node-v20.11.0 +scroll-sdk-cli/0.0.8 linux-x64 node-v20.11.0 $ scrollsdk --help [COMMAND] USAGE $ scrollsdk COMMAND @@ -31,6 +31,7 @@ USAGE * [`scrollsdk help [COMMAND]`](#scrollsdk-help-command) * [`scrollsdk helper activity`](#scrollsdk-helper-activity) +* [`scrollsdk helper clear-accounts`](#scrollsdk-helper-clear-accounts) * [`scrollsdk helper derive-enode NODEKEY`](#scrollsdk-helper-derive-enode-nodekey) * [`scrollsdk helper fund-accounts`](#scrollsdk-helper-fund-accounts) * [`scrollsdk plugins`](#scrollsdk-plugins) @@ -98,7 +99,32 @@ DESCRIPTION Generate transactions on the specified network(s) to produce more blocks ``` -_See code: [src/commands/helper/activity.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/helper/activity.ts)_ +_See code: [src/commands/helper/activity.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/helper/activity.ts)_ + +## `scrollsdk helper clear-accounts` + +Clear pending transactions and optionally transfer remaining funds on Layer 2 + +``` +USAGE + $ scrollsdk helper clear-accounts [-k ] [-m ] [-a ] [-x ] [-r ] [-c ] [-p] + [-d] + +FLAGS + -a, --accounts= [default: 10] Number of accounts to generate from mnemonic + -c, --config= [default: ./config.toml] Path to config.toml file + -d, --debug Run in debug mode + -k, --privateKey= Private key to clear pending transactions + -m, --mnemonic= Mnemonic to generate wallets + -p, --pod Run in pod mode + -r, --rpc= Layer 2 RPC URL + -x, --recipient= Recipient address for remaining funds + +DESCRIPTION + Clear pending transactions and optionally transfer remaining funds on Layer 2 +``` + +_See code: [src/commands/helper/clear-accounts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/helper/clear-accounts.ts)_ ## `scrollsdk helper derive-enode NODEKEY` @@ -118,7 +144,7 @@ EXAMPLES $ scrollsdk helper derive-enode 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef ``` -_See code: [src/commands/helper/derive-enode.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/helper/derive-enode.ts)_ +_See code: [src/commands/helper/derive-enode.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/helper/derive-enode.ts)_ ## `scrollsdk helper fund-accounts` @@ -148,7 +174,7 @@ DESCRIPTION Fund L1 and L2 accounts for contracts ``` -_See code: [src/commands/helper/fund-accounts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/helper/fund-accounts.ts)_ +_See code: [src/commands/helper/fund-accounts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/helper/fund-accounts.ts)_ ## `scrollsdk plugins` @@ -454,7 +480,7 @@ EXAMPLES $ scrollsdk setup configs ``` -_See code: [src/commands/setup/configs.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/configs.ts)_ +_See code: [src/commands/setup/configs.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/configs.ts)_ ## `scrollsdk setup db-init` @@ -485,7 +511,7 @@ EXAMPLES $ scrollsdk setup db-init --update-db-port=25061 ``` -_See code: [src/commands/setup/db-init.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/db-init.ts)_ +_See code: [src/commands/setup/db-init.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/db-init.ts)_ ## `scrollsdk setup domains [FILE]` @@ -509,7 +535,7 @@ EXAMPLES $ scrollsdk setup domains ``` -_See code: [src/commands/setup/domains.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/domains.ts)_ +_See code: [src/commands/setup/domains.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/domains.ts)_ ## `scrollsdk setup gas-token` @@ -526,7 +552,7 @@ EXAMPLES $ scrollsdk setup gas-token ``` -_See code: [src/commands/setup/gas-token.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/gas-token.ts)_ +_See code: [src/commands/setup/gas-token.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/gas-token.ts)_ ## `scrollsdk setup gen-keystore` @@ -548,7 +574,7 @@ EXAMPLES $ scrollsdk setup gen-keystore --no-accounts ``` -_See code: [src/commands/setup/gen-keystore.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/gen-keystore.ts)_ +_See code: [src/commands/setup/gen-keystore.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/gen-keystore.ts)_ ## `scrollsdk setup prep-charts` @@ -574,7 +600,7 @@ EXAMPLES $ scrollsdk setup prep-charts --no-pull ``` -_See code: [src/commands/setup/prep-charts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/prep-charts.ts)_ +_See code: [src/commands/setup/prep-charts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/prep-charts.ts)_ ## `scrollsdk setup push-secrets` @@ -596,7 +622,7 @@ EXAMPLES $ scrollsdk setup push-secrets --debug ``` -_See code: [src/commands/setup/push-secrets.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/push-secrets.ts)_ +_See code: [src/commands/setup/push-secrets.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/push-secrets.ts)_ ## `scrollsdk setup tls` @@ -618,7 +644,7 @@ EXAMPLES $ scrollsdk setup tls --debug ``` -_See code: [src/commands/setup/tls.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/setup/tls.ts)_ +_See code: [src/commands/setup/tls.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/setup/tls.ts)_ ## `scrollsdk test contracts` @@ -637,7 +663,7 @@ DESCRIPTION Test contracts by checking deployment and initialization ``` -_See code: [src/commands/test/contracts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/test/contracts.ts)_ +_See code: [src/commands/test/contracts.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/test/contracts.ts)_ ## `scrollsdk test dependencies` @@ -654,7 +680,7 @@ DESCRIPTION Check for required dependencies ``` -_See code: [src/commands/test/dependencies.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/test/dependencies.ts)_ +_See code: [src/commands/test/dependencies.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/test/dependencies.ts)_ ## `scrollsdk test e2e` @@ -677,7 +703,7 @@ DESCRIPTION Test contracts by checking deployment and initialization ``` -_See code: [src/commands/test/e2e.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/test/e2e.ts)_ +_See code: [src/commands/test/e2e.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/test/e2e.ts)_ ## `scrollsdk test ingress` @@ -696,5 +722,5 @@ DESCRIPTION Check for required ingress hosts and validate frontend URLs ``` -_See code: [src/commands/test/ingress.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.7/src/commands/test/ingress.ts)_ +_See code: [src/commands/test/ingress.ts](https://github.com/scroll-tech/scroll-sdk-cli/blob/v0.0.8/src/commands/test/ingress.ts)_ diff --git a/package.json b/package.json index fc75818..86c7faa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "scroll-sdk-cli", "description": "A tool for managing and testing Scroll SDK deployments", - "version": "0.0.7", + "version": "0.0.8", "author": "Daniel Helm", "bin": { "scrollsdk": "bin/run.js"