Skip to content

Latest commit

 

History

History

passport-scanner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

passport-scanner

This application serves static content of a WebAssembly module which works completely in a browser and uses publicly available Ethereum block-chain nodes to provide the following data:

  • the list of deployed passports
  • the history of passport changes

WebAssembly is produced from the Go source code that actively uses Go SDK of reputation protocol.

This is made possible by the recently added an experimental port to WebAssembly in Go 1.11, and also by our changes that were accepted by the go-ethereum community.

Usage

Usage of ./passport-scanner:

  -listen string
    	listen address (default ":8080")
  -nocache
    	prevent browser caching (default true)    	

By default, the application serves content on port 8080, but the port can be changed by specifying the -listen parameter. For example, you can change the port to 8081 using the command:

./passport-scanner -listen :8081

If you run the program with the default settings, then after launch you just need to open the following link in the browser: http://localhost:8080

In your browser make sure you use the correct parameters for Backend URL and Passport factory address. By default, these parameters are set to the following values:

  • Backend URL: https://ropsten.infura.io
  • Passport factory address: 0x35Cb95Db8E6d56D1CF8D5877EB13e9EE74e457F2