Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/indexer
Felipe Renan d7bfcd1e87 Change Address.TokenBalance value to be decimal 6 years ago
..
config Re-enable Ecto loggers 6 years ago
lib Fix dialyzer 6 years ago
test Change Address.TokenBalance value to be decimal 6 years ago
.gitignore mix new indexer --sup 7 years ago
README.md Support for Moxing WebSocket 6 years ago
mix.exs Use curl to signal parallel build is done to coveralls.io 6 years ago

README.md

Indexer

TODO: Add description

Installation

If available in Hex, the package can be installed by adding indexer to your list of dependencies in mix.exs:

def deps do
  [
    {:indexer, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/indexer.

Testing

Parity

Mox

This is the default setup. mix test will work on its own, but to be explicit, use the following setup:

export ETHEREUM_JSONRPC_CASE=EthereumJSONRPC.Case.Parity.Mox
mix test --exclude no_parity

HTTP / WebSocket

export ETHEREUM_JSONRPC_CASE=EthereumJSONRPC.Case.Parity.HTTPWebSocket
mix test --exclude no_parity
Protocol URL
HTTP https://sokol-trace.poa.network
WebSocket wss://sokol-ws.poa.network/ws

Geth

Mox

export ETHEREUM_JSONRPC_CASE=EthereumJSONRPC.Case.Geth.Mox
mix test --exclude no_geth

HTTP / WebSocket

export ETHEREUM_JSONRPC_CASE=EthereumJSONRPC.Case.Geth.HTTPWebSocket
mix test --exclude no_geth
Protocol URL
HTTP https://mainnet.infura.io/8lTvJTKmHPCHazkneJsY
WebSocket wss://mainnet.infura.io/ws/8lTvJTKmHPCHazkneJsY