elective-stereophonic
elective-stereophonic
MGW monitor/block explorer.  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: MGW monitor/block explorer.  (Read 2849 times)

valarmg

  • Hero Member
  • *****
  • Karma: +178/-57
  • Offline Offline
  • Posts: 1766
    • View Profile
MGW monitor/block explorer.
« on: August 10, 2014, 08:07:32 pm »

This is pretty important. I've been thinking about how to do it and have the following ideas.

Ideally, it's something that any website can run, so it could be added to the multigateway website, but also third party sites like NxtExplorer.

I was thinking that's it's possible without running NxtServices. Just scan the Nxt blockchain for actions from the mgwBTC/etc. assets and track the AMs and asset transfers.
Then, using an API to bitcoin/etc. block explorers, check that the transaction appears on the coin blockchain. (I'm not certain that such APIs exist, but I hope so. Don't want to have to run the blockchain of every supported coin.)

The monitor would then be able to show that everything is in balance and users would be able to easily see withdrawals/deposits happening. It would add a large amount of trust to the service, I feel.

Thoughts? Can it be done the way I propose? Is that the best way?

I might start work on this sometime next week if no one else does.
Logged
NXT-CSED-4PK5-AR4V-6UB5V

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: MGW monitor/block explorer.
« Reply #1 on: August 10, 2014, 08:14:09 pm »

This is pretty important. I've been thinking about how to do it and have the following ideas.

Ideally, it's something that any website can run, so it could be added to the multigateway website, but also third party sites like NxtExplorer.

I was thinking that's it's possible without running NxtServices. Just scan the Nxt blockchain for actions from the mgwBTC/etc. assets and track the AMs and asset transfers.
Then, using an API to bitcoin/etc. block explorers, check that the transaction appears on the coin blockchain. (I'm not certain that such APIs exist, but I hope so. Don't want to have to run the blockchain of every supported coin.)

The monitor would then be able to show that everything is in balance and users would be able to easily see withdrawals/deposits happening. It would add a large amount of trust to the service, I feel.

Thoughts? Can it be done the way I propose? Is that the best way?

I might start work on this sometime next week if no one else does.
yes this will work, sites like blockchain.info usually have API
longzai has all the info on how to monitor AM and asset xfers
Great initiative!
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

VanBreuk

  • Hero Member
  • *****
  • Karma: +362/-19
  • Offline Offline
  • Posts: 2772
    • View Profile
Re: MGW monitor/block explorer.
« Reply #2 on: August 10, 2014, 08:34:04 pm »

Actually, it could be great to even include it as a resource in the planned Lite MGW online wallet. I don't know yet longzai's availability, but if we had Lite MGW + MGW block explorer / monitor in a SSL online wallet in the website, it would hardly get easier than that.

Of course it could also be a link in the GUI extension pointing to an external URL.
Logged
GPG Fingerprint: B020 D1C1 F289 3B2C 3577  9EAD 455D D175 5913 C7F1

valarmg

  • Hero Member
  • *****
  • Karma: +178/-57
  • Offline Offline
  • Posts: 1766
    • View Profile
Re: MGW monitor/block explorer.
« Reply #3 on: August 10, 2014, 08:51:24 pm »

Actually, it could be great to even include it as a resource in the planned Lite MGW online wallet. I don't know yet longzai's availability, but if we had Lite MGW + MGW block explorer / monitor in a SSL online wallet in the website, it would hardly get easier than that.

Of course it could also be a link in the GUI extension pointing to an external URL.

Ideally it would be available inside the wallet, and as part of a third party website. Inside the wallet would make it easy for users to immediately see what's going on. Available on third party, so people would be more likely to trust that what they are seeing is actually on the blockchain and can't be spoofed.
Logged
NXT-CSED-4PK5-AR4V-6UB5V

longzai1988

  • Sr. Member
  • ****
  • Karma: +44/-1
  • Offline Offline
  • Posts: 268
    • View Profile
Re: MGW monitor/block explorer.
« Reply #4 on: August 28, 2014, 04:01:08 am »

Logged
10533725144527397164 NXT-HSBE-8PWL-CUCD-BHUD6
NXT Multigateway - http://multigateway.com/

marcus03

  • Sr. Member
  • ****
  • Karma: +24/-1
  • Offline Offline
  • Posts: 389
    • View Profile
Re: MGW monitor/block explorer.
« Reply #5 on: September 13, 2014, 06:59:13 pm »

This is more a monitoring setup for MGW operators than for end users, but I guess it can help end users, too:

http://teamstarbuckmgw.wordpress.com/

This is the status of the Team Starbuck cluster updated every 10 minutes. The python script used for this is in my setup guide: https://docs.google.com/document/d/1BZfV5DrrLEWB-cGAZ0GybITWXAZw5AA0QijsY_c1Dqk/edit#

P.S.: If someone has a nicer solution than using wordpress to publish/update a webpage by email with a 3rd party service, I'd like to know.
Logged
My Android NXT wallet project!
Raspberry Pi NXT node/Two VPS NRS nodes
NXT tips and donations: NXT-X5EB-VSL5-Z7DU-3GWTJ

JZA

  • Full Member
  • ***
  • Karma: +18/-0
  • Offline Offline
  • Posts: 147
  • Looking for the NXT big thing
    • View Profile
Re: MGW monitor/block explorer.
« Reply #6 on: August 11, 2016, 01:38:07 pm »

Maybe we should put this document on the NXT Wiki.
Logged
NXT stufff, NXT-TUAH-6PVY-S2KR-AW4RK
 

elective-stereophonic
elective-stereophonic
assembly
assembly