mattxlee / clvm_cpp

Chia CLVM cpp implementations
MIT License
2 stars 1 forks source link

Any plans to add in the new OpCodes as well ? #1

Open BubbleTrouble14 opened 11 months ago

BubbleTrouble14 commented 11 months ago

I am planing to use this lib to create react native bindings between c++ and javascript. As it would make it super fast to use, and wouldnt cause any freezing on the js ui thread when computing stuff with clvm. I still need to figure out how to compile it down to all the iOS and android architectures as its gets a little tricky with all the c++ libs. Not sure if u maybe have more exprience with that ? Basicly need static lib (.a) files for each arch. And once that works ill be writing JSI bindings, in order to call it from a react native app.

mattxlee commented 11 months ago

I'm currently working on the project which relates to this one. I'm sure clvm_cpp will be updated time to time and new OpCodes will be added eventually. To compile it under iOS/macOS you might need to replace the openssl with CommonCrypto lib which is provided by Apple otherwise, you might need to compile OpenSSL as well. I think in the future version of clvm_cpp, cross compiling will be supported smoothly.

BubbleTrouble14 commented 11 months ago

Awesome thanks. It think i may get open ssl to work on ios as well. But otherwise i'll definitely give it a try, as it would be huge having the performance improvements in my app.