{"id":29635204,"url":"https://github.com/ronanyeah/sui-connect","last_synced_at":"2025-07-21T16:10:20.947Z","repository":{"id":287269581,"uuid":"964157430","full_name":"ronanyeah/sui-connect","owner":"ronanyeah","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-25T20:38:58.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T21:29:52.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ronanyeah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-10T19:22:11.000Z","updated_at":"2025-04-25T20:39:02.000Z","dependencies_parsed_at":"2025-04-10T21:24:14.307Z","dependency_job_id":"c8a29782-f44c-430e-b673-8f71387bed77","html_url":"https://github.com/ronanyeah/sui-connect","commit_stats":null,"previous_names":["ronanyeah/sui-connect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ronanyeah/sui-connect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronanyeah%2Fsui-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronanyeah%2Fsui-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronanyeah%2Fsui-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronanyeah%2Fsui-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronanyeah","download_url":"https://codeload.github.com/ronanyeah/sui-connect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronanyeah%2Fsui-connect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266332716,"owners_count":23912663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-21T16:10:20.282Z","updated_at":"2025-07-21T16:10:20.937Z","avatar_url":"https://github.com/ronanyeah.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sui-connect\n\nA wrapper for importing the `@mysten/dapp-kit` Sui wallet select menu into a non-React project. ([Webpack example](https://github.com/ronanyeah/elm-webpack))\n\nFor an alternative project that uses a `\u003cscript\u003e` tag instead of imports, see: [juzybits/polymedia-suiconnect](https://github.com/juzybits/polymedia-suiconnect)\n\n### Usage\n```ts\nimport { WalletAccount } from \"@mysten/wallet-standard\";\nimport { init as suiConnectInit } from \"sui-connect\";\n\nconst hooks = await suiConnectInit(\"sui:testnet\");\n\nhooks.setModalOpen(true);\n\nhooks.walletSubscribe((wallet: WalletAccount | null) =\u003e {\n  console.log(\"wallet:\", wallet);\n});\n\nconst wallet: WalletAccount | null = hooks.currentAccount();\n\nhooks.signTransaction(tx);\n\nhooks.signMessage(msg);\n\nhooks.disconnectWallet();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronanyeah%2Fsui-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronanyeah%2Fsui-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronanyeah%2Fsui-connect/lists"}