File tree 3 files changed +7
-2
lines changed
packages/plugin-injective/src/action
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 58
58
"@elizaos/plugin-nft-generation" : " workspace:*" ,
59
59
"@elizaos/plugin-node" : " workspace:*" ,
60
60
"@elizaos/plugin-solana" : " workspace:*" ,
61
+ "@lideralia/plugin-injective" : " workspace:*" ,
61
62
"@elizaos/plugin-solana-agentkit" : " workspace:*" ,
62
63
"@elizaos/plugin-autonome" : " workspace:*" ,
63
64
"@elizaos/plugin-starknet" : " workspace:*" ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ import { teeLogPlugin } from "@elizaos/plugin-tee-log";
83
83
import { teeMarlinPlugin } from "@elizaos/plugin-tee-marlin" ;
84
84
import { tonPlugin } from "@elizaos/plugin-ton" ;
85
85
import { webSearchPlugin } from "@elizaos/plugin-web-search" ;
86
-
86
+ import { injectivePlugin } from "@elizaos/plugin-injective" ;
87
87
import { giphyPlugin } from "@elizaos/plugin-giphy" ;
88
88
import { letzAIPlugin } from "@elizaos/plugin-letzai" ;
89
89
import { thirdwebPlugin } from "@elizaos/plugin-thirdweb" ;
@@ -759,6 +759,10 @@ export async function createAgent(
759
759
getSecret ( character , "WALLET_PUBLIC_KEY" ) ?. startsWith ( "0x" ) )
760
760
? evmPlugin
761
761
: null ,
762
+ getSecret ( character , "EVM_PUBLIC_KEY" ) &&
763
+ getSecret ( character , "INJECTIVE_PRIVATE_KEY" )
764
+ ? injectivePlugin
765
+ : null ,
762
766
getSecret ( character , "COSMOS_RECOVERY_PHRASE" ) &&
763
767
getSecret ( character , "COSMOS_AVAILABLE_CHAINS" ) &&
764
768
createCosmosPlugin ( ) ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export function createGenericAction({
99
99
try {
100
100
const rawNetwork = runtime . getSetting ( "INJECTIVE_NETWORK" ) ;
101
101
const privateKey = runtime . getSetting ( "INJECTIVE_PRIVATE_KEY" ) ;
102
- const publicKey = runtime . getSetting ( "ETHEREUM_PUBLIC_KEY " ) ;
102
+ const publicKey = runtime . getSetting ( "EVM_PUBLIC_KEY " ) ;
103
103
const network = rawNetwork as
104
104
| "MainnetK8s"
105
105
| "MainnetLB"
You can’t perform that action at this time.
0 commit comments