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

Improve web worker interface #1045

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    891423e View commit details
    Browse the repository at this point in the history
  2. feat(zkappWorkerClient.ts): import Comlink library to enable communic…

    …ation with web workers for improved performance and concurrency
    ymekuria committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    11f1eb6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab90cf4 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    28cf67e View commit details
    Browse the repository at this point in the history
  2. refactor(zkappWorker.ts): remove unused code related to Web Worker co…

    …mmunication to clean up the file and improve readability
    ymekuria committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    8913552 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d32268 View commit details
    Browse the repository at this point in the history
  4. feat(zkappWorkerClient.ts): add remoteApi property to interact with w…

    …orker's methods as if they were local
    ymekuria committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    05948b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    84b3dcc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b9696ea View commit details
    Browse the repository at this point in the history
  7. feat(zkappWorkerClient.ts): update loadContract method to use remoteA…

    …pi for better code organization and readability
    ymekuria committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    5278bb9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f8de957 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8ee8068 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6e7d89a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c34a718 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e07bcd2 View commit details
    Browse the repository at this point in the history
  13. feat(zkappWorkerClient.ts): update createUpdateTransaction and proveU…

    …pdateTransaction method to use remoteApi with web worker
    ymekuria committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    8453211 View commit details
    Browse the repository at this point in the history
  14. feat(zkappWorkerClient.ts): update getTransactionJSON method to use r…

    …emoteApi with web worker
    ymekuria committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4f14c50 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    96842ae View commit details
    Browse the repository at this point in the history
  16. feat(index.page.tsx): add initialization of ZkappWorkerClient to impr…

    …ove functionality and state management in Home component
    ymekuria committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4ce9dd5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e883abe View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3375daf View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9edd889 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. refactor(zkappWorkerClient.ts): update fetchAccount method to correct…

    …ly convert publicKey to base58 before fetching account data
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4d175c7 View commit details
    Browse the repository at this point in the history
  2. refactor(zkappWorker.ts): simplify fetchAccount and initZkappInstance…

    … functions by directly passing PublicKey object instead of an object with publicKey58 property
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    249883b View commit details
    Browse the repository at this point in the history
  3. refactor(zkappWorkerClient.ts): update fetchAccount method to pass pu…

    …blicKey directly without converting it to base58, as it is already in the correct format
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    3fd1430 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e2d824 View commit details
    Browse the repository at this point in the history
  5. refactor(zkappWorkerClient.ts): change methods to be asynchronous fun…

    …ctions to improve code readability and maintain consistency
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    b6b157b View commit details
    Browse the repository at this point in the history
  6. refactor(zkappWorker.ts): reorganize and clean up the code structure …

    …for better readability and maintainability
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    0e8565a View commit details
    Browse the repository at this point in the history
  7. feat(zkappWorkerClient.ts): update fetchAccount method parameter from…

    … publicKey to publicKey58 in UI
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    c34cd5f View commit details
    Browse the repository at this point in the history
  8. feat(zkappWorkerClient.ts): update initZkappInstance method parameter…

    … to accept publicKeyBase58 in UI
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    c5ea077 View commit details
    Browse the repository at this point in the history
  9. refactor(zkappWorkerClient.ts): rename publicKey58 to publicKeyBase58…

    … for consistency and clarity in method parameters
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6393378 View commit details
    Browse the repository at this point in the history
  10. refactor(index.page.tsx): restructure setup logic to only run if stat…

    …e has not been set up yet, improving code readability and efficiency
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    5b62a7b View commit details
    Browse the repository at this point in the history
  11. feature(index.page.tsx): update fetch account method calls with publi…

    …cKeyBase58 parameters
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    839d2a4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    753feae View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    524de8c View commit details
    Browse the repository at this point in the history
  14. feat(index.page.tsx): update fetchAccount calls to use publicKeyBase5…

    …8 and zkappPublicKeyBase58 properties for better readability and consistency
    ymekuria committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    a434588 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    03cfbd9 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. refactor(index.page.tsx): move worker initialization and contract set…

    …up into seperate function
    ymekuria committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    fa625ca View commit details
    Browse the repository at this point in the history