Error on run an example from README.md :
Traceback (most recent call last):
...
from agentipy.agent import SolanaAgentKit
File ".../agentipy/__init__.py", line 3, in <module>
from agentipy.agent import SolanaAgentKit
File ".../agentipy/agent/__init__.py", line 18, in <module>
from agentipy.wallet.base_wallet_client import BaseWalletClient
File ".../agentipy/wallet/__init__.py", line 2, in <module>
from .solana_wallet_client import SolanaWalletClient
File ".../agentipy/wallet/solana_wallet_client.py", line 7, in <module>
from solana.transaction import Transaction # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'solana.transaction'
The transaction was removed from solana.transaction year ago michaelhly/solana-py#442, to solders module. Seems, the .add() method was replaced with Message(), but I don't sure, michaelhly/solana-py@00da75e.
--
Python 3.12, solana 0.36.6, solders 0.23.
Error on run an example from README.md :
The
transactionwas removed fromsolana.transactionyear ago michaelhly/solana-py#442, tosoldersmodule. Seems, the.add()method was replaced withMessage(), but I don't sure, michaelhly/solana-py@00da75e.--
Python 3.12, solana 0.36.6, solders 0.23.