Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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