Bitcoin Forum
May 18, 2024, 03:19:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to create an M of N account/transaction in python?  (Read 413 times)
svabodny (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 20, 2016, 01:06:25 PM
 #1

I'm an experienced developer, and I know a bit about blockchain, but I'm new to blockchain development.

I'd like to make an M of N multisig wallet app in python. What libraries do I use?

What's important - I want high values of "N" - 6 of 10, or 11 of 20, not just 2 of 3. I heard there's a difference in handling these.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6641


Just writing some code


View Profile WWW
December 20, 2016, 04:17:50 PM
 #2

I'd like to make an M of N multisig wallet app in python. What libraries do I use?
Python bitcoinlib should have what you need: https://github.com/petertodd/python-bitcoinlib

What's important - I want high values of "N" - 6 of 10, or 11 of 20, not just 2 of 3. I heard there's a difference in handling these.
The greatest m-of-n that you can use is 15-of-15.

svabodny (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 20, 2016, 06:13:27 PM
 #3

Thank you!

I guess Segwit will allow signatures more advanced than 15 of 15, right?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6641


Just writing some code


View Profile WWW
December 20, 2016, 06:17:03 PM
 #4

Thank you!

I guess Segwit will allow signatures more advanced than 15 of 15, right?
No. The scripts are still the same so it is limited to 15 of 15.

svabodny (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 21, 2016, 12:06:19 AM
 #5

Oh, that's sad. I though SegWit will allow extra opcodes in the script (with time)...
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6641


Just writing some code


View Profile WWW
December 21, 2016, 12:37:02 AM
 #6

Oh, that's sad. I though SegWit will allow extra opcodes in the script (with time)...
Segwit allows script versioning for future changes. Those changes could include additional op codes.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!