Bitcoin Forum
December 12, 2024, 09:53:54 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Block.io api wallet  (Read 295 times)
Holly8 (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
August 01, 2019, 10:57:37 PM
 #1

Hi I want to use their api to send payments from my site to  users wallet so my questions are:
 
1. Can i send payments to users who dont use block.io?
2. Is this site safe to use?

Thanks
TryNinja
Legendary
*
Offline Offline

Activity: 3052
Merit: 7466


Top Crypto Casino


View Profile WWW
August 01, 2019, 11:03:15 PM
 #2

1. Can i send payments to users who dont use block.io?
Yes. You can send them to any BTC address.

2. Is this site safe to use?
Yes. They are quite old.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Holly8 (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
August 02, 2019, 04:44:32 AM
 #3

1. Can i send payments to users who dont use block.io?
Yes. You can send them to any BTC address.

2. Is this site safe to use?
Yes. They are quite old.

Thanks for your help Grin.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
August 06, 2019, 07:56:44 PM
 #4

Remember to use ssl connections to the api server so people can't scan for your api keys and don't store too much of your users funds on hot wallets. Generally something small enough to replace should be put in wallets like this (such as 10% of your users' funds/earnings - just in case someone manages to gain access to the keys).
Holly8 (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
August 31, 2019, 05:52:49 PM
 #5

Remember to use ssl connections to the api server so people can't scan for your api keys and don't store too much of your users funds on hot wallets. Generally something small enough to replace should be put in wallets like this (such as 10% of your users' funds/earnings - just in case someone manages to gain access to the keys).
Thanks for your tip!. Sadly, I dont have ssl. I was going to set up instant withdraw on my site but it's too risky. Private ips dont work on shared hosting at my host called zotohost even though they sell it as part of the packages. it only works on their dedicated servers. i'll have to find a new host that accepts gpt and faucet sites.

block.io mentioned using nonce=value parameter (where value is an alpha-numeric string between 1 and 64 characters long) with our withdrawal requests to prevent multiple requests. do you know where i can find a php code example on the web?. i dont know where we are suppose to put the code and what the code looks like. thanks
100bitcoin
Sr. Member
****
Offline Offline

Activity: 861
Merit: 423


View Profile WWW
August 31, 2019, 06:56:16 PM
 #6

Here is a block.io related general feedback thread - https://bitcointalk.org/index.php?topic=5111856.0

Holly8 (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
August 31, 2019, 11:15:12 PM
 #7

Here is a block.io related general feedback thread - https://bitcointalk.org/index.php?topic=5111856.0

Thank you so much for this link!. I just read some stuff over there and I decided to only use it to verify addresses and then i'll just pay members myself with my cold wallets like electrum.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
August 31, 2019, 11:58:32 PM
 #8

You don't need ssl to connect via it, block.io will have it (if not its a reason not to use it). Juat be sure all links to them start with https and not http.

They should have documentation for working with php and if not it should be somewhere on a place like github (but anyone can upload anything so be careful and make sure you understand the code before running it).
Holly8 (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
September 01, 2019, 12:25:43 AM
 #9

You don't need ssl to connect via it, block.io will have it (if not its a reason not to use it). Juat be sure all links to them start with https and not http.

They should have documentation for working with php and if not it should be somewhere on a place like github (but anyone can upload anything so be careful and make sure you understand the code before running it).

thanks ill look for other wallet sites that uses ssl. i didnt know that ssl was useful like that. i heard that there are many negative reviews about block.io which is sad since they do use ssl. ill be doing manual payouts instead and look for php codes on web programming sites that verifies crypto addresses.
TryNinja
Legendary
*
Offline Offline

Activity: 3052
Merit: 7466


Top Crypto Casino


View Profile WWW
September 01, 2019, 01:28:51 AM
 #10

thanks ill look for other wallet sites that uses ssl. i didnt know that ssl was useful like that. i heard that there are many negative reviews about block.io which is sad since they do use ssl. ill be doing manual payouts instead and look for php codes on web programming sites that verifies crypto addresses.
Take a look at Let's Encrypt. You can have an SSL certificate up in literally 3 minutes.

Every serious website/exchange/api has SSL, so you usually don't need to worry about this.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Initscri
Hero Member
*****
Offline Offline

Activity: 1582
Merit: 759


View Profile WWW
September 01, 2019, 05:37:32 AM
 #11

thanks ill look for other wallet sites that uses ssl. i didnt know that ssl was useful like that. i heard that there are many negative reviews about block.io which is sad since they do use ssl. ill be doing manual payouts instead and look for php codes on web programming sites that verifies crypto addresses.
Take a look at Let's Encrypt. You can have an SSL certificate up in literally 3 minutes.

Every serious website/exchange/api has SSL, so you usually don't need to worry about this.

I concur w/ this.

If you need assistance in setting this up, try out the guides by DigitalOcean. It'll depend on where or not you use Apache, Nginx or another web server software, but here are the links:

Apache + Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04
Nginx + Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

Knowing your server setup would probably help in providing recommendations, if you need them.

Going back to the original ask: BlockChain.info's simple API may be of use as well. Simply verifying looking for a JSON response from the URL should be what you need:

For example:
Code:
https://blockchain.info/rawaddr/this_address_will_fail

Returns:

Illegal character _ at position 4

Returns an invalid response, not JSON, but a legitimate address (as per their docs), returns a valid JSON response w/ information.

Code:
https://blockchain.info/rawaddr/1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F

Returns:

{
    "hash160":"660d4ef3a743e3e696ad990364e555c271ad504b",
    "address":"1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F",
    "n_tx":86,
    "total_received":11616871770,
    "total_sent":11616871770,
    "final_balance":0,
    "txs":[

{
   "ver":1,
   "inputs":[
      {
         "sequence":4294967295,
         "witness":"",
         "prev_out":{
            "spent":true,
            "spending_outpoints":[
               {
                  "tx_index":4391284,
                  "n":0
               }
            ],
            "tx_index":438
...

----------------------------------
Web Developer. PM for details.
----------------------------------
Holly8 (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
September 01, 2019, 01:59:47 PM
 #12

thanks for the help guys!
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!