dacty-launch 1.4.0 ā 1.4.1
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 +14 -21
- package/lib/index.mjs +14 -21
- package/package.json +1 -1
package/bin/dacty-launch.mjs
CHANGED
|
@@ -99,14 +99,16 @@ async function main() {
|
|
|
99
99
|
const initialSupply = '1000000000'; // Default supply
|
|
100
100
|
|
|
101
101
|
console.log('\nš Configuration:');
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
console.log(` Name: ${tokenName}`);
|
|
103
|
+
console.log(` Symbol: ${tokenSymbol}`);
|
|
104
|
+
console.log(` Supply: ${initialSupply}`);
|
|
105
|
+
console.log(` Agent Wallet: ${agentConfig.wallet}`);
|
|
106
|
+
console.log(` Fee Distribution: 80% Agent, 20% Clanker\n`);
|
|
107
107
|
|
|
108
|
-
// Clanker
|
|
109
|
-
|
|
108
|
+
// Clanker protocol addresses (for interface rewards)
|
|
109
|
+
// These are set by Clanker protocol, we just reference them
|
|
110
|
+
const CLANKER_INTERFACE_ADMIN = '0x0000000000000000000000000000000000000000';
|
|
111
|
+
const CLANKER_INTERFACE_RECIPIENT = '0x0000000000000000000000000000000000000000';
|
|
110
112
|
|
|
111
113
|
try {
|
|
112
114
|
console.log('š Initializing Clanker SDK...');
|
|
@@ -134,20 +136,11 @@ async function main() {
|
|
|
134
136
|
name: tokenName,
|
|
135
137
|
symbol: tokenSymbol,
|
|
136
138
|
rewards: {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
token: 'Both', // Receive fees in both tokens
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
recipient: CLANKER_WALLET,
|
|
146
|
-
admin: CLANKER_WALLET,
|
|
147
|
-
bps: 2000, // 20% to clanker protocol
|
|
148
|
-
token: 'Both',
|
|
149
|
-
},
|
|
150
|
-
],
|
|
139
|
+
creatorReward: 80, // 80% to creator (agent)
|
|
140
|
+
creatorAdmin: agentConfig.wallet,
|
|
141
|
+
creatorRewardRecipient: agentConfig.wallet,
|
|
142
|
+
interfaceAdmin: CLANKER_INTERFACE_ADMIN,
|
|
143
|
+
interfaceRewardRecipient: CLANKER_INTERFACE_RECIPIENT,
|
|
151
144
|
},
|
|
152
145
|
vanity: true, // Try to get vanity address with "b07" suffix
|
|
153
146
|
});
|
package/lib/index.mjs
CHANGED
|
@@ -99,14 +99,16 @@ async function main() {
|
|
|
99
99
|
const initialSupply = '1000000000'; // Default supply
|
|
100
100
|
|
|
101
101
|
console.log('\nš Configuration:');
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
console.log(` Name: ${tokenName}`);
|
|
103
|
+
console.log(` Symbol: ${tokenSymbol}`);
|
|
104
|
+
console.log(` Supply: ${initialSupply}`);
|
|
105
|
+
console.log(` Agent Wallet: ${agentConfig.wallet}`);
|
|
106
|
+
console.log(` Fee Distribution: 80% Agent, 20% Clanker\n`);
|
|
107
107
|
|
|
108
|
-
// Clanker
|
|
109
|
-
|
|
108
|
+
// Clanker protocol addresses (for interface rewards)
|
|
109
|
+
// These are set by Clanker protocol, we just reference them
|
|
110
|
+
const CLANKER_INTERFACE_ADMIN = '0x0000000000000000000000000000000000000000';
|
|
111
|
+
const CLANKER_INTERFACE_RECIPIENT = '0x0000000000000000000000000000000000000000';
|
|
110
112
|
|
|
111
113
|
try {
|
|
112
114
|
console.log('š Initializing Clanker SDK...');
|
|
@@ -134,20 +136,11 @@ async function main() {
|
|
|
134
136
|
name: tokenName,
|
|
135
137
|
symbol: tokenSymbol,
|
|
136
138
|
rewards: {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
token: 'Both', // Receive fees in both tokens
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
recipient: CLANKER_WALLET,
|
|
146
|
-
admin: CLANKER_WALLET,
|
|
147
|
-
bps: 2000, // 20% to clanker protocol
|
|
148
|
-
token: 'Both',
|
|
149
|
-
},
|
|
150
|
-
],
|
|
139
|
+
creatorReward: 80, // 80% to creator (agent)
|
|
140
|
+
creatorAdmin: agentConfig.wallet,
|
|
141
|
+
creatorRewardRecipient: agentConfig.wallet,
|
|
142
|
+
interfaceAdmin: CLANKER_INTERFACE_ADMIN,
|
|
143
|
+
interfaceRewardRecipient: CLANKER_INTERFACE_RECIPIENT,
|
|
151
144
|
},
|
|
152
145
|
vanity: true, // Try to get vanity address with "b07" suffix
|
|
153
146
|
});
|