Bitcoin Forum
May 05, 2024, 11:26:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Bitcoin / Development & Technical Discussion / Multi-User transaction with Bitcoin. on: November 02, 2022, 12:51:53 PM
In my application I have this idea for a some large number of people who don't completely trust each other, endevor to buy something collectively, like a plot of land that would get subdivided into lots for themselves. 

Each of the users make a payment to the society (a n of n multisignature wallet) and in the end payments are made out of it for purchase of the common property land and then implementation of services. 


The most simple non-trivial case is a 2 of 2.  Let's make up two users Alice and Bob.  Can I create a payment transaction from both Alice and Bob, so that both of them pay 0.1 mBTC for the society payment but if unless both sign (pay) then neither pays into it?  Is there a wallet that does this kind of thing already?

I think this could be a good way to prevent people from running away with funds.  I think the upper limit for n is 15 in Bitcoin.  I have a copy of the private keys for some test wallets.  Send me a private message if you wish to participate in trying to do this.  We should only use popular clients like Electrum, core or Armory.  I don't think I should be writing custom wallet software!

Perhaps this can be done with the CSV import mechanism in Electrum.  Maybe there is something we can use from the RPC of one of these clients.

2  Economy / Goods / Marketplace Application Program with BTC? on: October 19, 2022, 03:46:15 PM
Is there a Bitcoin - P2P Marketplace application?  One that runs on its own and connects to peers rather than relying on some central server?  Really the Marketplace board is not all that great of an interface for buying things online.  I'd lilke an interface that looks like e-bay but with BTC prices.  Some escrow system would be good too.  I'm not asking much, just a pointer to it if it already exists.
3  Bitcoin / Project Development / Introducing Cheap Bitcoin Notes on: June 10, 2022, 12:19:20 PM
                                                                          A Cheaper Bitcoin Note Project
                                                                                 =============

+---------------------------------------------------------------------------------------------------------------------------------+
|  Yi MILLIBITCOIN                                                                                             ONE MILLIBITCOIN   |
|                                                  Redeem with Issuer After :   November 6th, 2025                                |
|              +-------------------------+                                                            +---------------------+     |
|              |XX    X         X     XX |                                                            | [X]            [X]  |     |
|              |       XX        XX      |                             1                              |         X       X   |     |
|              |   XX    XX        X     |                     millibitcoin                           |   X      X         X|     |
|              |   X            X        |                                                            |                     |     |
|              | XX        X  X     X    |                                                            |   [X]               |     |
|              +-------------------------+         Redeem Alone After:   November 6th, 2030           +-------------------- +     |
|                                                                                                                                 |
|                     Private         Key                                                                          Address        |
|                                                                                                                                 |
|  Un MILLIBITCOIN                                                                                               EK MILLIBITCOIN  |
+---------------------------------------------------------------------------------------------------------------------------------+


Bitcoin's massive acceptance of the new unit of account, is finally manifest.  While many rush to sign up to exchanges to get theirs there is concern that Bitcoin is lacking in three important qualities:
1.  Darkness: Transactions sent without revealing who or how much.  
2.  Lower Transaction Fees.
3. Offchain transactions.

Changes in the Bitcoin Protocol in order to fix either of these issues has been tried but each attempt to do so either results in a forgotten source code fork or alt-coins (Monero, Bitcoin Dark, Dash, Bitcoin Cash).  These alt-coins must compete with name recognition and network effects of the currency when the distinct product is their improved payment system.

Far from sending standard amounts in multiple transactions to obscure the amounts, bitcoin transactions are easily identified by the amount sent.  In addition, bitcoin can be traced as it moves from address to address.  Most people having to trade from one crypto to another will have their address linked to their identity.  So much for anonymity and so much for darkness.

Because the bitcoin protocol requires the transaction specify where the currency output comes from, so even when sent to the same address it is more expensive to send when they had come in smaller increments rather than a single lump sum.  At the most extreme end of the scale it typically costs 85,120 satoshis (851 µBTC) to send transaction on the next block and only 224 satoshis if you are willing to wait days and be okay if it eventually fails.

When sending large amounts the transaction fees make up a smaller percentage.  It turns out that if paying the minimal fee on a transaction 50µBTC, the fee would only be 0.5% of the value of the funds sent.

