Hello!
I’m hoping to timestamp data on Rootstock at relatively low latency, ideally via Python. The most straightforward mechanism would seem to be to include the hashes as data in the sending of a raw transaction. There are Ethereum libraries which appear to make this fairly straightforward, but it’s less obvious for Rootstock.
The following code, based around pip’s web3.js returns “ValueError: {‘code’: -32603, ‘message’: ‘Internal server error’}”.
Any feedback would be appreciated. I would, of course, like to ultimately deploy on mainnet.
from web3 import Web3
from eth_account import Account
Thank you for responding! Apologies for the latency in my response; I was working on another component of the project
I was in a hurry for a python-native library for easily generating transactions from a private key with little configuration and overhead. I found a solution which suited me; issuing a token using brownie.
If there’s a default Python library for interacting with Rootstock, now would be a good time for me to switch over. May I ask whether there any commonly used Python-based solutions?
I apologise again for the delayed response. I was waiting for confirmation on the shipment of a key piece of equipment. Unfortunately, the optics were unavailable due to a force majeure, causing a multi-month delay.
The silver lining is that this gave me the opportunity to rebuild my code from scratch in a cleaner environment, free of conflicting dependencies. It’s all running much more smoothly now.
The final component has just arrived in the EU and will be in Ireland next week, allowing me to finally release the demo.
Thank you again for your understanding and attention. I hesitated to make predictions earlier due to the unavoidable delays, but we’re now on track.