-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public Solana Wallet Not Found! #1780
Comments
Hello @CryptoGatsu! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor! |
SOLANA_PUBLIC_KEY or WALLET_PUBLIC_KEY
did you define SOLANA_PUBLIC_KEY or WALLET_PUBLIC_KEY in the env ? |
yes i did. in .env and also in character settings
…On Fri, Jan 3, 2025 at 3:08 PM AIFlow_ML ***@***.***> wrote:
SOLANA_PUBLIC_KEY or WALLET_PUBLIC_KEY
An error occurs at random times when the Agent tries to scan tokens for
reccomendations.
Hard to reproduce as it allows wallet interaction for swapping tokens, but
not for scanning
im expecting it to simply scan the token for trust and such, and respond
if its a good buy or not.
[image: image]
<https://private-user-images.githubusercontent.com/84987972/400087015-14f14666-aa2b-4e8e-b186-9cd889a35d7d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzU5NDU5MjcsIm5iZiI6MTczNTk0NTYyNywicGF0aCI6Ii84NDk4Nzk3Mi80MDAwODcwMTUtMTRmMTQ2NjYtYWEyYi00ZThlLWIxODYtOWNkODg5YTM1ZDdkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTAzVDIzMDcwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1YmQ5MmVlMTBiNzQ1OWI0YWY0Y2NiMWE4NDcxMTNjMTA5NDU5NzE3Y2YyNGM2NWU2NTE0MjQyYmIzY2U0NWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5nKwLJAU4RE6OFX98dQ2pr9g_rUJt4c6HB4WD7hUJhA>
I have put my public key in .env and in secrets character file. it still
gives the error
This is the code of the error
recommendations [ { recommender: '6e60c', ticker: 'GATSU',
contractAddress: null, type: 'buy', conviction: 'high', alreadyKnown: false
}, { recommender: '6e60c', ticker: 'GOAT', contractAddress:
'CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump', type: 'buy', conviction:
'medium', alreadyKnown: false } ] Cache miss for fetchPortfolioValue Cache
miss for fetchPrices Fetching DexScreener data for symbol: GATSU Settings
object: undefined ◎ LOGS Creating Memory
{"recommender":"6e60c","ticker":"GATSU","contractAddress":"CYB7W8qWvRcVoYnZKRcvKqzziT6ndT771hBs342jpump","type":"buy","conviction":"high","alreadyKnown":false}
recommendationsManager { recommender: '6e60c', ticker: 'GATSU',
contractAddress: 'CYB7W8qWvRcVoYnZKRcvKqzziT6ndT771hBs342jpump', type:
'buy', conviction: 'high', alreadyKnown: false } Returning cached
DexScreener data. Returning cached prices. ⛔ ERRORS ❌ Error handling
message: {}
⛔ ERRORS Error sending message: {}
file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:55
throw new Error("Public key not found in settings. Ensure SOLANA_PUBLIC_KEY
or WALLET_PUBLIC_KEY is defined."); ^
Error: Public key not found in settings. Ensure SOLANA_PUBLIC_KEY or
WALLET_PUBLIC_KEY is defined. at getWalletKey
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:55:19)
at SimulationSellingService.initializeWalletProvider
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:1332:37)
at new SimulationSellingService
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:1237:14)
at new TrustScoreManager
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:1583:41)
at Object.handler
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:2128:35)
at process.processTicksAndRejections
(node:internal/process/task_queues:105:5) at async AgentRuntime.evaluate
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/core/dist/index.js:3860:17)
at async MessageManager.handleMessage
(file:///Users/tylerlloyd/Desktop/eliza-main/packages/client-telegram/dist/index.js:735:13)
at async
file:///Users/tylerlloyd/Desktop/eliza-main/packages/client-telegram/dist/index.js:867:17
at async execute
(/Users/tylerlloyd/Desktop/eliza-main/node_modules/telegraf/lib/composer.js:518:17)
Node.js v23.3.0 /Users/tylerlloyd/Desktop/eliza-main/agent:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @***@***.*** start: node
--loader ts-node/esm src/index.ts "--isRoot"
"--character=characters/gatsu.character.json" Exit status 1 ELIFECYCLE
Command failed with exit code 1.
did you define SOLANA_PUBLIC_KEY or WALLET_PUBLIC_KEY in the env ?
—
Reply to this email directly, view it on GitHub
<#1780 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUINARBONPDPZTK6F7WG2T32I4J5ZAVCNFSM6AAAAABUSN25E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRZHEYTQOJTGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
can you share your .env file? Omit (leave out) any private keys |
An error occurs at random times when the Agent tries to scan tokens for reccomendations.
Hard to reproduce as it allows wallet interaction for swapping tokens, but not for scanning
im expecting it to simply scan the token for trust and such, and respond if its a good buy or not.
I have put my public key in .env and in secrets character file. it still gives the error
This is the code of the error
recommendations [
{
recommender: '6e60c',
ticker: 'GATSU',
contractAddress: null,
type: 'buy',
conviction: 'high',
alreadyKnown: false
},
{
recommender: '6e60c',
ticker: 'GOAT',
contractAddress: 'CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump',
type: 'buy',
conviction: 'medium',
alreadyKnown: false
}
]
Cache miss for fetchPortfolioValue
Cache miss for fetchPrices
Fetching DexScreener data for symbol: GATSU
Settings object: undefined
◎ LOGS
Creating Memory
{"recommender":"6e60c","ticker":"GATSU","contractAddress":"CYB7W8qWvRcVoYnZKRcvKqzziT6ndT771hBs342jpump","type":"buy","conviction":"high","alreadyKnown":false}
recommendationsManager {
recommender: '6e60c',
ticker: 'GATSU',
contractAddress: 'CYB7W8qWvRcVoYnZKRcvKqzziT6ndT771hBs342jpump',
type: 'buy',
conviction: 'high',
alreadyKnown: false
}
Returning cached DexScreener data.
Returning cached prices.
⛔ ERRORS
❌ Error handling message:
{}
⛔ ERRORS
Error sending message:
{}
file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:55
throw new Error("Public key not found in settings. Ensure SOLANA_PUBLIC_KEY or WALLET_PUBLIC_KEY is defined.");
^
Error: Public key not found in settings. Ensure SOLANA_PUBLIC_KEY or WALLET_PUBLIC_KEY is defined.
at getWalletKey (file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:55:19)
at SimulationSellingService.initializeWalletProvider (file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:1332:37)
at new SimulationSellingService (file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:1237:14)
at new TrustScoreManager (file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:1583:41)
at Object.handler (file:///Users/tylerlloyd/Desktop/eliza-main/packages/plugin-solana/dist/index.js:2128:35)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async AgentRuntime.evaluate (file:///Users/tylerlloyd/Desktop/eliza-main/packages/core/dist/index.js:3860:17)
at async MessageManager.handleMessage (file:///Users/tylerlloyd/Desktop/eliza-main/packages/client-telegram/dist/index.js:735:13)
at async file:///Users/tylerlloyd/Desktop/eliza-main/packages/client-telegram/dist/index.js:867:17
at async execute (/Users/tylerlloyd/Desktop/eliza-main/node_modules/telegraf/lib/composer.js:518:17)
Node.js v23.3.0
/Users/tylerlloyd/Desktop/eliza-main/agent:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @elizaos/[email protected] start:
node --loader ts-node/esm src/index.ts "--isRoot" "--character=characters/gatsu.character.json"
Exit status 1
ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: