@blockrun/clawrouter 0.12.16 → 0.12.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +54 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4149,7 +4149,14 @@ async function generateAndSaveWallet() {
|
|
|
4149
4149
|
const existingMnemonic = await loadMnemonic();
|
|
4150
4150
|
if (existingMnemonic) {
|
|
4151
4151
|
throw new Error(
|
|
4152
|
-
`Mnemonic file exists at ${MNEMONIC_FILE} but wallet.key is missing.
|
|
4152
|
+
`Mnemonic file exists at ${MNEMONIC_FILE} but wallet.key is missing.
|
|
4153
|
+
Refusing to generate a new wallet to protect existing funds.
|
|
4154
|
+
|
|
4155
|
+
Restore your EVM private key using one of:
|
|
4156
|
+
Windows: set BLOCKRUN_WALLET_KEY=0x<your_key>
|
|
4157
|
+
Mac/Linux: export BLOCKRUN_WALLET_KEY=0x<your_key>
|
|
4158
|
+
|
|
4159
|
+
Then run: npx @blockrun/clawrouter`
|
|
4153
4160
|
);
|
|
4154
4161
|
}
|
|
4155
4162
|
const mnemonic = generateWalletMnemonic();
|