Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I have a bot that I’ve written in python and I would like to extend it to watch a monero node, which I am running locally, for transactions using a private view key and then perform an action if a transaction occurs. I’ve looked through both the documentation and the sources for monero-python and I just can’t seem to figure out how to get it to use an existing viewkey. I can connect to my node and interact with the blockchain. I see how I can generate a new wallet and get its view key, but I just don’t see how I go about loading a view key so that I can use it to verify transactions using the viewkey I already have. Does anybody know how I would go about doing this? I would even settle for information about how to do this just with the json_rpc from the daemon, if that’s the best information someone knows (yes, I’ve read the docs, I’m clearly just looking right past the answer). I have read how to use `monero-wallet-cl` with `--generate-from-view-key`, but I’m hoping there’s a way for my bot to do this directly. Thanks for the help.
Related posts
- Would teaching myself Python be of any use to the Monero ecosystem?
- SECURITY UPDATE: monero-python 1.0.2
- Can one wallet auto-forward to another wallet?
- We're mature! monero-python 1.0 has been released!
- Want more places to spend your Monero? A proposal to generate more Monero app development video tutorials