Skip to content
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

EVM Pubkey derivation script #1

Open
wants to merge 816 commits into
base: main
Choose a base branch
from
Open

EVM Pubkey derivation script #1

wants to merge 816 commits into from

Conversation

St4rgarden
Copy link
Member

A quick easy way to derive your EVM pubkey from the EVM_PRIVATE_KEY set in your .env file without needing to access the key generation system in the new TEE feature.

Relates to:

This is simply a super easy convenience PR to help devs move their agents into EVM testing much more quickly.

Risks

There's basically no risk to the PR. It's a super simple helper script that operates outside of the existing codebase and framework.

Background

As I went to setup the EVM integration for the Gods - I realized there wasn't an easy way to derive EVM public keys from the EVM private key. This also paves the way to simplifying the .env file requirements and thus simplifying the setup process.

Documentation changes needed?

It would be great to mention this in any "get started" content relating to EVM agents.

Set your private key in the .env EVM_PRIVATE_KEY and run node scripts/derive-keys.js
Set your public key EVM_PUBLIC_KEY from the public key output in your console

Testing

Can test by simply importing an EVM_PRIVATE_KEY into the .env file and bashing node scripts/derive-keys.js

0xFlicker and others added 30 commits November 24, 2024 01:22
fix: bump echogarden to fix case sensitive issue
fix: remove db adapters depencies from core and remove plugin-node from telegram
fix: remove postinstall script from plugin-coinbase
fix: Token provider getHighestLiquidityPair
Add community stream notes for WDYGDTW 2
monilpat and others added 30 commits November 28, 2024 08:11
add codecov integration to CI workflow
added support for LlamaLocal's path outside plugin-node/dist
CS - adding better errors and readme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.