Last active
July 17, 2019 18:03
-
-
Save miguelmota/2b435347af87ee6700c9b251e94b72e8 to your computer and use it in GitHub Desktop.
GraphQL types for Ethereum keystore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Keystore { | |
address: String | |
crypto: KeystoreCrypto | |
id: String | |
version: Int | |
} | |
type Crypto { | |
cipher: String | |
cipherparams: CipherParams | |
kdf:String | |
kdfparams: KDFParams | |
mac: String | |
} | |
type CipherParams { | |
iv: String | |
} | |
type KDFParams { | |
dklen: Int | |
n: Int | |
p: Int | |
r: Int | |
salt: String | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
address | |
crypto { | |
cipher | |
cipherparams { | |
iv | |
} | |
kdf | |
kdfparams { | |
dklen | |
n | |
p | |
r | |
salt | |
} | |
mac | |
} | |
id | |
version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment