Skip to content

Coordinator node to be run by hubble commander to coordinate between users and hubble contracts

License

Notifications You must be signed in to change notification settings

thehubbleproject/hubble-commander

Repository files navigation

Hubble-Project

Watch your assets move at light speed!

The hubble project is a framework to create programmable rollups with mass migration capabilities.

Build

$ make build

Install MySQL

You can either install MySQL locally or use docker.

$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=<your-password> -d mysql

You might also want to install a GUI to view the database changes as we dont have a explorer yet.

$ docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin

Initialise configration

$ make init

In config.toml you need to change the key db_url with your correct password

db_url="mysql://root:<your-password>@/testing?charset=utf8&parseTime=True&loc=Local"

In config.toml you also have various params for entering ethereum RPC's and contract address, do check it out!

Run migrations

$ ./build/hubble create-database --dbname=hubble
$ make migrate-up

Reset DB

$ make migrate-down

Start hubble

$ make start

You can view logs at logs/node.log

About

Coordinator node to be run by hubble commander to coordinate between users and hubble contracts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •