Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: onurgozupek on May 17, 2018, 07:28:39 PM



Title: API for online Bitcoin wallet
Post by: onurgozupek on May 17, 2018, 07:28:39 PM
Hello, I'm planning to create an API but I'm a newbie about API's.

Are there anyone willing to give some information?

How can I find documentation about creating an API to communicate a Bitcoin fullnode for

- Creating a new wallet on client side (browser storage)
- Keeping private key on client side (browser storage)
- Able to login via Private Key or Seed
- Send, Receive functions.

Also, I'm not sure if it's possible or not or how complicated it is... Just wondering and looking for some clues...


Title: Re: API for online Bitcoin wallet
Post by: shahzadafzal on May 17, 2018, 09:59:34 PM
Yes it is very much possible. Even I have seen some crypto exchanges using same process (idex.market) is one example. Usually they are focused on ERC-20 tokesn and ETH only. But this can be done for Bitcoin too.

But before going into technical details, please layout your plan and main purpose. I mean are you going to use if for yourself or planning to launch for public use. Because you have consider the security issues, which can be a big challenge.

Now as for API is concern its pretty straight forward. If you know Javascript a little and aware of JSON you are good to to go.
Here is the  API documentation. https://bitcoin.org/en/developer-reference

API calls list https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list


Title: Re: API for online Bitcoin wallet
Post by: frankenmint on May 17, 2018, 10:17:41 PM
Hello, I'm planning to create an API but I'm a newbie about API's.
...

whut????? this smells like a disaster


Title: Re: API for online Bitcoin wallet
Post by: TryNinja on May 17, 2018, 10:25:32 PM
~
+1. This reminds me of Mark Karpelès (Mt. Gox ex-CEO) asking newbie questions days before launching the exchange, and sending Mt. Gox passwords in clear text after its launch.

Are you sure that you can protect your customers funds? :)


Title: Re: API for online Bitcoin wallet
Post by: nongmo on May 17, 2018, 11:10:24 PM
cmon ,you scaring the guy  ???

sure, all you need to do is a little research, learn some programming languages.

learn basic php, java, javascript, python.

then go to harder tutorials and start learning how to make real programs using the language of the cyber masters.  :o

https://blog.rapidapi.com/20-tutorials-on-how-to-create-your-own-api-sorted-by-programming-language/ (https://blog.rapidapi.com/20-tutorials-on-how-to-create-your-own-api-sorted-by-programming-language/)


Title: Re: API for online Bitcoin wallet
Post by: akshayp on May 18, 2018, 08:14:54 AM
There are lots of API for Bitcoin wallet. But always use trustworthy because you need API where Private and the public key is with you. Blockchain.info provides the best API. You can use blockchain.info API guide for generating Bitcoin Wallet.


Title: Re: API for online Bitcoin wallet
Post by: hamburger on May 21, 2018, 04:20:43 AM
Hello, I'm planning to create an API but I'm a newbie about API's.

Are there anyone willing to give some information?

How can I find documentation about creating an API to communicate a Bitcoin fullnode for

- Creating a new wallet on client side (browser storage)
- Keeping private key on client side (browser storage)
- Able to login via Private Key or Seed
- Send, Receive functions.

Also, I'm not sure if it's possible or not or how complicated it is... Just wondering and looking for some clues...

See https://github.com/OutCast3k/coinbin


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 21, 2018, 07:58:00 AM
Yes it is very much possible. Even I have seen some crypto exchanges using same process (idex.market) is one example. Usually they are focused on ERC-20 tokesn and ETH only. But this can be done for Bitcoin too.

But before going into technical details, please layout your plan and main purpose. I mean are you going to use if for yourself or planning to launch for public use. Because you have consider the security issues, which can be a big challenge.

Now as for API is concern its pretty straight forward. If you know Javascript a little and aware of JSON you are good to to go.
Here is the  API documentation. https://bitcoin.org/en/developer-reference

API calls list https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list


Thank you for the references. I will check. I know Javascript but I can't aware JSON because it's required for output on most cases :)


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 21, 2018, 07:59:36 AM
whut????? this smells like a disaster

Not that much :) I'm trying to learn, not being a trouble ;) In general people offer to ask Google but, in some certain topics Google is not bringing the necessary results. That's why we have this forum, to share the knowledge...


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 21, 2018, 08:03:13 AM
~
+1. This reminds me of Mark Karpelès (Mt. Gox ex-CEO) asking newbie questions days before launching the exchange, and sending Mt. Gox passwords in clear text after its launch.

