Comments (3)
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.
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.
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)
- cannot set headers after they are sent? HOT 3
- Help to add a new exchange file in the system HOT 2
- [Feature Request] Extending the current api explorer to support light wallets up to trezor codebook v2. HOT 3
- error on running HOT 1
- Coin Supply issue HOT 2
- explorer not executing the /etc/getlasttxs/0 command after loading the main index page HOT 5
- logo does not appear in the market, address tabs HOT 2
- the list of masternodes, lists a maximum of 4388 masternodes HOT 7
- add getalldifficulty for the api for MateableCoin HOT 3
- Call to /api/getdifficulty comes up with error HOT 2
- Explorer shows a line for POS difficulty when it's a POW coin HOT 2
- unspent utxo HOT 2
- RangeError: Maximum call stack size exceeded HOT 21
- API listed local IP address HOT 8
- masternode not showing HOT 1
- Sync issue with coin Social Send HOT 3
- Coin Supply and Masternode info not showing HOT 3
- Saving addresses as base58 vs Bech32 HOT 2
- Syncings by Cron dont work HOT 4
- Transactions are not showing the correct amount
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eiquidus.