kannapoix
Follow
Bitcoin. Web.
- Fukuoka, Japan
- https://scrapbox.io/kanna/
- @kannapoix
Block or Report
Block or report kannapoix
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
-
bitcoinrb
bitcoinrb PublicForked from chaintope/bitcoinrb
The implementation of the bitcoin protocol for ruby.
Ruby
-
Sample code for unlock P2SH multisig...
Sample code for unlock P2SH multisig transaction of Bitcoin. Related article is https://zenn.dev/kanna/articles/de3ebb85face02 1use std::str::FromStr;
2use bitcoin::Address;
3use bitcoin::secp256k1::{Secp256k1, Message, SecretKey};
4use bitcoin::blockdata::script::{Builder, Script};
5use bitcoin::{Transaction, TxIn, OutPoint, hashes::hex::FromHex, SigHashType};
-
payment_code.rb
payment_code.rb 1# bip47 Pyament Code @ https://github.com/bitcoin/bips/blob/master/bip-0047.mediawiki#version-1
2# bitcoionrb @ https://github.com/chaintope/bitcoinrb
34require 'bitcoin'
5require 'ecdsa'
-
ed25519 signature in ruby
ed25519 signature in ruby 1require 'ed25519'
23payload = 'plain text'
45# generate key pair
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.