Bitcoin Forum
June 21, 2024, 12:00:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / About testnet faucet on: January 11, 2019, 05:17:02 AM
I am developing a wallet program and current using testnet, I need faucet to charge wallet with some bitcoin,
where I can do this?
And if it is ok, please also tell online faucet service for ethereum testnet.

Thanks in advance.
2  Bitcoin / Development & Technical Discussion / Re: Implement a simple wallet on: December 23, 2018, 11:14:13 AM
Hi,

I don't have any "tutorial" nor code simple enough to give you. But I can help you to think about what do you need to implement.
First what is a wallet ? It's an interface to the Bitcoin network.
In order to use it what do you need ? A key pair;
I think you should begin by generating key pairs in different formats (compressed, uncompressed, b58check-encoded, b58check-decoded, WIF-encoded, WIF-decoded, encrypted, etc..)

Hi thanks for reply.

If a "lightweight wallet" is what I need to implement,
1, generate key pair and address;
2, issue transaction
3, get balance
4, get exchange rate
are all what I suppose to do, and implement with bitcore-lib,
is there any good guide to show how to implement?



Thanks.



What currency pair are you looking for exchange wise? I can maybe give some info/support regarding exchange APIs

Hi, I know a library named ccxt, almost composited all currencies:
https://github.com/ccxt/ccxt

any comments?

Looks fine to me, rather well supported/updated & a huge following. I'd go with that for the price portion if you want it to be more advanced.
Although, it may be a tad overkill.

A simple request to https://blockchain.info/ticker will provide prices as well.

For bcoin, its bcoin program will run a node and sync chain data on local machine; but for blockchain.info apis, its wallet program does not require run a node to call api, why?
3  Bitcoin / Development & Technical Discussion / Re: Implement a simple wallet on: December 22, 2018, 01:23:05 PM
Quote
Hi, I know a library named ccxt, almost composited all currencies:
https://github.com/ccxt/ccxt

any comments?
I've heard of it but never used it. It seems good.

Quote
One thing I do confuse is that through bitcore-lib, I can implement a wallet, why bitcore and many other apis like blockchaininfo still provide wallet programs which will require at least a rpc call to be function? Running wallet as an extra rpc process could increase the complexity of a project, which I'd rather implement with a internal library(as bitcore-lib).
I don't understand this part :
Quote
which will require at least a rpc call to be function?
If you wonder why use RPC if we have a library which could do a similar thing, then the answer is that to interact with the network you sometimes have to have some informations only a node (at least a SPV) has.

So why I cannot setup a node with library code inside my project? Does a node must be an external program?
4  Bitcoin / Development & Technical Discussion / Re: Implement a simple wallet on: December 22, 2018, 10:12:34 AM
One thing I do confuse is that through bitcore-lib, I can implement a wallet, why bitcore and many other apis like blockchaininfo still provide wallet programs which will require at least a rpc call to be functional? Running wallet as an external process and make rpc call could increase the complexity of a project, which I'd rather implement with a internal library(as bitcore-lib).
5  Bitcoin / Development & Technical Discussion / Re: Implement a simple wallet on: December 22, 2018, 09:59:45 AM
Hi,

I don't have any "tutorial" nor code simple enough to give you. But I can help you to think about what do you need to implement.
First what is a wallet ? It's an interface to the Bitcoin network.
In order to use it what do you need ? A key pair;
I think you should begin by generating key pairs in different formats (compressed, uncompressed, b58check-encoded, b58check-decoded, WIF-encoded, WIF-decoded, encrypted, etc..)

Hi thanks for reply.

If a "lightweight wallet" is what I need to implement,
1, generate key pair and address;
2, issue transaction
3, get balance
4, get exchange rate
are all what I suppose to do, and implement with bitcore-lib,
is there any good guide to show how to implement?



Thanks.



What currency pair are you looking for exchange wise? I can maybe give some info/support regarding exchange APIs

Hi, I know a library named ccxt, almost composited all currencies:
https://github.com/ccxt/ccxt

any comments?
6  Bitcoin / Development & Technical Discussion / Re: Implement a simple wallet on: December 21, 2018, 03:39:55 PM
Why do you need a guide to do that ? I tried to guide you through the process, just try and then if you have problems you cannot solve I (/we?) can help you.

Quote
1, generate key pair and address;
https://github.com/bitpay/bitcore-lib/blob/master/docs/address.md

Quote
2, issue transaction
https://github.com/bitpay/bitcore-lib/blob/master/docs/transaction.md

The bitcore-lib docs are here to help you and are I think the guide you are looking for.

Quote
4, get exchange rate
Maybe the lib doesn't provide this and so you have to use exchanges APIs.



Thanks very much for your help.
7  Bitcoin / Development & Technical Discussion / Re: Implement a simple wallet on: December 21, 2018, 02:59:26 PM
Hi,

I don't have any "tutorial" nor code simple enough to give you. But I can help you to think about what do you need to implement.
First what is a wallet ? It's an interface to the Bitcoin network.
In order to use it what do you need ? A key pair;
I think you should begin by generating key pairs in different formats (compressed, uncompressed, b58check-encoded, b58check-decoded, WIF-encoded, WIF-decoded, encrypted, etc..)

Hi thanks for reply.

If a "lightweight wallet" is what I need to implement,
1, generate key pair and address;
2, issue transaction
3, get balance
4, get exchange rate
are all what I suppose to do, and implement with bitcore-lib,
is there any good guide to show how to implement?



Thanks.

8  Bitcoin / Development & Technical Discussion / Implement a simple wallet on: December 21, 2018, 12:10:41 PM
I need to implement a simple wallet using bitcore-lib by node.js.
Like manage private/public keys and addresses .

Is there any simple tutorial or example source code to show how to do this?

Thanks.
9  Bitcoin / Development & Technical Discussion / Re: Example transaction used OP_RETURN to store text message on: September 20, 2017, 02:56:50 AM

Thanks!
10  Bitcoin / Development & Technical Discussion / Example transaction used OP_RETURN to store text message on: September 19, 2017, 09:05:52 AM
Hello,

Can anybody provide me an example bitcoin transaction hash
that used OP_RETURN to store a text message?

I think the text message can be review on blockchain.info


Thanks,
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!