dacty-launch 1.1.4 → 1.1.6

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.
@@ -5,7 +5,8 @@ import path from 'path';
5
5
  import { fileURLToPath } from 'url';
6
6
  import readline from 'readline';
7
7
  import { Clanker } from 'clanker-sdk/v4';
8
- import { createWalletClient, createPublicClient, privateKeyToAccount, http } from 'viem';
8
+ import { createWalletClient, createPublicClient, http } from 'viem';
9
+ import { privateKeyToAccount } from 'viem/accounts';
9
10
  import { base } from 'viem/chains';
10
11
 
11
12
  const __filename = fileURLToPath(import.meta.url);
@@ -64,7 +65,7 @@ async function main() {
64
65
  // Get token details from user
65
66
  const tokenName = await question('Token Name: ');
66
67
  const tokenSymbol = await question('Token Symbol: ');
67
- const initialSupply = await question('Initial Supply (default: 1000000000): ') || '1000000000';
68
+ const initialSupply = '1000000000'; // Default supply
68
69
 
69
70
  console.log('\nšŸ“‹ Configuration:');
70
71
  console.log(` Name: ${tokenName}`);
package/lib/index.mjs CHANGED
@@ -5,7 +5,8 @@ import path from 'path';
5
5
  import { fileURLToPath } from 'url';
6
6
  import readline from 'readline';
7
7
  import { Clanker } from 'clanker-sdk/v4';
8
- import { createWalletClient, createPublicClient, privateKeyToAccount, http } from 'viem';
8
+ import { createWalletClient, createPublicClient, http } from 'viem';
9
+ import { privateKeyToAccount } from 'viem/accounts';
9
10
  import { base } from 'viem/chains';
10
11
 
11
12
  const __filename = fileURLToPath(import.meta.url);
@@ -64,7 +65,7 @@ async function main() {
64
65
  // Get token details from user
65
66
  const tokenName = await question('Token Name: ');
66
67
  const tokenSymbol = await question('Token Symbol: ');
67
- const initialSupply = await question('Initial Supply (default: 1000000000): ') || '1000000000';
68
+ const initialSupply = '1000000000'; // Default supply
68
69
 
69
70
  console.log('\nšŸ“‹ Configuration:');
70
71
  console.log(` Name: ${tokenName}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dacty-launch",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Launch tokens for agents in the Dactyclaw ecosystem",
5
5
  "type": "module",
6
6
  "bin": {