Watch your assets move at light speed!
The hubble project is a framework to create programmable rollups with mass migration capabilities.
$ make build
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
$ 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!
$ ./build/hubble create-database --dbname=hubble
$ make migrate-up
$ make migrate-down
$ make start
You can view logs at logs/node.log