Pages:
Author

Topic: Blocktrail.com | Wallet | Explorer | API - page 8. (Read 32177 times)

legendary
Activity: 1492
Merit: 1021
OP is not active as he used to be , It would be probably better if you post this on Github or contact them directly  : https://www.blocktrail.com/about

They are not answering to any contacts, emails. Total Ignore from BlockTrail's side.
Like a half year ago the support was ok, now the service seems to be broken.

Hello DevSoft,

What issue are your facing? Look forward to helping you.
newbie
Activity: 30
Merit: 0
OP is not active as he used to be , It would be probably better if you post this on Github or contact them directly  : https://www.blocktrail.com/about

As far as I know this is the new CTO of Blocktrail > https://bitcointalksearch.org/user/rubensayshi-295029

@CTO I have one request regarding Blocktrail's Slack Tipbot. I have added the tipbot on our channel https://antibitcoin.slack.com

Since the channel is related to AntiBitcoin (a new and popular cryptocurrency > https://bitcointalksearch.org/topic/anti-antibitcoin-l-pos-complete-anonymity-new-poll-and-bounties-1283271) I have an earnest request to add it to the supported currency list so that we can tip members of our channel with our own currency.

Thanks in advance Smiley

nothing 'new' about me being CTO but yes xD

the tipbot is completely based on our API/SDK so there's no way to easily adapt it to support another coin. 
it's open source though so what you could do is take the logic of analysing the messages etc and keep that and replace all the wallet code with a small database that keeps track of users addresses and uses the RPC of your own coin to make the transfers.

https://github.com/blocktrail/slack-tipbot
newbie
Activity: 30
Merit: 0

Hello BlockTrail!

I am experiencing the same issue with the "pay()" function. The documentation DOES NOT include ANY INFORMATION about parameters this function is using, which makes it almost impossible to know what params can be passed there.

This issue causes payments to fail almost every time "pay()" function is executed.
The statistic could be it works on 1/10 +/- tries. I have tried everything I can imagine of, nothing helps, without knowing more information, which should be included in your documentation.

This issue is so huge, that it increases server load more than 10 times!

Could you please be so kind, and help out with this?
Thank you, DevSoft™.

please give PM me privately some info about your account so I can look into it, because I don't see anything 'DevSoft' related in our support mailbox

also if you're using PHP, make sure your SDK version is >= 1.2.20
hero member
Activity: 784
Merit: 502
OP is not active as he used to be , It would be probably better if you post this on Github or contact them directly  : https://www.blocktrail.com/about

As far as I know this is the new CTO of Blocktrail > https://bitcointalksearch.org/user/rubensayshi-295029

@CTO I have one request regarding Blocktrail's Slack Tipbot. I have added the tipbot on our channel https://antibitcoin.slack.com

Since the channel is related to AntiBitcoin (a new and popular cryptocurrency > https://bitcointalksearch.org/topic/anti-antibitcoin-l-pos-complete-anonymity-new-poll-and-bounties-1283271) I have an earnest request to add it to the supported currency list so that we can tip members of our channel with our own currency.

Thanks in advance Smiley
sr. member
Activity: 357
Merit: 250
OP is not active as he used to be , It would be probably better if you post this on Github or contact them directly  : https://www.blocktrail.com/about

They are not answering to any contacts, emails. Total Ignore from BlockTrail's side.
Like a half year ago the support was ok, now the service seems to be broken.
staff
Activity: 3500
Merit: 6152
OP is not active as he used to be , It would be probably better if you post this on Github or contact them directly  : https://www.blocktrail.com/about
sr. member
Activity: 357
Merit: 250

Hello BlockTrail!

I am experiencing the same issue with the "pay()" function. The documentation DOES NOT include ANY INFORMATION about parameters this function is using, which makes it almost impossible to know what params can be passed there.

This issue causes payments to fail almost every time "pay()" function is executed.
The statistic could be it works on 1/10 +/- tries. I have tried everything I can imagine of, nothing helps, without knowing more information, which should be included in your documentation.

This issue is so huge, that it increases server load more than 10 times!

Could you please be so kind, and help out with this?
Thank you, DevSoft™.
hero member
Activity: 714
Merit: 500
Coin Generator
February 29, 2016, 08:04:29 AM
Hello BlockTrail,
We're experiencing a big issue with your API and our users are getting mad at me.
Transactions are being sent via the following function:

Code:
$wallet->pay(array($payout_address => $payout_amount), null, true, true, (int) $withdrawal_fee);

Unfortunately it works sometimes only, I mean the user has to try withdrawing many times until it works.
Right now I'm using a try-catch method for displaying the withdrawal error cause your API isn't even throwing the exception.
Can you please help us to fix that terrible problem? I want the users to withdraw at first try. Maybe our function parameters are wrong?

Waiting for your response, thanks in advance.
newbie
Activity: 30
Merit: 0
February 26, 2016, 05:29:17 AM
I'm sorry you're disappointed with us...

Ever since the increasingly full blocks we've started working on better fee estimations (both to avoid too high and too low fees), but this isn't an exact science and there's a few configuration variables we need to tweak on our algorithm to get to the perfect spot.

The key is to estimate the 'perfect' fee/kb based on the previous blocks found, the value of your transaction has nothing to do with that.

I agree, we were off on this one, the fee/kb should have been ~0.00032493 BTC/kb which should have put the fee for this transaction around 0.000121199 BTC.
Instead we estimated 0.00012 BTC/kb and the resulting fee was 0.00003810 BTC.

I've tweaked a few of the configuration variables to make sure that in the future in this scenario it will use a higher fee, while still using lower fees for when blocks are less full.

Regards,

Ruben
CTO, Blocktrail
hero member
Activity: 569
Merit: 500
February 25, 2016, 12:12:56 PM
My transaction has got any confirmations more than 3 hours.

Blocktrail tx fee problem?


DO NOT USE BLOCKTRAIL

BLOCKTRAIL  ADDED ONLY  0.00003810 BTC  FEE  (on 600$ )

So my transaction never will be confirmed or i have to wait days, weeks.


https://www.blocktrail.com/BTC/tx/b28c4c62119754f55dd9d9f1805e507f9019751a684ba481712208c1012919d9
hero member
Activity: 569
Merit: 500
February 25, 2016, 11:56:37 AM
My transaction has got any confirmations more than 3 hours.

Blocktrail tx fee problem?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
February 10, 2016, 11:49:15 AM
-snip-
hey, thanks for getting in touch! this could have been a pretty serious bug, but luckily it's not ;-)

the signature is 'base64' encoded which officially should have a trailing '=' if the last 'group' of bytes is only 2 bytes and act as a 'padding' to explicitly declare that you intended the last 'group' to miss 1 byte (base64 is chunked in 3 bytes per 'group') and a trailing '==' when the last 'group' is only 1 byte.
the javascript implementation of base64 actually silently asumes that if you don't have a trailing '=' but the last 'group' is only 2 bytes that it's supposed to be 2 bytes and doesn't error over it.

so when decoded (in javascript) from base64 into binary (or hex) "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6Xhz flMbFNcM" and "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6Xhz flMbFNcM=" both result in the same data.

Thanks for the explanation. Sounds logical in the light of the encoding. Would it be possible to show a message to the user? Something like "Your signature is valid, but misses a trailing '='." or "...'=='." respectivly.
newbie
Activity: 30
Merit: 0
February 10, 2016, 07:42:51 AM
I might have found another bug with your signed message verification.

The following sign message was recently posted

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
This is harizen from bitcointalk.org. Today is February 1,2016.
-----BEGIN BITCOIN SIGNATURE-----
1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8
HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM
-----END BITCOIN SIGNATURE-----

and electrum's GUI just did nothing when I tried to verify it, so I tried to verify it via blocktrail and it passed with OK, signature is valid!.

Its not though, its missing a "=" at the end,

Code:
$ bitcoin-cli verifymessage "1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8" "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM" "This is harizen from bitcointalk.org. Today is February 1,2016."
error: {"code":-5,"message":"Malformed base64 encoding"}
$ bitcoin-cli verifymessage "1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8" "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM=" "This is harizen from bitcointalk.org. Today is February 1,2016."
true

hey, thanks for getting in touch! this could have been a pretty serious bug, but luckily it's not ;-)

the signature is 'base64' encoded which officially should have a trailing '=' if the last 'group' of bytes is only 2 bytes and act as a 'padding' to explicitly declare that you intended the last 'group' to miss 1 byte (base64 is chunked in 3 bytes per 'group') and a trailing '==' when the last 'group' is only 1 byte.
the javascript implementation of base64 actually silently asumes that if you don't have a trailing '=' but the last 'group' is only 2 bytes that it's supposed to be 2 bytes and doesn't error over it.

so when decoded (in javascript) from base64 into binary (or hex) "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6Xhz flMbFNcM" and "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6Xhz flMbFNcM=" both result in the same data.
legendary
Activity: 1492
Merit: 1021
February 10, 2016, 07:31:26 AM
I might have found another bug with your signed message verification.

The following sign message was recently posted

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
This is harizen from bitcointalk.org. Today is February 1,2016.
-----BEGIN BITCOIN SIGNATURE-----
1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8
HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM
-----END BITCOIN SIGNATURE-----

and electrum's GUI just did nothing when I tried to verify it, so I tried to verify it via blocktrail and it passed with OK, signature is valid!.

Its not though, its missing a "=" at the end,

Code:
$ bitcoin-cli verifymessage "1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8" "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM" "This is harizen from bitcointalk.org. Today is February 1,2016."
error: {"code":-5,"message":"Malformed base64 encoding"}
$ bitcoin-cli verifymessage "1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8" "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM=" "This is harizen from bitcointalk.org. Today is February 1,2016."
true

looking into it, thanks
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
February 02, 2016, 04:14:47 AM
I might have found another bug with your signed message verification.

The following sign message was recently posted

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
This is harizen from bitcointalk.org. Today is February 1,2016.
-----BEGIN BITCOIN SIGNATURE-----
1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8
HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM
-----END BITCOIN SIGNATURE-----

and electrum's GUI just did nothing when I tried to verify it, so I tried to verify it via blocktrail and it passed with OK, signature is valid!.

Its not though, its missing a "=" at the end,

Code:
$ bitcoin-cli verifymessage "1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8" "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM" "This is harizen from bitcointalk.org. Today is February 1,2016."
error: {"code":-5,"message":"Malformed base64 encoding"}
$ bitcoin-cli verifymessage "1BzFQocxr7QABTpwGz6o9Dsb6tPpBqbWZ8" "HyEuQEIIi5KS0dqyCaIWh6a5A3wIMFqkSEehuNa7jOUZTSyLa08czuASi5RUcj78hPI5PMNec0w6XhzflMbFNcM=" "This is harizen from bitcointalk.org. Today is February 1,2016."
true
sr. member
Activity: 357
Merit: 250
January 19, 2016, 04:53:48 AM
Hello!

I am having trouble implementing the WebHooks from API into the system. I am using PHP.
Step 1 is ok, where I generate the wallet and store it in the DB.
Next step I cant get working, where a webhook needs to send data to the callback, and accordingly react.

I am willing to pay for helping me get this code part done.


Here is the original post: https://bitcointalksearch.org/topic/blocktrail-api-webhook-implementation-paying-for-help-1333254

Thank you, Devsoft™.
hero member
Activity: 616
Merit: 500
I AM A SCAMMER
October 31, 2015, 12:40:10 PM
Could I install the library on a shared hosting? My hosting provider told me that I could install only on a server with root access...

Hey bterproblems, i've sent this comment to our dev team, we'll get back to you soon. Smiley

Thanks
So, what happened?

Hey,

you could try running `composer install` locally and then uploading the `vendor` directory, but most likely you're also going to need a few PHP extensions installed which might not be installed on the shared hosting (which I guess is why your hosting provider told you it's not possible).

tbh we also strongly recommend doing bitcoin related things (or anything really) on a server with root access, either self hosted, rented or a VPS.

Pm me if you have any more questions Smiley


BlockCypher, another API provider is providing a compiled folder for direct download as an alternative to composer install.

https://github.com/blockcypher/php-client/wiki/Installation

I think, providing such an option would be helpful for developers who are doing small projects to be deployed on shared hosting.
sr. member
Activity: 320
Merit: 250
October 28, 2015, 06:08:29 AM
I dont like the wallet but the explorer. It is useful to lookup for duplicate bct account. So we can stay safe from online scam.
hero member
Activity: 910
Merit: 1000
October 28, 2015, 02:29:55 AM

What about my query ?

Could you please confirm whether the following configuration on a shared hosting is enough to use blocktrail API in PHP environment?

PHP 5.4+
ext-curl
ext-json
ext-gmp
ext-openssl
ext-mcrypt

I have sent this to the dev team.

Any feedback from the dev team regarding this?

Have you tried following the README?

Quote
The SDK requires PHP 5.4+ and the Intl, GMP, BCMath and MCrypt PHP extensions.

https://github.com/blocktrail/blocktrail-sdk-php#requirements
hero member
Activity: 616
Merit: 500
I AM A SCAMMER
October 27, 2015, 04:17:02 PM
Hey all,

Thanks for your feedback, we are constantly monitoring all feedback, suggestions and issues. We attempt to fix and add things to our wallet and service as fast as we can.

Thank you for your continued support to Blocktrail.

If you haven't already, follow us on Twitter and Facebook: www.twitter.com/blocktrail www.facebook.com/blocktrail

What about my query ?

Could you please confirm whether the following configuration on a shared hosting is enough to use blocktrail API in PHP environment?

PHP 5.4+
ext-curl
ext-json
ext-gmp
ext-openssl
ext-mcrypt

I have sent this to the dev team.

Any feedback from the dev team regarding this?
Pages:
Jump to: