Bitcoin Forum
May 07, 2024, 09:46:33 PM *
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 249 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>
1715118393
Hero Member
*
Offline Offline

Posts: 1715118393

View Profile Personal Message (Offline)

Ignore
1715118393
Reply with quote  #2

1715118393
Report to moderator
1715118393
Hero Member
*
Offline Offline

Posts: 1715118393

View Profile Personal Message (Offline)

Ignore
1715118393
Reply with quote  #2

1715118393
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715118393
Hero Member
*
Offline Offline

Posts: 1715118393

View Profile Personal Message (Offline)

Ignore
1715118393
Reply with quote  #2

1715118393
Report to moderator
1715118393
Hero Member
*
Offline Offline

Posts: 1715118393

View Profile Personal Message (Offline)

Ignore
1715118393
Reply with quote  #2

1715118393
Report to moderator
bitspill
Legendary
*
Offline Offline

Activity: 2058
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!