Skip to content

Commit be8de50

Browse files
committed
Upgrade input info class to allow spending from taproot transactions
Our InputInfo class contains a tx output and the matching redeem script, which is enough to spend segwit v0 transactions. For taproot transactions, instead of a redeem script, we need a script tree instead, and the appropriate internal pubkey.
1 parent 8e147fb commit be8de50

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

eclair-core/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,21 @@
188188
<version>4.1.94.Final</version>
189189
</dependency>
190190
<!-- BITCOIN -->
191+
<dependency>
192+
<groupId>fr.acinq.bitcoin</groupId>
193+
<artifactId>bitcoin-kmp-jvm</artifactId>
194+
<version>0.20.0-SNAPSHOT</version>
195+
</dependency>
196+
<dependency>
197+
<groupId>fr.acinq.secp256k1</groupId>
198+
<artifactId>secp256k1-kmp-jvm</artifactId>
199+
<version>0.15.0</version>
200+
</dependency>
201+
<dependency>
202+
<groupId>fr.acinq.secp256k1</groupId>
203+
<artifactId>secp256k1-kmp-jni-jvm</artifactId>
204+
<version>0.15.0</version>
205+
</dependency>
191206
<dependency>
192207
<groupId>fr.acinq</groupId>
193208
<artifactId>bitcoin-lib_${scala.version.short}</artifactId>

0 commit comments

Comments
 (0)