File tree 1 file changed +5
-3
lines changed
packages/plugin-solana-agentkit/src/actions
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -112,19 +112,21 @@ export default {
112
112
openAIKey
113
113
) ;
114
114
try {
115
- const deployedAddress = solanaAgentKit . deployToken (
115
+ const deployedAddress = await solanaAgentKit . deployToken (
116
116
content . name ,
117
117
content . uri ,
118
118
content . symbol ,
119
- content . decimals ,
120
- content . initialSupply
119
+ content . decimals
120
+ // content.initialSupply comment out this cause the sdk has some issue with this parameter
121
121
) ;
122
122
elizaLogger . log ( "Create successful: " , deployedAddress ) ;
123
+ elizaLogger . log ( deployedAddress ) ;
123
124
if ( callback ) {
124
125
callback ( {
125
126
text : `Successfully create token ${ content . name } ` ,
126
127
content : {
127
128
success : true ,
129
+ deployedAddress,
128
130
} ,
129
131
} ) ;
130
132
}
You can’t perform that action at this time.
0 commit comments