Link to home
Create AccountLog in
PHP

PHP

--

Questions

--

Followers

Top Experts

Avatar of hindersaliva
hindersaliva🇬🇧

Bitcoin - web application
I'm researching building a web application that will record donations made by member in Bitcoin into a fund. There will be transactions out of the fund per predetermined rules.

I can do the accounting part of it in classic ASP and SQL Server (hosted). And I shall translate that to PHP know-how soon (PHP newbie). (only the transaction information needs to be handled)

Where I need help is in tracking the data relating to the Bitcoin network that's made available by the Bitcoin 'system' (Blockchain?) in real -time.

My knowledge about Bitcoin is in an early stage.

Is there a Hello World place to start? Preferably some code to track some Bitcoins we hold?
(I'm also an Ajax newbie so any ready-to-use code will help a great deal)

Thanks in advance.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of hindersalivahindersaliva🇬🇧

ASKER

For a start:
Say X amount of Bitcoin is paid by Person A to Person B (Addess A to Address B).
I want my web application to know that.
So that, I can then record that in the backend database SQL Server (I can do this).

Next stage:
To make that transaction information appear on the page without a page refresh (ajax).

A good example is here:
http://blockchain.info/
So my web will listen and note transactions (from some known addresses) as this info comes through.

SOLUTION
Avatar of Ray PaseurRay Paseur🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of hindersalivahindersaliva🇬🇧

ASKER

Thanks Ray. Good advice. I'm well experienced in classic ASP/SQL Server so I'm building a prototype in that. That will help me and my non-techie colleagues develop ideas, and understand the protocols.

If we can just 'track the data' at this stage ... in the above scenario will be great.

(We can move on to PHP and Ajax at a later stage, and/or draft in expertise then)
Thanks for the links.

Avatar of Ray PaseurRay Paseur🇺🇸

Great.  If you already know ASP, the SitePoint book will be a breeze, and the Welling/Thompson will be a great reference.  Eli's book is a little bit dated but has many "cookbook" examples that are mostly best of breed.

I assume you're up-to-date on this?
http://blockchain.info/api

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of hindersalivahindersaliva🇬🇧

ASKER

Ray, thanks.

Yes, it's the API info on this page I'll need to be able to understand http://blockchain.info/api/blockchain_api , though not just yet. I shall start on those books.

I also found this. It'll help me get into Ajax (he's got a jQuery version there too)
http://www.mikesdotnetting.com/Article/39/AJAX-and-Classic-ASP

Thanks Ray.

Avatar of Ray PaseurRay Paseur🇺🇸

I would skip the original AJAX article and go straight to the jQuery version.  I have a jQuery "Hello World" article here.  But that said, if you just get the HTTP client/server application working correctly first, the whole debugging process will be easier.  Once that's ironclad, add the client-side automations.
https://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Jquery/A_10712-The-Hello-World-Exercise-with-jQuery-and-PHP.html

Avatar of hindersalivahindersaliva🇬🇧

ASKER

Hey Ray, even better!
Thanks.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of Terry WoodsTerry Woods🇳🇿

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of hindersalivahindersaliva🇬🇧

ASKER

Hi Terry, glad you came in too. Between you and Ray I think there's all the help I need.
At the moment going through the basics of JSON on the basic web application before getting into the Bitcoin integration part (eg. understanding http://blockchain.info/api/blockchain_api - assuming that's where I would get the info.

I'll be back.

Avatar of hindersalivahindersaliva🇬🇧

ASKER

Terry, can you provide a link to (hopefully) a Hello World on how to use the Address Lookup in the Simple Query API?

I'm found this so far
http://blockchain.info/q

Thanks.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of hindersalivahindersaliva🇬🇧

ASKER

Thanks Terry and others. I'm taking a break from this project for a few months. So shall close the question.
PHP

PHP

--

Questions

--

Followers

Top Experts

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.