nebulasio / explorer

Block Explorer of Nebulas
https://explorer-flame.vercel.app
GNU Lesser General Public License v3.0
107 stars 86 forks source link

How to contribute to explorer? #62

Closed feliciss closed 4 years ago

feliciss commented 6 years ago

I am running in local front-end environment and editing back-end data. The result is not shown on expectation.

feliciss commented 6 years ago

I don't know how to modify the data 'type' from api getAccount?

ChengOrangeJu commented 6 years ago

Could you help explain more about why you modify the data type? It shows the different type of account 87 stands for normal address and 88 stands for contract address

ChengOrangeJu commented 6 years ago

https://github.com/nebulasio/wiki/blob/master/rpc.md#getaccountstate

feliciss commented 6 years ago

@ChengOrangeJu I want to modify and output contract address, but api http://192.168.1.168:8080/api/account doesn't output variable 'type' as JSON, while the frontend can get type through o.type. it outputs 0 and I can't find the original input and modify it.