Enter Bitcoin Note. Bitcoins are sent to a script which is a combination of time-locked, multi-signature and single signature. The user gets to use the coins as a physical bill and is unable to transfer funds from it.  It can only be transferred with the help of the issuer and the private key on the bill.  The private key is unique to each bill.  In order to protect the issuer from extortion, he must destroy the copy of the private key on the bills before they leave the shop.

The issuer also has another private key.  In combination with the private key of the issuer and the private key on the bill they can redeem the money after the redemption date with this combination.  There is an expiry date, after which the holder, of the private key on the bill can unilaterally move the underlying coins on the block-chain.  It is important to take your bills to the issuer prior to that date so anyone who ever had the bill doesn’t move the backing block-chain BTC.


Measures against counterfeiting

These Bitcoin notes should be used between people who know each other.  Down the road the issuer after spending his bitcoin notes at a shop, may take them back as change for some later purchase or there maybe more cyclical economies where money moves around in a circle without ever needing to be changed into fiat.

The issuer can create bills that have a torn side.  A serial number match with the torn bill can be used to validate the bill is the original and not a photocopy.  Other more involved forms of measures against counterfeit can include things found in regular fiat bills and they raise the bar in terms of what a counterfeiter has to do, what equipment one must buy, etcetera.

Suggested Bill Values used

Paper currency in bitcoin based on purchasing what you typically need at a clothing shop or electronics store, it seems that 1 mBTC is a good upper size.  Larger than that, you might as well just keep things on chain.  These days, 100 µBTC is an amount that would cost about 2.5% of its value for an online transaction.  Creating a special transaction for this amount once and putting it on a Bitcoin note, could allow zero fee transaction to happen with this note limited only by the ability to pass it between one user and another.
Scripting

The script for a single issuer and a private key for each note:

ki ->  issuer's public key (private key not on the paper)
kp -> paper public key whose private key is on the paper

