ethers-py icon indicating copy to clipboard operation
ethers-py copied to clipboard

Is this project still active?

Open quazzuk opened this issue 3 years ago • 3 comments

Hi

I think this is a really good idea, are you planning on continuing to develop? Need any help?

I would like to look at adding websocket support and generally exposing more functionality. Is the list of features in the README.md accurate or just taken directly from ether-rs?

Thanks Andy

quazzuk avatar Oct 16 '22 08:10 quazzuk

hi thanks for reaching out. The project is stalled rn, I still want to continue developing, it is just that a lot of stuff came at the same time and had to pause it. So your contribution would be very valuable. The list of features is taken from ethers-rs. At the moment the only thing that works is example in the tests (so block and balance). Re websocket, I looked quickly into it but noticed I lack pyo3 skills :-) (see https://github.com/awestlake87/pyo3-asyncio/issues/17), but for sure it would be a great addition.

elyase avatar Oct 16 '22 10:10 elyase

Hey.

Ok, cool. I had a few questions:

  1. Are you using maturin at the moment? I see in in the requirements-dev.txt. I seem to be able to build with maturin develop too.
  2. what's generate_stubs.py for?
  3. Have you any thoughts on whether code generation can be used and/or how abigen might be used to support contract objects?

Thanks Andy

quazzuk avatar Oct 16 '22 14:10 quazzuk

Hey Andrew,

  1. Yes maturin develop is the right way and is what the release script in .github uses, added some dev setup instructions to the readme
  2. Goal is to keep the docs in sync with the code. The docs are generated by sphinx but sphinx can't see inside rust source code so this script generates stubs inside py_src which sphinx can pick up. I think there are better alternatives now like pdoc.
  3. I had some thoughts but forgot about it so would have to rethink from scratch :-). But my impression was that it should be possible

Please let me know if there is something I can do to help you get coding.

elyase avatar Oct 17 '22 09:10 elyase