Skip to content

Conversation

@Bvvvp009
Copy link
Contributor

Fixed and Added :

  • Fix generate.py: Update SignerClient to use api_private_keys dict format
  • Fix onboard_direct.py: Remove broken fallback code using old constructor
  • Fix onboard_indirect.py: Remove broken fallback code using old constructor
  • Update setup.py: Already correct, includes multi-key support

All examples now compatible with upstream SignerClient changes requiring api_private_keys dictionary instead of separate private_key and api_key_index parameters.

…_keys

- Fix generate.py: Update SignerClient to use api_private_keys dict format
- Fix onboard_direct.py: Remove broken fallback code using old constructor
- Fix onboard_indirect.py: Remove broken fallback code using old constructor
- Update setup.py: Already correct, includes multi-key support

All examples now compatible with upstream SignerClient changes requiring api_private_keys dictionary instead of separate private_key and api_key_index parameters.
if err is not None:
logging.error(err)
print(f"error: failed to setup account {sub_account.index}: {err}", file=sys.stderr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit

Suggested change
print(f"error: failed to setup account {sub_account.index}: {err}", file=sys.stderr)
print(f"Error: failed to setup account {sub_account.index}: {err}", file=sys.stderr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants