On 2021/11/04 17:10, [email protected] wrote: > > Hi, > > is anybody currently working on Electrum port? I've noticed that at > least secp256k1 library is needed, which is currently bundled with > net/bitcoin. Would it make sense to make it a separate port and update > net/bitcoin to use the separate port, or is there some reason it should > stay bundled? > > Regards, > TTM >
Simplest way to get things started is just depend on libsecp256k1 from net/bitcoin. That unblocks you to work on electrum. When you have something working the library could either be moved to a separate port, built as a subpackage of net/bitcoin not depending on the main binaries, or just keep the dependency. Same should happen for litecoin, it was added with its own different copy of libsecp256k1 and a conflict, which is a very bad idea for a library in ports
