GithubHelp home page GithubHelp logo

blockcypher / explorer Goto Github PK

View Code? Open in Web Editor NEW
1.0K 1.0K 702.0 1.09 MB

Block explorer showcasing the BlockCypher APIs.

Home Page: https://live.blockcypher.com

License: Apache License 2.0

Python 51.55% JavaScript 2.33% HTML 42.53% CSS 3.58% Procfile 0.01%

explorer's People

Contributors

acityinohio avatar alex-werner avatar bitcoinbrisbane avatar dependabot[bot] avatar matthieu avatar pastapastapasta avatar quentinlesceller avatar snogcel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

explorer's Issues

Add client-visible API key for websockets?

Right now, "server side" API calls are made using the API key @matthieu gave me and are not visible to the client. Client-side calls do not use an API key and are not tracked. If you want to give me a different key to attach to those (it will be publicly visible in the source code), I'm happy to add.

This also might help with running up against limits, but I'm not sure.

@matthieu please either close this if you think it's not worth doing or assign back to me to add throughout (and give me a key please). Thanks!

Deal with has_more on address page

From @michliga:

I noticed that the sent and received are both wrapped in {% if %}s with the condition of 'has_more'. I'm not sure what this variable means. Could you explain?

It's an ugly hack, I'll fix this up before launch. For now don't worry about the logic and just assume the data is good (I'll make that true).

Webhook management section

From @matthieu:

Do you think it'd be appropriate to provide specific information about people's webhooks in the explorer as well? Like which webhooks have been created, be able to create, list and delete them. I could add information like the last errors returned or last message sent. Of course in this case people would have to enter their api key someplace.

Finalize Header & Footer Content

Some observations:

  • I think "Home" is redundant (only visible when you're not on the homepage) as live.blockcypher.com is already on the far left of the header and is the home button
  • Should live.blockcypher.com have some sort of a logo (like on blockcypher.com)?
  • @matthieu should there be a "contact us" button? It's just a placeholder.
  • @matthieu do you like the footer? It uses the main blockcypher facebook/twitter social media links. "Powered by the BlockCypher Bitcoin API" links to the blockcypher homepage (not pyblockcypher), but I think that's the right decision.

Assigning to @matthieu first for decisions. Please handover to Amelia once we know what we're doing here.

Invalid search fails silently

Try typing ins something like "asdf" to see. It's worse if you do something that's real enough you were expecting it to work (say a tx hash with an accidental trailing slash)

jQuery selector can't access span inside of data-content

  1. Find an unconfirmed transaction here: https://live.blockcypher.com/btc/
  2. Try to select the span in your console and get nothing: $('#receive-cnt')
  3. This breaks this line:
    $('#receive-cnt').text(data['receive_cnt']);

Any ideas? I'd like to stick with everything as-is and just find a way to make the selector work. I need access to that data via jQuery so if we can't find a way we'll have to move away from popover.js. I can spend some time digging into the internals, but I figured you might've seen this before.

Related to #9.

Add support for next block on block overview page

@matthieu would it be hard to add next_block (the hash) to this API call?

https://api.blockcypher.com/v1/btc/main/blocks/300000

If not I can do something hackey (height+1), but this will fail on the latest block. To solve that, I can either:

  1. Make a separate API call to determine if this is the latest block (slow). Another solution here would be if you returned is_latest_block with the API call above.
  2. Just always show it and then if you click it and it's more recent than we have, you get an error message "this is the latest block hash. Sorry we can't see into the future.". Kind of a bad UX.

Make header search bar wider (at least on large screens)?

As-is, it's too skinny for even an address to fit the whole thing in it visibly.

Also, what about putting the cursor in there by default on every page (except for mobile users where that's going to annoyingly popout the keyboard)?

Setup domain name with SSL cert

I prefer blockcypher.info because it's shorter and clear what it does (because of blockchain.info). live.blockcypher.com or explore.blockcypher.com are also good. @matthieu, time to pick a name! Would you please decide and assign back to me?

I've setup SSL certs a bunch so happy to take that part. We'll have to coordinate the domain purchase and/or access.

Add dogecoin logo to homepage

Sorry to push this without a logo, but since it's not "released" yet I figured no need to hold up the whole PR for the logo.

Related to #17.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.