This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Description
The PoW process can be done 100% offline, so the library should provide a mechanism for doing this locally, without having to send an attachToTangle request to a node.
Requirements not 100% nailed down yet, but here are some thoughts:
- Probably easiest for developers if we add e.g., a
local_pow argument to Iota.__init__() (maybe StrictIota.__init__()?).
- An alternative approach would be to use an adapter for this (a la https://pyota.readthedocs.io/en/develop/adapters.html#routingwrapper), but that would make it harder for developers to discover this feature.
- Definitely open to other approaches, post a comment if you think there's a more intuitive/usable way to integrate this into the API (:
- Here are some existing implementations:
Also, don't forget to update documentation and example scripts (: