Skip to content

Commit

Permalink
release: 0.4.0
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leckey <[email protected]>
  • Loading branch information
mehcode committed Jul 19, 2022
1 parent 7b5c8e4 commit a8ffea3
Show file tree
Hide file tree
Showing 46 changed files with 1,574 additions and 239 deletions.
36 changes: 14 additions & 22 deletions CHedera.xcframework/ios-arm64/Headers/hedera.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,28 +109,11 @@ void hedera_client_free(struct HederaClient *client);
* Sets the account that will, by default, be paying for transactions and queries built with
* this client.
*/
void hedera_client_set_payer_account_id(struct HederaClient *client,
uint64_t id_shard,
uint64_t id_realm,
uint64_t id_num);

/**
* Gets the account that is, by default, paying for transactions and queries built with
* this client.
*/
void hedera_client_get_payer_account_id(struct HederaClient *client,
uint64_t *id_shard,
uint64_t *id_realm,
uint64_t *id_num);

/**
* Adds a signer that will, by default, sign for all transactions and queries built
* with this client.
*
* Takes ownership of the passed signer.
*
*/
void hedera_client_add_default_signer(struct HederaClient *client, struct HederaSigner *signer);
void hedera_client_set_operator(struct HederaClient *client,
uint64_t id_shard,
uint64_t id_realm,
uint64_t id_num,
struct HederaPrivateKey *key);

/**
* Parse a Hedera `EntityId` from the passed string.
Expand All @@ -148,6 +131,15 @@ enum HederaError hedera_execute(const struct HederaClient *client,
const void *context,
void (*callback)(const void *context, enum HederaError err, const char *response));

/**
* Parse a Hedera `NftId` from the passed string.
*/
enum HederaError hedera_nft_id_from_string(const char *s,
uint64_t *token_id_shard,
uint64_t *token_id_realm,
uint64_t *token_id_num,
uint64_t *serial_number);

/**
* Generates a new Ed25519 private key.
*/
Expand Down
Loading

0 comments on commit a8ffea3

Please sign in to comment.