Bitcoin Forum
July 18, 2024, 02:35:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simpliest possible btc client without own blockchain storage  (Read 256 times)
lordoliver (OP)
Legendary
*
Offline Offline

Activity: 1666
Merit: 1020

expect(brain).toHaveBeenUsed()


View Profile
February 21, 2016, 11:50:39 AM
 #1

I don't know, why its not yet existent, but it should in my opinion be possible.
I am glad, if someone explains, why it is not possible. But otherwise:

I pay 1BTC to the one, that offers me a bitcoin client with the following
- written in javascript (nodejs)
- not more than 2000 lines of code, better way less (and I am not talking of minimizing here, normal coding)
- real peer to peer connections to the bitcoin network (no remote node shit)
- possiblity to get all information that you have in a full node
- create transactions like normal
- send transactions like normal
- validate transactions like normal
- no mining needed. no rpc connection. just a simple program with a bunch of methods

I also don't care about private key storage or anything. I want something like:

node app.js send 0.1 <senttoaddress> <sentfromaddress> -pk ≤privatekey>
bitspill
Legendary
*
Offline Offline

Activity: 2087
Merit: 1015



View Profile
February 22, 2016, 08:10:57 AM
 #2

I don't know, why its not yet existent, but it should in my opinion be possible.
I am glad, if someone explains, why it is not possible. But otherwise:

I pay 1BTC to the one, that offers me a bitcoin client with the following
- written in javascript (nodejs)
- not more than 2000 lines of code, better way less (and I am not talking of minimizing here, normal coding)
- real peer to peer connections to the bitcoin network (no remote node shit)
- possiblity to get all information that you have in a full node
- create transactions like normal
- send transactions like normal
- validate transactions like normal
- no mining needed. no rpc connection. just a simple program with a bunch of methods

I also don't care about private key storage or anything. I want something like:

node app.js send 0.1 <senttoaddress> <sentfromaddress> -pk ≤privatekey>


From my understanding the two in bold can not be done without either storing the blockchain yourself or using something like the electrum servers and spv to do it for you, otherwise it sounds like you are describing https://bitcore.io/

{ BitSpill }
lordoliver (OP)
Legendary
*
Offline Offline

Activity: 1666
Merit: 1020

expect(brain).toHaveBeenUsed()


View Profile
February 22, 2016, 08:27:01 AM
 #3

I don't know, why its not yet existent, but it should in my opinion be possible.
I am glad, if someone explains, why it is not possible. But otherwise:

I pay 1BTC to the one, that offers me a bitcoin client with the following
- written in javascript (nodejs)
- not more than 2000 lines of code, better way less (and I am not talking of minimizing here, normal coding)
- real peer to peer connections to the bitcoin network (no remote node shit)
- possiblity to get all information that you have in a full node
- create transactions like normal
- send transactions like normal
- validate transactions like normal
- no mining needed. no rpc connection. just a simple program with a bunch of methods

I also don't care about private key storage or anything. I want something like:

node app.js send 0.1 <senttoaddress> <sentfromaddress> -pk ≤privatekey>


From my understanding the two in bold can not be done without either storing the blockchain yourself or using something like the electrum servers and spv to do it for you, otherwise it sounds like you are describing https://bitcore.io/

Bitcore should do be able to do all I need but too much more. And its for sure not only 2000 lines of code.
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!