Bitcoin Forum
May 02, 2024, 09:40:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: Blockchain transactions flow visualizer on: October 22, 2021, 08:42:11 AM
The preview looks like a really interesting concept, and it could be a useful tool. However, I was unable to open the application.
My CPU was at 100% and nothing happens for more than ten minutes, so I sometimes had to kill the process to terminate the application.

Sorry you didn't have a good experience :/ Try with small transactions first and see what are your limits. I'll try to improve the performances :p

Yes, you're right. It appears to work with addresses that have a small number of transactions.
It seems that the problem is that my laptop has an older generation of processor and doesn't have very good graphics capabilities. It works much better on a desktop computer.

BTW, are you familiar with the Ethtective.com? It provides a transaction visualizer like yours, but for Ethereum blockchain with the ability to add additional addresses and display transactions between them. Would it be possible to implement something like this using your tool?


Wow Ethtective is very cool ! Cheesy Thank you

With txflow you can add successively different addresses and it should add links if it exists. If there is no link you should see two separate flows. I'll see what I can do about it Smiley
2  Bitcoin / Project Development / Re: Blockchain transactions flow visualizer on: October 21, 2021, 12:18:28 PM
Maybe I'll make something to talk directly to your node with RPC so I can use extended public keys to derivate addresses without the risk of exposing it (and read data directly, without limitations). (I'm thinking about the umbrel app store for exemple)
I also use their websocket api to live update the transactions.

Bitcoin Core doesn't have index of address, so it'll be challenging task unless the input is changed to both address and any TXID which contain that address (assuming the local node enable txindex).

What do you think about it ?

I like it, the UI is simple and doesn't feel bloated. Do you have any plan to make your tool open source?

I'm not sure yet how to do the index part. If I can use an external one like electrum's index (because I have a node running electrum) but I don't know if it can help. Maybe I can use an external tool to index it myself but that would require extra space :/
I'll probably make it open source yeah Cheesy

The address API route is still called via the browser so every user will have it's own limit rates.
I have no idea how exactly those limits are imposed, but it seems that it's not just tied to each individual [each of the browser's sessions, led to a different result (tested in Chrome, Tor, Firefox, Opera, and Edge)].

when you open big addresses it crashes,
It's worth noting that I experienced more crashes while it was "zoomed in".
- Perhaps it's hitting some of the limits in your current hosting plan [apart from the API limits].

I noticed that the "X" button, doesn't work.

