@blockrun/clawrouter 0.12.16 → 0.12.17
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 +8 -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/cli.js
CHANGED
|
@@ -3688,7 +3688,14 @@ async function generateAndSaveWallet() {
|
|
|
3688
3688
|
const existingMnemonic = await loadMnemonic();
|
|
3689
3689
|
if (existingMnemonic) {
|
|
3690
3690
|
throw new Error(
|
|
3691
|
-
`Mnemonic file exists at ${MNEMONIC_FILE} but wallet.key is missing.
|
|
3691
|
+
`Mnemonic file exists at ${MNEMONIC_FILE} but wallet.key is missing.
|
|
3692
|
+
Refusing to generate a new wallet to protect existing funds.
|
|
3693
|
+
|
|
3694
|
+
Restore your EVM private key using one of:
|
|
3695
|
+
Windows: set BLOCKRUN_WALLET_KEY=0x<your_key>
|
|
3696
|
+
Mac/Linux: export BLOCKRUN_WALLET_KEY=0x<your_key>
|
|
3697
|
+
|
|
3698
|
+
Then run: npx @blockrun/clawrouter`
|
|
3692
3699
|
);
|
|
3693
3700
|
}
|
|
3694
3701
|
const mnemonic = generateWalletMnemonic();
|