Substrate prototype in Go