Despite all of the above issues, I really enjoyed using it [when it's working smoothly] Smiley
- Bookmarked.
.

The interface is generated by a browser code, the rendering has nothing to do with the hosting plan (unless you take into account the time to serve the script to the browser).
I'm using a library (react flow) which ... was maybe not really made to be stressed with big transactions.
I'll probably optimize the interface by, for exemple, not rendering the input/output addresses of a transaction if it has more than x input/output, and add an option to expand it at will.

And sorry for the missing feature, I do it after work when I'm bored ahah.

I'm glad you liked it Cheesy

The preview looks like a really interesting concept, and it could be a useful tool. However, I was unable to open the application.
My CPU was at 100% and nothing happens for more than ten minutes, so I sometimes had to kill the process to terminate the application.

Sorry you didn't have a good experience :/ Try with small transactions first and see what are your limits. I'll try to improve the performances :p
3  Bitcoin / Project Development / Re: Blockchain transactions flow visualizer on: October 18, 2021, 04:58:22 PM
Hello guys !

Thank you all for your responses.

SO, I'm a bit embarrassed, the app was not working because I forgot my cors extension ^^'
blockchain.info has a ?cors=true option on it's API routes but not on /latestblock ( I suppose to avoid spams) so I made a little backend that query the api and cache the response. The address API route is still called via the browser so every user will have it's own limit rates.

I bought a domain so it's a bit cooler (www.txflow.io).

Back in the day, it was a different story! Not sure why Blockchain.info [or ".com"] removed that feature [yours look almost the same: e.g. #1 and #2].

Yeah, I saw it once existed but I think they removed the feature. What a shame. So I did it myself ^^

After checking your preview example I think that it should have some zoom option because I can't clearly see any address shown on your image.
Graphical transactions visualizer is a good idea but some explorer can show this and there are even some wallets like Sparrow who can do something similar with diagrams for transactions:


https://www.sparrowwallet.com/

You are already able to zoom, you should be able to try it out now


If you decide to scale this tool and run a pro version, you should keep it free for personal use. The crypto community will love it and it will help you to spread the word about it which will improve your traffic, domain authority, etc

If I make a backend I will have to because it's not free to store and index a 500g+ blockchain.
I run my own node with lnd and stuff like that. Maybe I'll make something that reads directly the chain on people's nodes. You would have the "demo" on my domain, and you could still run a local version that reads YOUR chain.
4  Bitcoin / Project Development / Re: Blockchain transactions flow visualizer on: October 15, 2021, 12:27:41 PM
Your app appears to be broken for your example address but from looking at the sample picture, it's a good concept.

What happens exactly ? Does it freeze or does the API reject your call ?
The exemple address has another transaction with a lot of inputs, since I render a node for every input address, that might cause your the app to freeze (I should at least put a warning). It works for me tho, here's what I get :


Did you try with any other address ?

If you hosted this thing server-side, which would require you to move this from Github Pages to an actual server, then you could be able to make a graph data structure of addresses as they are passed to you, and you wouldn't need to perform rate-limiting API calls each time someone makes a request to your app.

I considered the question. I just wanted to make a PoC here, using an external API.
I have different ideas for the backend and but I want something easy to deploy for anyone on their own node (so they could read their own chain) if they want (and a demo saas version).
I'll post updates here

Or, you could preload the last N transactions, and create some sort of back button that will load the previous N transactions for a particular transaction output and so on.

It's actually implemented. The '+' button in an addres loads all of it's transactions and the target addresses. You can dig in the direction you want (until you have a big transaction that crashes the app lol)

5  Bitcoin / Project Development / Blockchain transactions flow visualizer on: October 14, 2021, 08:24:44 PM
Hello,

I though it would be cool to visualize the bitcoin transactions. Blockchain explorers are practical, but they lack, in my opinion, graphical representation.
It might be nice for educational purposes as well.

I made it in JS so it can be accessed from the web. I'm currently using blockchain.info api, and users will subject to api rate limitations (that might cause CORS issues).
Maybe I'll make something to talk directly to your node with RPC so I can use extended public keys to derivate addresses without the risk of exposing it (and read data directly, without limitations). (I'm thinking about the umbrel app store for exemple)
I also use their websocket api to live update the transactions.

Here's an exemple of a an address with recent transaction, try it out
https://megasyl.github.io/tx-flow/?address=3C3DH5fYJjkudpvR4fqqjN9zNePfoNpmbf

(Edit) or here's a preview


It's still WIP, some features are missing, when you open big addresses it crashes, api limitations are annoying (use a vpn). But I'd like your feedbacks. What do you think about it ?
6  Bitcoin / Development & Technical Discussion / Re: Find address with a certain number of bitcoins on: January 10, 2021, 08:34:40 AM
Hello
This is an old topic but I just found it on google because I was looking for a solution to this problem.
There is this site, blockchair.com that provide various filters to explore the chain.

https://blockchair.com/bitcoin/addresses?q=balance(314159265)#

Here is an exemple where you search for all addresses with a pi balance (in satoshi).
Hope it helps !

Have a nice day.

Good find.
It's a shame that BTC is over $40k at the moment.
If it was still cheap I would be buying a ton just to have a bunch in stupid vanity addresses with amounts like pi and e and Tau and Phi
Think about it the address 3141592 having 3.14159265 BTC

Yes I'm a total nerd.

-Dave



I think I would take celerity (299792458 sats), because I love light and no one did it yet. But since it's too expensive atm, someone else will probably do it before me ahah
7  Bitcoin / Development & Technical Discussion / Re: Find address with a certain number of bitcoins on: January 07, 2021, 01:30:37 PM
Hello
This is an old topic but I just found it on google because I was looking for a solution to this problem.
There is this site, blockchair.com that provide various filters to explore the chain.

https://blockchair.com/bitcoin/addresses?q=balance(314159265)#

Here is an exemple where you search for all addresses with a pi balance (in satoshi).
Hope it helps !

Have a nice day.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!