Are you sure that you can protect your customers funds? :)

I can understand your concerns, but I'm not going to release it just after I learn how to do it :) I said that I'm looking some information how to do that and I'm not going to publish it to users. It's for improving my skills.

BTW it's good to know someone taking care of user security ;)


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 21, 2018, 08:05:43 AM
cmon ,you scaring the guy  ???

sure, all you need to do is a little research, learn some programming languages.

learn basic php, java, javascript, python.

then go to harder tutorials and start learning how to make real programs using the language of the cyber masters.  :o

https://blog.rapidapi.com/20-tutorials-on-how-to-create-your-own-api-sorted-by-programming-language/ (https://blog.rapidapi.com/20-tutorials-on-how-to-create-your-own-api-sorted-by-programming-language/)

 :o This is a big source for me! Thanks for sharing. I'm trying to improve my skills and creating API's are one of my interest areas in these days. I want to create some blockchain services but as I said I call myself a newbie on blockchain development.


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 21, 2018, 08:08:57 AM
There are lots of API for Bitcoin wallet. But always use trustworthy because you need API where Private and the public key is with you. Blockchain.info provides the best API. You can use blockchain.info API guide for generating Bitcoin Wallet.

Where are they? :) I couldn't find any of them as source. But I tried Blockchain API. It has limits and I just find the details of Wallet API ( https://blockchain.info/api/blockchain_wallet_api ) which I have probably dismissed before... I will check that too... Thanks...


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 21, 2018, 08:13:05 AM
See https://github.com/OutCast3k/coinbin

Hey! You made my day! I'm feeling shamed! I don't know how did I miss this? Thank you very much! This will be the best resource for me. A live, opensource Bitcoin Wallet :)


Title: Re: API for online Bitcoin wallet
Post by: TryNinja on May 21, 2018, 01:00:11 PM
A quick tip for you: if you are going to reply everybody who posted in your thread, do it in one post. You created 6 posts in a row (which is against the rules and could get you banned) instead of one with a quote for each post and your answer.

E.g:

Quote
User 1 post
Bla bla bla

Quote
User 2 post
Bla bla bla

Keep the thread clean.


Title: Re: API for online Bitcoin wallet
Post by: eliteeservices on May 22, 2018, 02:51:11 PM
You don't want to create an 'api' for a wallet.  APIs are public and to be used freely without encryption.  Like this:  https://totalcryptos.com/api/documentation

For end to end wallet communication you probably want to develop something more secure.  There's lots of support you can get I would suggest finding a profi company and doing it properly.  Because if you mess this up and people lose money it will be a real problem!  Our company is http://www.bloc10.com


Title: Re: API for online Bitcoin wallet
Post by: onurgozupek on May 22, 2018, 08:15:48 PM
A quick tip for you: if you are going to reply everybody who posted in your thread, do it in one post. You created 6 posts in a row (which is against the rules and could get you banned) instead of one with a quote for each post and your answer.

Keep the thread clean.

Definitely right. Sorry. Actually I didn't plan to reply all but, I used quick reply for each post I read. I even didn't notice that my question got multiple helpful answers...

You don't want to create an 'api' for a wallet.  APIs are public and to be used freely without encryption.  Like this:  https://totalcryptos.com/api/documentation

For end to end wallet communication you probably want to develop something more secure.  There's lots of support you can get I would suggest finding a profi company and doing it properly.  Because if you mess this up and people lose money it will be a real problem!  Our company is http://www.bloc10.com

API is for handling communication with blockchain (node) and the client (browser) Actually coinb.in is what I was looking for. I'm working on it's codes and trying to understand the structure and basics.

There is another who will handle security part on both node and API server sides. Thanks for the reference sites...


Title: Re: API for online Bitcoin wallet
Post by: Tripterium on May 23, 2018, 08:22:29 PM
There are a lot of api out there. You probably need to just start with api's for basic programmes and learn as you go.


Title: Re: API for online Bitcoin wallet
Post by: BTCW on May 26, 2018, 03:52:09 PM
Love this OP! Looking forward to the announcement of your online wallet. In any case however, you deserve some credit for being honest about your intentions and abilities. Not sure it is enough for one single sign-up, though.