sCrypt-Inc / cat-contracts

A collection of CATful Bitcoin smart contracts written in sCrypt.
18 stars 2 forks source link

Get rid of '@cmdcode/tapscript' dependency. #4

Open msinkec opened 2 months ago

msinkec commented 2 months ago

See if bitcore-lib-inquisition can be used to generate Taproot addresses. If so, get rid of @cmdcode/tapscript dependency and use bitcore-lib-inquisition for everything.

https://github.com/sCrypt-Inc/cat-contracts/blob/master/tests/counter.test.ts#L3

yusufidimaina9989 commented 2 months ago

@msinkec as i checked bitcoin-lib-inquisition cannot be used to generate Taproot address.

msinkec commented 1 month ago

@msinkec as i checked bitcoin-lib-inquisition cannot be used to generate Taproot address.

What about this function? https://github.com/msinkec/bitcore-lib-inquisition/blob/main/lib/script/script.js#L944