David Ellams
David Ellams
I am also using this code to convert the payload to a binary array so it can be hashed: ``` // Convert an object to a byte array public static...
Thanks for getting back to me, appreciated. :) Thanks for the IPC code you shared, I will look further into this... yes would be great to be connected with the...
Actually, I think I figured out most my questions above, my code now looks like this: ``` var seed = RandomNumberGenerator.GetBytes(32); byte[] privateKey; byte[] publicKey; Ed25519.KeyPairFromSeed(out publicKey, out privateKey, seed);...
Ok great thanks, I will have a look at the https://github.com/holochain/lair/blob/main/crates/lair_keystore_api/src/ipc_keystore/raw_ipc.rs code you mentioned soon... But first want to get it working the same way yours does... The next thing...
Looking at your code I found that this function looks like the main function in the admin api that grants capabilities to zome calls: ``` /** * Grant a capability...
ok great thanks, will attempt to implement this in my c# client now... wish me luck! ;-)
I am just trying to work out exactly what I need to send to the admin api, currently for the app api it sends the code I showed previously: ```...
Ok great thanks. :) In your code everything is set with a property name and value but for functions it has no property name? So far I have this code:...
Ok thanks, so what is this in ts? ``` export type GrantedFunctions = | { [GrantedFunctionsType.All]: null } | { [GrantedFunctionsType.Listed]: [ZomeName, FunctionName][] }; ``` A Dictionary containing a key...
Does this look right to you? ``` public async Task GrantCapabilityAsync(byte[][] cellId, GrantedFunctions functions, string id = "") { var seed = RandomNumberGenerator.GetBytes(32); byte[] privateKey; byte[] publicKey; if (string.IsNullOrEmpty(id)) {...