poanetwork / chain-explorer Goto Github PK
View Code? Open in Web Editor NEWBlockchain explorer
License: GNU General Public License v3.0
Blockchain explorer
License: GNU General Public License v3.0
There are old versions of Solidity in Compiler Version
drop-down list on the page https://sokol-explorer.poa.network/contract/verify. The suggestion is to add the latest releases in the list.
I see error 502 (bad gateway) when I try to view transaction info.
I'm trying to get it run but seems like web3
and ethereumjs-abi
have conflicts each other. I try to install one and the other go missing. What will be a fix?
Log when I install web3
:
root@parity:~/chain-explorer# npm install web3 --loglevel verbose
npm info it worked if it ends with ok
npm verb cli [ '/root/.nvm/versions/node/v8.11.2/bin/node',
npm verb cli '/root/.nvm/versions/node/v8.11.2/bin/npm',
npm verb cli 'install',
npm verb cli 'web3',
npm verb cli '--loglevel',
npm verb cli 'verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session 429a2aa47b426af3
npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /root/.npm/_locks/staging-509e95a296416c8a.lock for /root/chain-explorer/node_modules/.staging
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm verb unlock done using /root/.npm/_locks/staging-509e95a296416c8a.lock for /root/chain-explorer/node_modules/.staging
npm verb saving [ { name: 'web3',
npm verb saving spec: 'git+https://github.com/gobitfly/web3.js.git#develop',
npm verb saving save: 'dependencies' } ]
npm verb shrinkwrap skipping write for package.json because there were no changes.
npm info lifecycle undefined~preshrinkwrap: undefined
npm info lifecycle undefined~shrinkwrap: undefined
npm verb shrinkwrap skipping write for package-lock.json because there were no changes.
npm info lifecycle undefined~postshrinkwrap: undefined
+ [email protected]
updated 1 package in 1.862s
npm verb exit [ 0, true ]
npm info ok
Log when I install ethereumjs-abi
:
root@parity:~/chain-explorer# npm install ethereumjs-abi --logleve verbose
npm info it worked if it ends with ok
npm verb cli [ '/root/.nvm/versions/node/v8.11.2/bin/node',
npm verb cli '/root/.nvm/versions/node/v8.11.2/bin/npm',
npm verb cli 'install',
npm verb cli 'ethereumjs-abi',
npm verb cli '--logleve',
npm verb cli 'verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session 3abc9c88ef66c8c7
npm info lifecycle [email protected]~prepack: [email protected]
npm info lifecycle [email protected]~postpack: [email protected]
npm http fetch GET 304 https://registry.npmjs.org/ethereumjs-util 135ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/keccakjs 29ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/sha3 25ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/browserify-sha3 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/js-sha3 28ms (from cache)
npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /root/.npm/_locks/staging-509e95a296416c8a.lock for /root/chain-explorer/node_modules/.staging
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm verb unbuild rmStuff in /root/chain-explorer/node_modules/web3/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from /root/chain-explorer/node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
> [email protected] install /root/chain-explorer/node_modules/sha3
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp verb cli [ '/root/.nvm/versions/node/v8.11.2/bin/node',
gyp verb cli '/root/.nvm/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.12\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.11.2
gyp verb command install [ '8.11.2' ]
gyp verb install input version string "8.11.2"
gyp verb install installing version: 8.11.2
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.11.2
gyp verb build dir attempting to create "build" dir: /root/chain-explorer/node_modules/sha3/build
gyp verb build dir "build" dir needed to be created? /root/chain-explorer/node_modules/sha3/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /root/chain-explorer/node_modules/sha3/build/config.gypi
gyp verb config.gypi checking for gypi file: /root/chain-explorer/node_modules/sha3/config.gypi
gyp verb common.gypi checking for gypi file: /root/chain-explorer/node_modules/sha3/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/root/.nvm/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/root/chain-explorer/node_modules/sha3/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.nvm/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.node-gyp/8.11.2/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/8.11.2',
gyp info spawn args '-Dnode_gyp_dir=/root/.nvm/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/8.11.2/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/root/chain-explorer/node_modules/sha3',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /root/.node-gyp/8.11.2
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/root/chain-explorer/node_modules/sha3/build'
g++ '-DNODE_GYP_MODULE_NAME=sha3' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/8.11.2/include/node -I/root/.node-gyp/8.11.2/src -I/root/.node-gyp/8.11.2/deps/uv/include -I/root/.node-gyp/8.11.2/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/sha3/src/addon.o.d.raw -c -o Release/obj.target/sha3/src/addon.o ../src/addon.cpp
g++ '-DNODE_GYP_MODULE_NAME=sha3' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/8.11.2/include/node -I/root/.node-gyp/8.11.2/src -I/root/.node-gyp/8.11.2/deps/uv/include -I/root/.node-gyp/8.11.2/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/sha3/src/displayIntermediateValues.o.d.raw -c -o Release/obj.target/sha3/src/displayIntermediateValues.o ../src/displayIntermediateValues.cpp
g++ '-DNODE_GYP_MODULE_NAME=sha3' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/8.11.2/include/node -I/root/.node-gyp/8.11.2/src -I/root/.node-gyp/8.11.2/deps/uv/include -I/root/.node-gyp/8.11.2/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/sha3/src/KeccakF-1600-reference.o.d.raw -c -o Release/obj.target/sha3/src/KeccakF-1600-reference.o ../src/KeccakF-1600-reference.cpp
g++ '-DNODE_GYP_MODULE_NAME=sha3' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/8.11.2/include/node -I/root/.node-gyp/8.11.2/src -I/root/.node-gyp/8.11.2/deps/uv/include -I/root/.node-gyp/8.11.2/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/sha3/src/KeccakNISTInterface.o.d.raw -c -o Release/obj.target/sha3/src/KeccakNISTInterface.o ../src/KeccakNISTInterface.cpp
g++ '-DNODE_GYP_MODULE_NAME=sha3' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/8.11.2/include/node -I/root/.node-gyp/8.11.2/src -I/root/.node-gyp/8.11.2/deps/uv/include -I/root/.node-gyp/8.11.2/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/sha3/src/KeccakSponge.o.d.raw -c -o Release/obj.target/sha3/src/KeccakSponge.o ../src/KeccakSponge.cpp
g++ -shared -pthread -rdynamic -m64 -Wl,-soname=sha3.node -o Release/obj.target/sha3.node -Wl,--start-group Release/obj.target/sha3/src/addon.o Release/obj.target/sha3/src/displayIntermediateValues.o Release/obj.target/sha3/src/KeccakF-1600-reference.o Release/obj.target/sha3/src/KeccakNISTInterface.o Release/obj.target/sha3/src/KeccakSponge.o -Wl,--end-group
rm -rf "Release/sha3.node" && cp -af "Release/obj.target/sha3.node" "Release/sha3.node"
make: Leaving directory '/root/chain-explorer/node_modules/sha3/build'
gyp info ok
npm verb lifecycle [email protected]~install: unsafe-perm in lifecycle false
npm verb lifecycle [email protected]~install: PATH: /root/.nvm/versions/node/v8.11.2/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/chain-explorer/node_modules/sha3/node_modules/.bin:/root/chain-explorer/node_modules/.bin:/root/.nvm/versions/node/v8.11.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
npm verb lifecycle [email protected]~install: CWD: /root/chain-explorer/node_modules/sha3
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm verb unlock done using /root/.npm/_locks/staging-509e95a296416c8a.lock for /root/chain-explorer/node_modules/.staging
npm verb saving [ { name: 'ethereumjs-abi',
npm verb saving spec: 'git+https://github.com/gobitfly/ethereumjs-abi.git',
npm verb saving save: 'dependencies' } ]
npm verb shrinkwrap skipping write for package.json because there were no changes.
npm info lifecycle undefined~preshrinkwrap: undefined
npm info lifecycle undefined~shrinkwrap: undefined
npm info lifecycle undefined~postshrinkwrap: undefined
+ [email protected]
added 6 packages and removed 6 packages in 4.558s
npm verb exit [ 0, true ]
npm info ok
There is an old repo URL in README:
Clone this repository to your local machine: git clone https://github.com/gobitfly/etherchain-light --recursive (Make sure to include --recursive in order to fetch the solc-bin git submodule)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.