ipld-eth-server/main.go

12 lines
236 B
Go
Raw Normal View History

2017-10-18 20:14:17 +00:00
package main
import (
"github.com/8thlight/vulcanizedb/core"
)
2017-10-18 20:14:17 +00:00
func main() {
var blockchain core.Blockchain = core.NewGethBlockchain()
blockchain.RegisterObserver(core.BlockchainLoggingObserver{})
2017-10-23 18:58:33 +00:00
blockchain.SubscribeToEvents()
2017-10-18 20:14:17 +00:00
}