<sig1> := (signature of the issuer)    
<pubkey> := k1
<sig2> := <sig>  (signature for the key that's on the paper)

In square brackets the stack of the Bitcoin Virtual Machine is placed next to the op codes to aid better understanding.

Script Template
OP_2
k1
k2
OP_2
OP_DEPTH
OP_2                  
IF_EQUAL              
OP_IF
  OP_2                
  <ki>                
  <kp>                
  OP_2                
  <redeem with issuer date>            
  OP_check_locktimeverify
  op_checkmultisigverify
OP_ELSE [sig]
  <k2>
  <redeem alone date>              
  check lock time verify
  drop                
  dup        
  op_hash160
  <hash(k2)>
  op_equalverify
  op_checksig
OP_ENDIF
The script can be redeemed with the following inputs:
During the redeem period you can redeem them with:
<Issuer SIG>
<Another SIG using the private key on the note>
2
<Issuer Public Key>
<Paper Public Key>


During the post-redeem with issuer period it can be redeemed by anyone who has the private key.
<SIG>


At the start the stack is either [sig] or [sig1 sig2].

OP
Redeemable with issuer
Redeemable alone (single sig)

0 sigi sigp 2 ki kp 2
sigp
OP_DEPTH
... kp 2 => ... kp 2 7
Sigp => sigp 1
OP_7
... 2 7 => ... 2 7 7
Sigp 1 => sigp 1 7
OP_EQUAL
... 7 7 => 1
Sig 1 7 => sig 0
OP_IF
... kp 2 1 => ... kp 2
sig 0 => sig
  OP_DROP
... ki kp 2 => ... ki kp

  OP_2DUP
... ki kp => ki kp ki kp

  OP_HASH160
... ki kp => ki hash160(kp)

  PUSH hash160(kp)
... => ... hash160(kp)

  OP_EQUALVERIFY
... hash160(kp) hash160(kp) => ...

  OP_HASH160
... ki kp ki  => ki kp hash160(ki)

  PUSH hash160(ki)
... => ... hash160(ki)

  OP_EQUALVERIFY
... hash160(ki) hash160(ki) => ...

  OP_2
0 sigi sigp 2 ki kp => 0 sigi sigp 2 ki kp 2

  OP_3
0 sigi sigp 2 ki kp 2 => 0 sigi sigp 2 ki kp 2 3

  OP_PICK
... ki kp 2 3 => ki kp 2 2

  OP_EQUALVERIFY
0 sigi sigp 2 ki kp 2 2 => 0 sigi sigp 2 ki kp

  OP_2
0 sigi sigp 2 ki kp 2




  PUSH redeem

... kp 2 => ... kp 2 redeem
  OP_CHECKLOCKTIMEVERIFY

 ... => ...
  OP_DROP

... 2 expiry => 2



  OP_CHECKMULTISIGVERIFY
... 0 sig1 sig2 2 ki kp 2 => []

OP_ELSE


  PUSH kp

sig => sig kp
  PUSH expiry

sig kp => sig kp expiry



  OP_CHECKLOCKTIMEVERIFY


  OP_DROP

sig kp expiry => sig kp
  OP_DUP

sig kp => sig kp kp
  OP_HASH160

... kp kp => ... kp hash160(kp)
  OP_PUSH hash160(kp)

... kp => ... kp hash160(kp)
  OP_EQUALVERIFY

... hash160(kp) hash160(kp) => ...
  OP_CHECKSIGVERIFY

sig kp => []
OP_ENDIF





Seed creation phrase (Do not use for real (mainnet) funds!!!):

‘general image wine slam knee auction boat carry then adapt huge captain’

Bitcoin testnet faucet: https://testnet.help/
Bitcoin testnet address: tb1qq2z3t9lnpq370exmmjsrrt8lwhzf56pla4j4t0
`electrum --offline --testnet -w ~/.electrum/testnet/wallets/default_test_wallet -v getpubkeys tb1qq2z3t9lnpq370exmmjsrrt8lwhzf56pla4j4t0`

Let the Paper Data Be:
Public Address: tb1qq2z3t9lnpq370exmmjsrrt8lwhzf56pla4j4t0
Public key: 0x0237d0db0db60473c13dacd56043342f90263bc4545d91d92ae2bd2827ccdad0aa
Private key: p2wpkh:cPE1c91SAmiJ3gU7zdyJhQbiaqPX9dvvYdDutD1FDjstW8R3yNje
Hash160 of Public Key: 0xD357872E86E1D4D8B5BA09C3B3CBF0705656EF93


Issuer Data:
Public Address: tb1quh0mmjuwl0gu2wla4t76prdtuzt5hlh0dp6kn5
Public Key:     02c5def4d26d803be6c2ec38db7b693088b504801294276fba734687dcb86741d3
Private Key:    p2wpkh:cQbBdBtspSCEVdTugyZstGNyUZk79bdUkbbRYfyoq7dd5CJ8jHhh
Hash160 of Public Key: 0x60208BB5D099A4681E40DF8B335B29714EBB856A

Example with values filled in:

OP_0
OP_5
OP_16
OP_2

0x02c5def4d26d803be6c2ec38db7b693088b504801294276fba734687dcb86741d3
0x0237d0db0db60473c13dacd56043342f90263bc4545d91d92ae2bd2827ccdad0aa
OP_2
OP_DEPTH
OP_7
OP_EQUAL
OP_IF
  OP_DROP
  OP_2DUP
  OP_HASH160
  0xD357872E86E1D4D8B5BA09C3B3CBF0705656EF93
  
  OP_EQUALVERIFY
  OP_HASH160
  60208BB5D099A4681E40DF8B335B29714EBB856A
  OP_EQUALVERIFY
  OP_2
  OP_4
  OP_PICK
  OP_EQUALVERIFY
  OP_2

  621BA473
  OP_CHECKLOCKTIMEVERIFY
  OP_DROP

  OP_CHECKMULTISIGVERIFY
OP_ELSE
  621BA573
  OP_CHECKLOCKTIMEVERIFY
  OP_DROP
  OP_DUP
  OP_HASH160
  D357872E86E1D4D8B5BA09C3B3CBF0705656EF93
  OP_EQUALVERIFY
  OP_CHECKSIGVERIFY
OP_ENDIF


This idea had sat on my disk for years, but contrast it with https://bitcointalk.org/index.php?topic=5401680.0 perhaps we can combine ideas to make an even better project.

4  Bitcoin / Project Development / New Forum Software on: August 15, 2021, 12:11:24 PM
You want a new forum?  You can write Bitcoin related posts at proofofbrain.org.  We welcome Bitcoin posts.  The software is based on Ecency code and is backed by the Hive blockchain.  I am actively developing it now.  If you wish to see a specific feature, a user can request here.

What would you like to see in proofofbrain.blog, to make it your favorite forum?

I know I think I need to add notifications, private chat, and private messages...
5  Economy / Currency exchange / WTB CAD electronic money: etransfer. I have BTC. on: February 28, 2020, 11:27:15 PM
I have BTC.   Need 150 CAD.  Does anyone want to buy some cheap BTC?
6  Bitcoin / Electrum / Exploring Electrum source code forks *not forks of BTC on: June 28, 2019, 09:14:24 PM
I was wondering if there are any people other than myself who like to hack Electrum but they have not been able to get their pull requests accepted and have decided to just use a fork for themselves.  I find it rather tedious to explore the forks on Github because the forks that have been accepted and are just "behind" Spesmilo's (standard Electrum) original source remain in the list and so do not really allow you to browse changed versions efficiently.

I decided to just keep a fork of Electrum that I can update most of the time to spesmilo's original when he makes changes rather than try to convince the others they are okay and I only need to refactor when Spesmilo does.  You can check it out at https://github.com/shawnpringle/electrum .  The difference between his and mine is only that it displays the numbers a bit better.  I invite anyone with such a fork to reply with your own and just say why it's different and where it is downloadable from.

7  Economy / Services / Programming/Bug hunting/Bug finding for hire on: November 09, 2018, 02:09:44 AM
I program in C/C++/Java/Python/HTML/Javascript/CSS.  I will fix your broken script or complete your task for you.

Payments accepted in BTC or any altcoin (sorry Theymos)

sdp
8  Economy / Service Discussion / Bitpay on: October 05, 2018, 12:01:43 AM
What's up with Bitpay?  Instead of showing me an address it shows me bitcoin:?r= followed by the URL.  WTF.  I know they should start with 1, 3, or bc.

Is this some other payment method that my wallets don't understand?  Which do?

I may end up using my credit card.   Angry

sdp
9  Alternate cryptocurrencies / Service Announcements (Altcoins) / Steem files = sell your digital content for Steem Backed Dollars on: April 25, 2017, 01:48:26 PM
Steem Files - Sell Your Content



What is Steem Files?
[Steem Files](https://www.steemfiles.com) is a website on the Internet.  You just need a browser.  It is tested for Chromium (Open sourced 32-bit Chrome), and Mozilla Firefox.  It uses HTML5 and the site is usable no matter what device you use (provided your device isn't really old).  Use this site to sell downloads of your premium photos, or digital painting, valueable e-book, music, or movie for Steem Backed Dollars.

What is new?

1. Steem Files now allows you to buy things in three seconds.  Click on "Purchase", enter the amount, memo, and the destination 'steemfiles' in your steem wallet (steemit.com), click 'transfer', and confirm.....   Okay maybe better 15 seconds but once you click 'confirm', it's three seconds.

2. All connections are upgraded to SSL.

3. You may log in via Steem Connect

4. You may edit your uploads or remove them from the server.

5. There is a test server for new features.  Don't direct your users there but here it is: https://test.steemfiles.com

Who should want to use Steem Files and Why?
http://steemfiles.com is now launched.  It allows users to buy and sell downloads of files they have.  You can publish your e-book, audiobook, exclusive premium podcast content, high resolution photos from your male make-up video, and accept Steem backed dollars.  You don't need to go through PayPal, a bank, a credit card, or through congested bitcoin.
For Users of Premium Content
For those who want to buy books, audio books, high resolution photos, or premium podcasts with Steem Dollars rather than Bitcoin.
For Photographers
Publish resized for web versions of your professional photos here on steemit.  Then upload your 24Mpx photos to http://steemfiles.com
For Book Publishers
Publish the first chapter of your first book, on Steemit.com and put the full version on steemfiles.com.
For Film Makers
Put your trailer for your short on http://youtube.com, http://watchmybit.com, etc..   Put your full verison on http://steemfiles.com and http://watchmybit.com.  Earn SBD on one and bitcoin on the other.
For Podcasters
Use your RSS feed and upload a high-def, or extra content version with the link pointing to steemfiles where your file is.
For Steem Backed Dollars
Currency is only valuable as a currency if it is used as such.  More use of  **Steem Backed Dollars means less sell pressure on said dollars** .  Less Sell Pressure on dollars also means less **Steem** can be used to back a dollar.  Of course we all want Steem Power to be worth more.

For Users with Many Followers
There are some users that have an enormous following. 

10  Local / Servicios / Busco alguien que puede hacer un propuesta formal por una empressa on: September 16, 2016, 12:21:12 PM
Como dicen el titulo, necesito un que saben bien como se escriben en castellano Argentino un prepuesta formal.  Por favor mandame un DM de un prepuesta ejemplo y si eres que escriben en castellano mejor te contrato por hacer un por un instituto de enseñanza de inglés.  Manejo poco en castellano pero no tengo experiencia en eso.

Por ejemplo, un prepuesta de reubica el fabrica de Chocolate de Willy Wonka al Alemania.  Ofrezco BTC0.04 por lo que puede hacer mejor y hay una plus si ganamos el contrato de BTC0.1.

sdp
11  Economy / Exchanges / Get a creditcard without a bank - funded with Bitcoin on: July 29, 2016, 05:23:09 PM
Well, in an indirect way.  I got myself a virtual credit card in minutes at coinsbank.com.  

Basically, you need to get an account at www.coinsbank.com.  You fund your account for bitcoins.  Apply for the credit card.  I got this credit card number without a bank account.



You'll just need to copy the credit card number, expiry date, etc from the website.

Now, if you fund your coinsbank.com account, you can use this credit card to buy things where they still do not accept Bitcoin.

sdp
12  Alternate cryptocurrencies / Altcoin Discussion / Nubits the longest run pegged cryptocurrency has lost its peg on: June 19, 2016, 06:16:30 PM
Nubits,  had been a cryptocurrency that kept its value with the USD,  has now lost its peg.   It had been working for two years and now one nubit is worth one quarter each.  

Can nubits recover its peg?   How?   What can the next implementation of a pegged currency do better?   Can we trust bitUSD or tether coin?   Why?

sdp
13  Alternate cryptocurrencies / Altcoin Discussion / Why Cbit Bitcoin shows us nothing on: May 12, 2016, 12:36:40 PM
Cbit which was launched with a 2MB blocksize limit shows us absolutely nothing.   Launch an altcoin with no enforced limit and the amount of traffic is not going to reach near one megabyte from the market need to do transactions on it.   The need is zero,  for any really new altcoin.   No altcoin has blocks great than 1MB.   The limit may not be there but there are not enough transactions.   

Dash made a change to accept 2MB blocks but similarly there was nothing to indicate a need for blocks so big.  The only way to really show that 20MB or2MB blocks do not hurtthe network is to simulate bitcoin and simulate the transaction volume.   Make a block sizeminimum of 1.8MB and makethe miner create transactions to himself if there is a lack.

sdp
14  Bitcoin / Development & Technical Discussion / Protocol specification on: April 09, 2016, 12:26:52 PM
The Protocol specification on bitcoin.it is out of date.  Although the Bitcoin Core client itself is the specification (according to most I hear from), it is useful to have a natural language reference.  Where can I get an up to date English version of the bitcoin Protocol specification? 


sdp
15  Bitcoin / Bitcoin Discussion / A test for blocksize increase on: February 13, 2016, 01:04:58 PM
Dogecoin which is a fork of bitcoin has a shorter block time than bitcoin.  Now, four blocks for every ten minutes of one megabyte each is virtually a four megabyte block every ten minutes at least in terms of bandwidth.   So a block chain with 2.5 minute target has the maximum block bandwidth of 4 MB.  A block chain with a one minute target has the maximum block bandwidth of 10 MB.  There is the problem of RAM.  Certainly a one minute target of one megabyte will demand less from the RAM than a ten minute target of ten megabytes.   

If someone ceates a sustained transactions summing to 512kB on the dogecoin-testnet this would simulate demand for 5 MB blocks on a bitcoin-testnet.  I need help in monitoring this.  We can monitor node-count, and transaction pool size, and perhaps other factors.  I have a million test-dogecoins.  This effort requires a dogecoin transaction maker script and a server (virtual server to execute them). 

If you want to volunteer post here.

sdp



16  Bitcoin / Project Development / How many nodes? on: February 12, 2016, 02:15:10 PM
Can anyone tell me where I can get reliable stats on the number of nodes on several crypto currencies?

This site reports that as of today there are 40_000 nodes running bitcoin but recently it was reported as 5_000.  Can someone explain why there are different?

https://bitinfocharts.com/comparison/nodes-btc-ltc-doge-dash.html

sdp
17  Other / New forum software / NNTP on: February 10, 2016, 01:03:40 PM
I just tried to post a lengthy post only to see it disappear.  Why don't we just make this into a news group?  Cry

sdp
18  Local / Other languages/locations / Looking for business partner.in Japan on: January 24, 2016, 06:26:59 PM
Hello.   I am looking for a business partner.  This is what I need of said person :

The person need not be male but I will refer to this person as the promoter, "he"  and "him" for this post.   He must be able to accept payments in fiat from around Japan.  He must find me students and charges them for me in fiat.  Then convert my portion into fiat into bitcoins.   The students' needs get communicated to me by him to me.  Educate the student on how to use Skype.  We split this three ways:

One quarter for advertising in Japanese newspapers and alike; one quarter for the promoter and half for myself.  

I will make myself available in the Korean evenings after eight o clock JST.  This is the morning for me.   The promoter continues to get paid with his cut as long as the student remains with me.

Contact me in private or post here questions.

Thank you

sdp
19  Local / 한국어 (Korean) / Looking for business partner.in Korea on: January 24, 2016, 05:49:55 PM
Hello.   I am looking for a business partner.  This is what I need of said person :

The person need not be male but I will refer to this person as the promoter, "he"  and "him" for this post.   He must be able to accept payments in fiat from around the Republic.  He must find me students and charges them for me in fiat.  Then convert my portion into fiat into bitcoins.   The students' needs get communicated to me by him to me.  Educate the student on how to use Skype.  We split this three ways:

One quarter for advertising in Korean forums like naver and newspapers and alike; one quarter for the promoter and half for myself.   

I will make myself available in the Korean evenings after eight o clock KST.  This is the morning for me.   The promoter continues to get paid with his cut as long as the student remains with me.

Contact me in private or post here questions.

Thank you

sdp


20  Economy / Economics / The state of bitcoin penetration on: January 15, 2016, 12:51:03 PM
I have been hearing again and again that bitcoin has a very small market cap in billions of dollars and this is why bitcoin is in a price discovery phase.  until adoption levels off the price will continue moving up like this.  According to the Daily Decrypt, all of the coins at coinmarketcap have a combined marketcap of seven billion dollars.  Now, silver has a market cap of 14 billion dollars.  The combined market cap is half of that of silver. 

Cryptocurrencies share these defining properties of fiat. What are the properties of fiat money?
  • They are created rather than found
  • It does not matter which of the currency you use
  • Their purpose is money.  Generally speaking, people do not get a two dollar bill to use as a bookmark.  Although the bitcoin blockchain can be used for other purposes than money, this is not its primary purpose.

Now bitcoin satisfies theses defining properties.  What makes bitcoin as a currency different from fiat currencies is the cost of issuance approximates the cost of the currency itself.  For convenience of familiarity, I will not refer to cryptocurrencies as fiat here.  All of the arguments for bitcoin having no utility and thus being of no value apply to dollars.

Silver and gold are assets and probably are just used to exchange them for something else at a later time.  I mean people keep them for speculation or holding value through time.  There are industrial uses however.   How much can we expect bitcoin to rise as people stop looking at gold and silver as a speculation engine and turn to bitcion and other cryptocurrencies?  I wonder how much will an ounce of gold cost if the demand came only from its industrial uses. Some of the value of bitcoin comes from the market that was in these metals but not all of it.
 
sdp

sources:
https://www.silverinstitute.org/site/supply-demand/
http://www.xe.com
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!