My json file looks like
{
"keypairs": {
"keypair1":[12345678],
"keypair2":[12345678],
"keypair3":[12345678],
}
}
where [12345678] is actually the array I copied from the keypair file. How do I read these keypairs again with a rust client? I know there is a solana_sdk::signature::read_keypair_file
but that's fore only 1 keypair in a file, and I'm not sure what to give as arguments to read_keypair
.