Skip to content

feat(epic): Create a walrus sites TS-SDK - WIP#618

Draft
Tzal3x wants to merge 50 commits intomainfrom
epic/sew-525-walrus-sites-typescript-sdk
Draft

feat(epic): Create a walrus sites TS-SDK - WIP#618
Tzal3x wants to merge 50 commits intomainfrom
epic/sew-525-walrus-sites-typescript-sdk

Conversation

@Tzal3x
Copy link
Collaborator

@Tzal3x Tzal3x commented Dec 11, 2025

Important notice

This branch is considered an epic. Please merge all your TS-SDK related PRs to this branch until we finally release it.

Summary

  • Define skeleton of the SDK following Mysten Labs SDK conventions.
  • Integrate code-quality tools: define prettierrc for linting, integrate sonarrqube.
  • Define a test suite.

Publish a test site without using
a site-builder CLI yet.
Just use the walrus sites smart contract.
Move signing and gas handling into SiteBuilder.run and update tests to call run instead of having
the flow sign/execute the transaction
Rename publish_site_flow to create_site_and_send_to_sender and update tests to import and call the
new function. Add an empty publish_quilt stub in walrus utils.
Introduce CreateAndAddResourceOptions type and add a stub createAndAddResource method to
WalrusSitesClient with TODO comments. Add publish implementation notes outlining the steps to
create, attach, and add resources; keep other site methods unimplemented.
Running the publish test
returns a timeout error.

Maybe we should consider using
an upload relay?
Added a few more stuff to the client.publish
but it fails with a RangeError (not a number)
from inside the createAndAddResource. I should
create a unit tests to debug this.
@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
walrus-sites-sw-testnet Ready Ready Preview, Comment Dec 15, 2025 10:50am

…ansactionExecutor, for simple Signer.signAndExecuteTransaction, because it wasn't working with codegen mvr types
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@Tzal3x Tzal3x requested review from nikos-terzo and removed request for nikos-terzo December 17, 2025 09:21
@Tzal3x Tzal3x removed their assignment Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants