Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update example utils #53

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Conversation

Sotatek-TanHoang
Copy link
Contributor

@Sotatek-TanHoang Sotatek-TanHoang commented Oct 28, 2024

Added examples for kaia-sdk:

  1. Web3js-ext:
    • utils.js: public key conversion, unit conversion, signature conversion examples
  2. web3py-ext:
    • compress_key.py: Convert public key from {r, s, v} to string and vice versa
    • signature_convert.py: Convert signature from different formats
    • unit_convert.py: Convert units from kei/Gkei/kaia
  3. web3j-ext: public key conversion, unit conversion, signature conversion examples
    • PublicKeyUtilsExample.java: public key compress and decompress with AccountKeyPublicUtils
    • SignatureUtilsExample.java: Convert signature from different formats
    • UnitConvertExample.java: Convert units from kei/Gkei/kaia

@Sotatek-TanHoang
Copy link
Contributor Author

updated keystore examples for web3py-ext

@Sotatek-TanHoang Sotatek-TanHoang merged commit 367bb1f into dev Oct 29, 2024
2 checks passed
@Sotatek-TanHoang Sotatek-TanHoang deleted the feat/update-example-utils branch October 29, 2024 03:17
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