{"id":40499327,"url":"https://github.com/madfish-solutions/templewallet-dapp","last_synced_at":"2026-01-20T19:03:34.558Z","repository":{"id":48250122,"uuid":"268317005","full_name":"madfish-solutions/templewallet-dapp","owner":"madfish-solutions","description":"👾 This module is required to provide communication between DApps and Temple Wallet","archived":false,"fork":false,"pushed_at":"2025-09-26T12:24:55.000Z","size":514,"stargazers_count":16,"open_issues_count":7,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-11T17:52:07.015Z","etag":null,"topics":["dapps","defi","temple","temple-wallet","templewallet","tezos"],"latest_commit_sha":null,"homepage":"https://templewallet.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madfish-solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-31T16:17:59.000Z","updated_at":"2025-09-26T12:24:59.000Z","dependencies_parsed_at":"2023-01-21T18:46:52.047Z","dependency_job_id":null,"html_url":"https://github.com/madfish-solutions/templewallet-dapp","commit_stats":null,"previous_names":["madfish-solutions/thanoswallet-dapp"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/madfish-solutions/templewallet-dapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfish-solutions%2Ftemplewallet-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfish-solutions%2Ftemplewallet-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfish-solutions%2Ftemplewallet-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfish-solutions%2Ftemplewallet-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madfish-solutions","download_url":"https://codeload.github.com/madfish-solutions/templewallet-dapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfish-solutions%2Ftemplewallet-dapp/sbom","scorecard":{"id":610257,"data":{"date":"2025-08-11","repo":{"name":"github.com/madfish-solutions/templewallet-dapp","commit":"a662617c39964b9977fc21625bc1aa53679c17f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"32 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-xq7p-g2vc-g82p","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T02:28:12.833Z","repository_id":48250122,"created_at":"2025-08-21T02:28:12.833Z","updated_at":"2025-08-21T02:28:12.833Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28609587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dapps","defi","temple","temple-wallet","templewallet","tezos"],"created_at":"2026-01-20T19:03:19.987Z","updated_at":"2026-01-20T19:03:34.529Z","avatar_url":"https://github.com/madfish-solutions.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TempleWallet DApp Module\n\nThis module is required to provide communication between DApps and Temple Wallet, it exposes unified interface for this interaction.\n\n## 🚀 Quick Start\n\n### Install\n\n```bash\nyarn add @taquito/taquito @temple-wallet/dapp\n```\n\n### Usage\n\n```typescript\nimport { TempleWallet } from \"@temple-wallet/dapp\";\n\n(async () =\u003e {\n  try {\n    const available = await TempleWallet.isAvailable();\n    if (!available) {\n      throw new Error(\"Temple Wallet not installed\");\n    }\n\n    // Note:\n\n    // use `TempleWallet.isAvailable` method only after web application fully loaded.\n\n    // Alternatively, you can use the method `TempleWallet.onAvailabilityChange`\n    // that tracks availability in real-time .\n\n    const wallet = new TempleWallet(\"My Super DApp\");\n    await wallet.connect(\"carthagenet\");\n    const tezos = wallet.toTezos();\n\n    const accountPkh = await tezos.wallet.pkh();\n    const accountBalance = await tezos.tz.getBalance(accountPkh);\n    console.info(`address: ${accountPkh}, balance: ${accountBalance}`);\n\n    const counter = await tezos.wallet.at(\n      \"KT1DjYkruvfujfKw6nLYafArqKufcwHuKXvT\"\n    );\n\n    const operation = await counter.methods.increment(1).send();\n    await operation.confirmation();\n\n    const counterValue = await counter.storage();\n    console.info(`count: ${counterValue}`);\n  } catch (err) {\n    console.error(err);\n  }\n})();\n```\n\n#### Check permissions\n\n```typescript\nimport { TempleWallet } from \"@temple-wallet/dapp\";\n\n(async () =\u003e {\n  try {\n    const available = await TempleWallet.isAvailable();\n    if (!available) {\n      throw new Error(\"Temple Wallet not installed\");\n    }\n\n    const permission = await TempleWallet.getCurrentPermission();\n    // Alternatively, you can use the method `TempleWallet.onPermissionChange`\n    // that tracks current permission in real-time.\n\n    console.info(permission);\n    // prints \"{ rpc: string, pkh: string, publicKey: string }\" if permission exists, \"null\" - if not.\n\n    const wallet = new TempleWallet(\"My Super DApp\", permission);\n\n    console.info(wallet.connected);\n    // prints \"true\" if permission exists, \"false\" - if not.\n\n    if (!wallet.connected) {\n      await wallet.connect(\"carthagenet\");\n    }\n\n    const tezos = wallet.toTezos();\n\n    // ...\n  } catch (err) {\n    console.error(err);\n  }\n})();\n```\n\n#### Sign\n\n```typescript\nimport { TempleWallet } from \"@temple-wallet/dapp\";\n\n(async () =\u003e {\n  try {\n    const wallet = new TempleWallet(\"My Super DApp\");\n    // ...\n\n    // Only hex strings\n    const signature = await wallet.sign(\n      Buffer.from(\"Hello world\").toString(\"hex\")\n    );\n  } catch (err) {\n    console.error(err);\n  }\n})();\n```\n\n### Demo\n\nYou can find the example of Counter DApp in [this repo](https://github.com/madfish-solutions/counter-dapp).\n\n## API\n\nYou can explore auto generated [full API Docs here](docs/README.md).\n\nProbably you would be most interested in the [TempleWallet class](docs/classes/templewallet.md) methods.\n\n## Local Development\n\nBelow is a list of commands you will probably find useful.\n\n### npm run dev or yarn dev\n\nRuns the project in development/watch mode. Your project will be rebuilt upon changes.\n\nYour library will be rebuilt if you make edits.\n\n### npm run build or yarn build\n\nBundles the package to the dist folder.\nThe package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadfish-solutions%2Ftemplewallet-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadfish-solutions%2Ftemplewallet-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadfish-solutions%2Ftemplewallet-dapp/lists"}