|
|
|
@ -8,6 +8,7 @@ use bitcoin::{
|
|
|
|
|
util::psbt::PartiallySignedTransaction,
|
|
|
|
|
SigHash, Transaction,
|
|
|
|
|
};
|
|
|
|
|
pub use bitcoin::{Address, Amount, OutPoint, Txid};
|
|
|
|
|
use ecdsa_fun::{
|
|
|
|
|
adaptor::Adaptor,
|
|
|
|
|
fun::{
|
|
|
|
@ -17,14 +18,13 @@ use ecdsa_fun::{
|
|
|
|
|
nonce::Deterministic,
|
|
|
|
|
ECDSA,
|
|
|
|
|
};
|
|
|
|
|
pub use ecdsa_fun::{adaptor::EncryptedSignature, Signature};
|
|
|
|
|
use miniscript::{Descriptor, Segwitv0};
|
|
|
|
|
use rand::{CryptoRng, RngCore};
|
|
|
|
|
use sha2::Sha256;
|
|
|
|
|
use std::str::FromStr;
|
|
|
|
|
|
|
|
|
|
pub use crate::bitcoin::transactions::{TxCancel, TxLock, TxPunish, TxRedeem, TxRefund};
|
|
|
|
|
pub use bitcoin::{Address, Amount, OutPoint, Txid};
|
|
|
|
|
pub use ecdsa_fun::{adaptor::EncryptedSignature, Signature};
|
|
|
|
|
|
|
|
|
|
pub const TX_FEE: u64 = 10_000;
|
|
|
|
|
|
|
|
|
|