dacty-launch 1.1.0 → 1.1.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/README.md +61 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dacty-launch
|
|
2
2
|
|
|
3
|
-
Launch tokens
|
|
3
|
+
Launch tokens on Base network via Clanker with a single command.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx dacty-launch
|
|
@@ -8,23 +8,26 @@ npx dacty-launch
|
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
-
- ✨ **Interactive CLI** - Simple prompts
|
|
12
|
-
- 🚀 **
|
|
13
|
-
- 💰 **Fee Distribution** - Built-in 80/20 fee split
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
- ✅ **Instant
|
|
11
|
+
- ✨ **Interactive CLI** - Simple prompts for token configuration
|
|
12
|
+
- 🚀 **Clanker Integration** - Deploy via Clanker API
|
|
13
|
+
- 💰 **Fee Distribution** - Built-in 80/20 fee split
|
|
14
|
+
- 🔐 **Private Key Signing** - Secure transaction signing
|
|
15
|
+
- 🔗 **Base Network** - Deploy to Base mainnet
|
|
16
|
+
- ✅ **Instant Trading** - Token immediately tradeable
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
|
+
Use directly with npx (recommended):
|
|
21
|
+
|
|
20
22
|
```bash
|
|
21
|
-
|
|
23
|
+
npx dacty-launch
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
Or
|
|
26
|
+
Or install globally:
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
|
-
|
|
29
|
+
npm install -g dacty-launch
|
|
30
|
+
dacty-launch
|
|
28
31
|
```
|
|
29
32
|
|
|
30
33
|
## Usage
|
|
@@ -32,7 +35,7 @@ npx dacty-launch
|
|
|
32
35
|
Run the interactive CLI:
|
|
33
36
|
|
|
34
37
|
```bash
|
|
35
|
-
dacty-launch
|
|
38
|
+
npx dacty-launch
|
|
36
39
|
```
|
|
37
40
|
|
|
38
41
|
The CLI will prompt you for:
|
|
@@ -40,40 +43,71 @@ The CLI will prompt you for:
|
|
|
40
43
|
1. **Agent DNA** - The DNA of your agent (from `npx dacty-create`)
|
|
41
44
|
2. **Token Name** - The name of your token
|
|
42
45
|
3. **Token Symbol** - The symbol (3-10 characters)
|
|
43
|
-
4. **Total Supply** - Initial token supply
|
|
44
|
-
5. **Network** - Base Mainnet or Base Sepolia (testnet)
|
|
46
|
+
4. **Total Supply** - Initial token supply (e.g., 1000000000)
|
|
45
47
|
|
|
46
48
|
## Workflow
|
|
47
49
|
|
|
48
|
-
|
|
50
|
+
Complete workflow for launching an agent with token:
|
|
49
51
|
|
|
50
52
|
```bash
|
|
51
|
-
# Step 1: Create agent
|
|
53
|
+
# Step 1: Create agent (generates wallet + private key)
|
|
52
54
|
npx dacty-create
|
|
53
55
|
|
|
54
|
-
# Step 2: Launch token
|
|
56
|
+
# Step 2: Launch token (deploys to Base via Clanker)
|
|
55
57
|
npx dacty-launch
|
|
56
58
|
|
|
57
59
|
# Your agent and token are now live!
|
|
58
60
|
```
|
|
59
61
|
|
|
62
|
+
## How It Works
|
|
63
|
+
|
|
64
|
+
1. **Loads agent configuration** from `agent.config.json`
|
|
65
|
+
2. **Reads private key** from `.env` file
|
|
66
|
+
3. **Signs transaction** with private key
|
|
67
|
+
4. **Calls Clanker API** to deploy token
|
|
68
|
+
5. **Configures fee distribution** (80/20 split)
|
|
69
|
+
6. **Returns token address** and deployment details
|
|
70
|
+
|
|
60
71
|
## Fee Distribution
|
|
61
72
|
|
|
62
|
-
All tokens launched with `dacty-launch` follow
|
|
73
|
+
All tokens launched with `dacty-launch` follow standard distribution:
|
|
74
|
+
|
|
75
|
+
- **80%** → Your Agent Wallet
|
|
76
|
+
- **20%** → Dactyclaw Protocol
|
|
63
77
|
|
|
64
|
-
|
|
65
|
-
- **20%** goes to Dactyclaw (platform maintenance and development)
|
|
78
|
+
Fees are automatically distributed from every trade on Clanker.
|
|
66
79
|
|
|
67
80
|
## Requirements
|
|
68
81
|
|
|
69
82
|
- Node.js 18+
|
|
70
|
-
- Agent
|
|
71
|
-
-
|
|
83
|
+
- Agent created with `npx dacty-create`
|
|
84
|
+
- `.env` file with private key
|
|
85
|
+
- 0.0005 ETH on Base network (for gas fees)
|
|
86
|
+
|
|
87
|
+
## Network Support
|
|
88
|
+
|
|
89
|
+
- **Base Mainnet** - Production network (recommended)
|
|
90
|
+
|
|
91
|
+
## After Launch
|
|
92
|
+
|
|
93
|
+
After token is deployed:
|
|
94
|
+
|
|
95
|
+
1. Visit [Clanker.world](https://clanker.world)
|
|
96
|
+
2. Search for your token by symbol
|
|
97
|
+
3. Monitor trading volume
|
|
98
|
+
4. Track accumulated fees
|
|
99
|
+
5. Withdraw earnings to your wallet
|
|
100
|
+
|
|
101
|
+
## Troubleshooting
|
|
102
|
+
|
|
103
|
+
### "Private key not found"
|
|
104
|
+
Make sure `.env` file exists in your agent directory with `PRIVATE_KEY` set.
|
|
72
105
|
|
|
73
|
-
|
|
106
|
+
### "Insufficient gas"
|
|
107
|
+
Ensure your wallet has at least 0.0005 ETH on Base network.
|
|
74
108
|
|
|
75
|
-
|
|
76
|
-
|
|
109
|
+
### "Transaction failed"
|
|
110
|
+
Check that your private key is correct and wallet has sufficient balance.
|
|
77
111
|
|
|
78
112
|
## License
|
|
79
113
|
|
|
@@ -81,10 +115,11 @@ MIT
|
|
|
81
115
|
|
|
82
116
|
## Support
|
|
83
117
|
|
|
84
|
-
For issues and questions
|
|
118
|
+
For issues and questions:
|
|
85
119
|
- [Dactyclaw GitHub](https://github.com/dactyclaw/dactyclaw)
|
|
86
120
|
- [Dactyclaw Documentation](https://dactyclaw.dev)
|
|
121
|
+
- [Clanker Documentation](https://clanker.gitbook.io/clanker-documentation)
|
|
87
122
|
|
|
88
123
|
## Contributing
|
|
89
124
|
|
|
90
|
-
Contributions
|
|
125
|
+
Contributions welcome! Please submit a Pull Request.
|