This is the interface for registering as a gateway.
// RegisterOss registered as oss role
// - peerId: peer id
// - domain: domain name, can be empty
//
// Return:
// - string: block hash
// - error: error message
func (c *ChainClient) RegisterOss(peerId []byte, domain string) (string, error)