All Projects β†’ dedis β†’ columbus-united

dedis / columbus-united

Licence: LGPL-3.0 license
πŸ“¦βžΏπŸ“¦βžΏπŸ“¦ Intuitive and insightful blockchain explorer πŸ”Ž

Programming Languages

typescript
32286 projects
SCSS
7915 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to columbus-united

blockchain-explorer
An explorer for Exonum blockchains
Stars: ✭ 13 (-27.78%)
Mutual labels:  blockchain-explorer
explorer
The reference blockchain explorer for Symbol.
Stars: ✭ 17 (-5.56%)
Mutual labels:  blockchain-explorer
mousexplore-vcoins
VCoin nodes for the MouseXplore block explorer
Stars: ✭ 15 (-16.67%)
Mutual labels:  blockchain-explorer
onechain
minimal blockchain ever
Stars: ✭ 56 (+211.11%)
Mutual labels:  blockchain-explorer
bitcoin-vr
An experiment to build a realtime VR visualization of Bitcoin transactions on the blockchain
Stars: ✭ 66 (+266.67%)
Mutual labels:  blockchain-explorer
WeBASE
WeBank Blockchain Application Software Extension
Stars: ✭ 453 (+2416.67%)
Mutual labels:  blockchain-explorer
bscscan-python
The most popular asynchronous Python API for BscScan (Binance Smart Chain Explorer), available via PyPI.
Stars: ✭ 260 (+1344.44%)
Mutual labels:  blockchain-explorer
near-explorer
NEAR blockchain explorer
Stars: ✭ 78 (+333.33%)
Mutual labels:  blockchain-explorer
theta-infrastructure-ledger-explorer
Explorer for the Theta Ledger
Stars: ✭ 57 (+216.67%)
Mutual labels:  blockchain-explorer
navigator-sia
An advanced blockchain explorer for the Sia network
Stars: ✭ 14 (-22.22%)
Mutual labels:  blockchain-explorer
LibraBrowser
LibraBrowser
Stars: ✭ 37 (+105.56%)
Mutual labels:  blockchain-explorer
indyscan
Hyperldger Indy Transaction Explorer
Stars: ✭ 52 (+188.89%)
Mutual labels:  blockchain-explorer
PyBC
Bitcoin blockchain parser for Python 2 and 3. Includes handy examples.
Stars: ✭ 26 (+44.44%)
Mutual labels:  blockchain-explorer

columbus-united

Implementation of an intuitive and insightful blockchain explorer. The Columbus project is a project aiming to facilitate the visualization of the Byzcoin blockchain by providing a unified and interactive visualization tool.

This tool is a web based application written in typescript, bundled with webpack, and using the d3 and rxjs librairies.

πŸ‘Œ Quick TL;DR setup:

  1. Rename src/roster.ts.template to src/roster.ts
  2. Install dependencies with npm install
  3. Bundle the app with npm run bundle
  4. You are ready to go, open index.html

Play with it

Features

"Browsable" chain

Browse the chain with your mouse with drag and zoom. Blocks will naturally load. Actions are also accessible through buttons.

Explore block

Click on blocks to check their content. Many element display additional hints.

Follow evolution of an instance

Check the evolution of a smart contract instance. You can get blocks and instruction related to a particular instance.

Perform search

Use the top search bar to retrieve a particular block. You can select among many different search attribute.

... and many more

Additional features include:

  • Block export to json
  • Tutorial to introduce functionalities to new users
  • Upload of a custom roster
  • Statistics and status about the chain
  • Ability to follow block links

Stack

  • Typescript, as the frontend language
  • NPM, as the package manager
  • Webpack, as the bundler
  • d3, as the visualization library
  • RxJS, as the reactive programming library
  • UIkit, as the CSS framework

Setup (ubuntu)

See details

Install nodejs and npm:

sudo apt-get install nodejs
sudo apt-get install npm

Rename src/roster.ts.template to src/roster.ts. By default it uses the DEDIS roster.

Otherwise, follow instructions in the next section to run a local conode and get a local roster configuration.

Finally, install dependencies with npm install.

You are ready to use the app: bundle it with npm run bundle and open index.html.

If you need to run a local blockchain

If you are developing on Columbus you will need to use a local blockchain in order to avoid over-loading a node running the production blockchain.

Download and extract the latest binaries from https://github.com/c4dt/byzcoin/releases. Choose the folder corresponding to your environment (only Mac and Linux is supported) and run the byzcoin binary in "proxy" mode. You need to provide an existing database. You can download a cached database reflecting the production data at https://demo.c4dt.org/omniledger/cached.db.

Then, run the node in "proxy" mode with :

./byzcoin proxy <MY_DATABASE.db>

That's it ! This will run a node listening on 127.0.0.1:7771.

You can stop it with ctrl + C.

There are additional options that you can spot with ./byzcoin proxy -h.

You can then use the following roster in your roster.ts:

[[servers]]
  Url = "http://127.0.0.1:7771"
  Suite = "Ed25519"
  Public = "0000000000000000000000000000000000000000000000000000000000000000"

Some useful commands

Bundle the project (from the root): npm run bundle
Watch for source code changes and automatically bundle: npm run watch
Check TypeScript code formatting: npm run lint
Check if the code is well formatted: npm run isPretty
Format the code: npm run makePretty

Recommendations for Visual Studio Code

See details

Settings

Add vertical lines at columns 80 and 100: editor.rulers -> Edit in settings.json -> "editor.rulers": [80,100]

Extensions

Live Server

Purpose: Automatically refresh the html upon compile
Install: ritwickdey.liveserver
Use:

  • Right click on index.html
  • Open with Live Server

Prettier - Code formatter

Purpose: Automatically format the code
Install: esbenp.prettier-vscode
Setup: setting editor.defaultFormatter -> select esbenp.prettier-vscode
Use:

  • Open Command Palette (Ctrl+Shift+P)
  • Format Document

TypeScript Hero

Purpose: Automatically organize TypeScript imports
Install: rbbit.typescript-hero
Use:

  • Open Command Palette (Ctrl+Shift+P)
  • TS Hero: Organize imports

Rewrap

Purpose: Automatically reformat comments to a given line length (default is 80)
Install: stkb.rewrap
Use:

  • Open Command Palette (Ctrl+Shift+P)
  • Rewrap Comment / Text

Comment Anchor

Purpose: Place anchor tags within comments for easy file & workspace navigation. Install: ext install ExodiusStudios.comment-anchors Use:

  • Use \\ANCHOR and \\SECTION to delimitate code regions
  • Use \\TODO, \\FIXME to mark specific areas
  • Read the documentation for more features

Production deployment

A change on the production branch automatically triggers a deployment on https://status.dedis.ch.

The production branch must only be used that way:

# Trigger a deployment:
git push origin master:production

Dev deployment

A change on the deploy-dev branch automatically triggers a deployment on https://wookiee.ch/columbus-dev.

The deploy-dev branch must only be used that way:

# Trigger a deployment:
git push origin <source branch>:deploy-dev

Documentation

Generate the documentation: npm run doc

Design Guidelines

Can be found in the most recent report

Contributors

Supervision and integration

  • NoΓ©mien Kocher

Student project Spring 2020:

Student project Fall 2020:

  • Sophia Artioli
  • Lucas Trognon

Common report

Student project Spring 2021:

  • Rosa Jose Sara
  • Pilar Marxer

Common report

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].