Author

Topic: Simpliest possible btc client without own blockchain storage (Read 284 times)

legendary
Activity: 1666
Merit: 1020
expect(brain).toHaveBeenUsed()
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 -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.
legendary
Activity: 2087
Merit: 1015
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 -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/
legendary
Activity: 1666
Merit: 1020
expect(brain).toHaveBeenUsed()
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 -pk ≤privatekey>
Jump to: