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.
- package/bin/dacty-launch.mjs +3 -2
- package/lib/index.mjs +3 -2
- package/package.json +1 -1
package/bin/dacty-launch.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,
|
|
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 =
|
|
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,
|
|
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 =
|
|
68
|
+
const initialSupply = '1000000000'; // Default supply
|
|
68
69
|
|
|
69
70
|
console.log('\nš Configuration:');
|
|
70
71
|
console.log(` Name: ${tokenName}`);
|