forked from evmos/ethermint
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sending btc transactions with schnorr multi-signature #72
Milestone
Comments
schnorr musig2 demo: |
taproot transaction use musig2 example: todo:
|
schnorr multi-signature done(n-n) unspentOutputs := make([]*btcapi.UnspentOutput, 0)
for _, utxo := range utxos {
txHash, err := chainhash.NewHashFromStr(utxo.Txid)
if err != nil {
return nil, err
}
pkScript, err := txscript.PayToAddrScript(address)
if err != nil {
return nil, err
}
unspentOutputs = append(unspentOutputs, &btcapi.UnspentOutput{
Outpoint: wire.NewOutPoint(txHash, uint32(utxo.Vout)),
Output: wire.NewTxOut(utxo.Value, pkScript),
})
}
return unspentOutputs, nil Need to implement psbt multi-signature transactions(m-n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
l2-->l1 sending btc transactions with schnorr multi-signature
The text was updated successfully, but these errors were encountered: