Open
Conversation
Collaborator
jacobhorne-jth
commented
Feb 8, 2026
- replaced simulated MakeTradeTool with real on-chain TradeTool executing Uniswap V3 swaps on Tenderly Virtual TestNet
- added automated wallet lifecycle: generation, Fernet encryption, PostgreSQL storage, and Tenderly funding (10k USDC + 1 ETH) on agent creation
- refactored executor and ts_swap_wrapper to load wallet credentials from the database with in-memory caching
- tested wallet generation, encryption round trip, address derivation, buy/sell swaps and tenderly funding
…Agents now automatically receive encrypted, funded wallets (10k USDC + 1 ETH) on creation via Tenderly API. Wallet credentials are encrypted and stored in PostgreSQL, with TradeTool loading credentials from the database using performance caching. Created wallet_utils.py for generation/encryption and tenderly.py for funding automation. Modified agent.py, database_tool.py, and trade_tool.py to support database-backed credential management.
SumanthPal
requested changes
Feb 9, 2026
Collaborator
SumanthPal
left a comment
There was a problem hiding this comment.
fix the merge conflicts and resolve changes
backend/celerybeat-schedule
Outdated
Collaborator
There was a problem hiding this comment.
merge conflict for this
| raise ValueError(f"Agent not found: {agent_uuid}") | ||
|
|
||
| # Extract wallet credentials from stats | ||
| wallet_address = agent.stats.get("wallet_address") |
Collaborator
There was a problem hiding this comment.
good approach storing data in the agent_state json instead of changing the schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.