@blockrun/clawrouter 0.12.20 → 0.12.21
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 +20 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6078,9 +6078,9 @@ async function startProxy(options) {
|
|
|
6078
6078
|
const paymentChain = options.paymentChain ?? await resolvePaymentChain();
|
|
6079
6079
|
const apiBase = options.apiBase ?? (paymentChain === "solana" && solanaPrivateKeyBytes ? BLOCKRUN_SOLANA_API : BLOCKRUN_API);
|
|
6080
6080
|
if (paymentChain === "solana" && !solanaPrivateKeyBytes) {
|
|
6081
|
-
console.warn(
|
|
6082
|
-
|
|
6083
|
-
);
|
|
6081
|
+
console.warn(`[ClawRouter] \u26A0 Payment chain is Solana but no mnemonic found \u2014 falling back to Base (EVM).`);
|
|
6082
|
+
console.warn(`[ClawRouter] To fix: run "npx @blockrun/clawrouter wallet recover" if your mnemonic exists,`);
|
|
6083
|
+
console.warn(`[ClawRouter] or run "npx @blockrun/clawrouter chain base" to switch to EVM.`);
|
|
6084
6084
|
} else if (paymentChain === "solana") {
|
|
6085
6085
|
console.log(`[ClawRouter] Payment chain: Solana (${BLOCKRUN_SOLANA_API})`);
|
|
6086
6086
|
}
|