Giter Club home page Giter Club logo

Comments (3)

joeuhren avatar joeuhren commented on July 19, 2024

A feature like that could definitely be added, although the main question I have is who is entering the data to link a wallet address to a particular mining pool or website? I assume it is the site admin who enters that, because I don't see a clear way for users to claim their own address on the chainz.cryptoid.info site.

At a minimum, you could do the following:

  • Add a field to the tx model which stores the address hash
  • Modify the save_tx function to pull the mining winners address and store it in the new address hash field in tx
  • Add an Extracted column to the index.pug that displays the new address hash field in tx (make sure to include rl_labels.pug to display custom labels)
  • Manually map each mining pool to the wallet address(es) they claim to control in the "labels" section of the settings.json (this step can be done at any time but will require a restart of the explorer to pick up the most recent changes)
  • Do a full resync of the explorer data to populate the extracted address for older blocks

You could even get away without using the label feature if you just care about displaying the wallet address beside each transaction on the homepage. If you don't like the label feature, and would rather see the pool name instead of the actual wallet address like is done on chainz.cryptoid.info, you would need to modify the code even further to add a new section to the settings.json which is similar to the labels feature but can be used to override the wallet address name, similar to how the "claim address" feature currently does it.

I'm currently in the middle of some bigger changes as I inch closer to a 2.0 release, and truth-be-told, I'm not so interested in this feature for my own use. That being said, this project is open source and you are welcome to add the feature yourself following the steps I provided above. I will even pay you in Exor coins if you can provide a pull request and your implementation is of high enough quality that will be beneficial to everyone. I'm also accepting donations as a way to put features like this to the top of my queue if you would like to see this feature added to the official source so that you can still enjoy official updates and improvements. If interested to explore that option, you can find my Discord and Telegram contact info on the main README page where we can discuss further in private.

from eiquidus.

msy2008 avatar msy2008 commented on July 19, 2024

Thanks a lot for your answer! You did a great job!
I am sure there will be a lot of cryptocurrency projects that will see your work and keep up the good work.

from eiquidus.

joeuhren avatar joeuhren commented on July 19, 2024

Please note that this request has been added to Exor's public task list and development will begin as soon as the funding goal has been met.

View more details here: https://exor.io/task?id=2&tid=652e970fd0c422e3ed64b63da1f07050bc8abef7

from eiquidus.

Related Issues (20)

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.