Files
motr-enclave/internal/types/generate.go

20 lines
464 B
Go

package types
type GenerateInput struct {
Credential string `json:"credential"`
}
type GenerateOutput struct {
DID string `json:"did"`
Database []byte `json:"database"`
EnclaveID string `json:"enclave_id"`
PublicKey string `json:"public_key"`
Accounts []AccountInfo `json:"accounts"`
}
type AccountInfo struct {
Address string `json:"address"`
ChainID string `json:"chain_id"`
CoinType int64 `json:"coin_type"`
}