Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated app
  • Loading branch information
tsileo committed Mar 24, 2014
1 parent 857f32e commit 4e91954
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/app.js
Expand Up @@ -18,18 +18,18 @@ define(['jquery', 'Ractive', 'rv!templates/template', 'text!css/my-widget_embed.
ts: 'never',
}
});
_ractive = this.ractive;
this.ractive.on({
mwClick: function(ev) {
ev.original.preventDefault()
_ractive.set('cnt', _ractive.get('cnt') + 1);
this.set('cnt', this.get('cnt') + 1);
var that = this;
$.ajax({
url: "http://date.jsontest.com/",
dataType: "jsonp"
}).then(function(resp) {
_ractive.set("ts", resp.time);
that.set("ts", resp.time);
}, function(resp) {
_ractive.set("ts", "Something bad happened");
that.set("ts", "Something bad happened");
});
}
});
Expand Down
30 changes: 30 additions & 0 deletions my-widget.css
@@ -0,0 +1,30 @@
BTCplex is an open source Bitcoin block chain browser written in '''[http://golang.org/ Go]''' ([https://github.com/tsileo/btcplex source code available on GitHub]).

== Blockchain Explorer ==

=== Web Interface ===

'''[https://btcplex.com BTCplex]''' allows you to search and navigate the [[Block_chain|blockchain]].

* Browse [[Blocks|blocks]] and [[Transactions|transactions]].
* Check [[Address|addresses]] balance history.
* Search for blocks, transactions, and addresses.

=== API ===

'''[https://btcplex.com BTCplex]''' provides a full-featured JSON API to access data pragmatically.

* A [http://docs.btcplex.com/api_rest/ REST API] for acessing blocks, transactions and addresses balance.
* A [BlockExplorer.com|BlockExplorer.com] compatible [http://docs.btcplex.com/api_query/ plain text query API].
* Few [http://docs.btcplex.com/api_sse/ server-sent events endpoints] to monitor addresses, unconfirmed transactions, and new blocks.

==External Links==

* [https://btcplex.com BTCplex]
* [http://docs.btcplex.com BTCplex documentation]
* [https://github.com/tsileo/btcplex GitHub repository]

[[Category:Services]]
[[Category:Block chain browsers]]
[[Category:Frontends]]
[[Category:Bitcoin]]

1 comment on commit 4e91954

@mtree
Copy link

@mtree mtree commented on 4e91954 Jan 25, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my-widget.css ???

Please sign in to comment.