explorer

SushiChain Blockchain Explorer

Axentro Blockchain Explorer

Axentro Explorer is an open source utility to browse activity on the Blockchain.

Development

Configure the database

r.db('rethinkdb').table('users').insert({id: 'explorer_testnet', password: 'explorer_testnet'});
r.dbCreate('explorer_testnet');
r.db('explorer_testnet').grant('explorer_testnet', {read: true, write: true, config: true});

Build the mint webapp

cd src/explorer/web/static
mint format && mint build
cd ./../../../..

Run the explorer

DEBUG=1 crystal run src/explorer.cr -- -n http://testnet.axentro.io:3000

Compile the binary

shards build --production

Start the compiled web application (static files are in binary)

./bin/explorer -n http://testnet.axentro.io:3000 

RethinkDB docker doc

Link to RethinkDB docker documentation

docker run -p 8080:8080 -p 28015:28015 --name rethinkdb -v "$PWD:/data" -d rethinkdb

# Connecting to the web admin interface on the same host

xdg-open http://localhost:8080

Contributing

  1. Fork it (https://github.com/your-github-user/explorer/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

explorer

Owner
Statistic
  • 0
  • 2
  • 0
  • 0
  • 4
  • over 3 years ago
  • June 21, 2019
License

MIT License

Links
Synced at

Sun, 05 May 2024 20:39:49 GMT

Languages