dactyclaw 1.3.3 → 1.3.4
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/bin/dacty-create.js +1 -1
- package/bin/dacty-launch.js +9 -9
- package/err.txt +0 -0
- package/package.json +1 -1
- package/test_launch.txt +0 -0
- package/test_launch2.txt +0 -0
- package/test_launch_zero.txt +0 -0
package/bin/dacty-create.js
CHANGED
|
@@ -39,7 +39,7 @@ program
|
|
|
39
39
|
console.log(`\n⚠️ Private key saved to .env (DO NOT COMMIT THIS FILE)`);
|
|
40
40
|
console.log(`📄 Agent config saved to agent.json`);
|
|
41
41
|
console.log(`\n💳 FUNDING REQUIRED:`);
|
|
42
|
-
console.log(` Please send at least 0.
|
|
42
|
+
console.log(` Please send at least 0.001 ETH (Base) to the Agent Wallet:`);
|
|
43
43
|
console.log(` ${wallet.address}`);
|
|
44
44
|
console.log(`\nNext step: Run 'npx dacty-launch' to auto-deploy token on Base`);
|
|
45
45
|
});
|
package/bin/dacty-launch.js
CHANGED
|
@@ -55,21 +55,21 @@ program
|
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
process.stdout.write(`💰 Checking balance for ${account.address}... `);
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
let balanceWei = await publicClient.getBalance({ address: wallet.account.address });
|
|
59
|
+
let balanceEth = formatEther(balanceWei);
|
|
60
60
|
console.log(`${Number(balanceEth).toFixed(5)} ETH`);
|
|
61
61
|
|
|
62
|
-
const MIN_BALANCE = 0.
|
|
62
|
+
const MIN_BALANCE = 0.001; // Require 0.001 ETH minimum for normal Deploy LP (v4 gas requirement)
|
|
63
63
|
|
|
64
64
|
if (Number(balanceEth) < MIN_BALANCE) {
|
|
65
65
|
console.error(`\n❌ Error: Insufficient funds for deployment.`);
|
|
66
|
-
console.error(`
|
|
67
|
-
console.error(`
|
|
68
|
-
console.error(
|
|
69
|
-
|
|
66
|
+
console.error(` The Clanker Token Factory via Base Network requires Gas Fees (Est. >0.0006 ETH).`);
|
|
67
|
+
console.error(` Please Top-up your Agent Wallet at least ${MIN_BALANCE} ETH:`);
|
|
68
|
+
console.error(` ${wallet.address}`);
|
|
69
|
+
process.exit(1);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
console.log(
|
|
72
|
+
console.log(`✅ Funds verified. Agent DNA secure enclave connected. Initiating on-chain deployment protocol...`);
|
|
73
73
|
|
|
74
74
|
console.log(`[1/3] Compiling token parameters for Clanker Factory...`);
|
|
75
75
|
|
|
@@ -102,7 +102,7 @@ program
|
|
|
102
102
|
vault: { percentage: 0, lockupDuration: 604800 }
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
// Execute
|
|
105
|
+
// Execute Standard normal V4 deployment
|
|
106
106
|
console.log(`[2/3] Calling SDK deploy... (This will spend Base ETH gas)`);
|
|
107
107
|
const deployResult = await clanker.deploy(tokenConfig);
|
|
108
108
|
|
package/err.txt
ADDED
|
Binary file
|
package/package.json
CHANGED
package/test_launch.txt
ADDED
|
Binary file
|
package/test_launch2.txt
ADDED
|
Binary file
|
|
Binary file
|