{"id":13767052,"url":"https://github.com/argentlabs/argent-x","last_synced_at":"2026-01-17T22:27:41.366Z","repository":{"id":36951479,"uuid":"425851845","full_name":"argentlabs/argent-x","owner":"argentlabs","description":"ArgentX browser extension for StarkNet - made with ❤️ by Argent","archived":false,"fork":false,"pushed_at":"2025-03-14T13:34:50.000Z","size":50171,"stargazers_count":642,"open_issues_count":92,"forks_count":276,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-10-21T23:10:47.748Z","etag":null,"topics":["argent","argent-x","argentx","browser","cairo","ethereum","extension","starknet","starkware","wallet"],"latest_commit_sha":null,"homepage":"https://github.com/argentlabs/argent-x","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/argentlabs.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"Contributing.md","funding":null,"license":"License.md","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":"2021-11-08T13:37:56.000Z","updated_at":"2025-10-21T07:43:27.000Z","dependencies_parsed_at":"2023-01-17T07:47:11.482Z","dependency_job_id":"9616b3a9-8c84-431e-b631-92c6222bb149","html_url":"https://github.com/argentlabs/argent-x","commit_stats":{"total_commits":3399,"total_committers":26,"mean_commits":"130.73076923076923","dds":0.7266843189173287,"last_synced_commit":"0607c5e58742dd33b3737e898ca78e97d7c4fb44"},"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/argentlabs/argent-x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argentlabs%2Fargent-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argentlabs%2Fargent-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argentlabs%2Fargent-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argentlabs%2Fargent-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/argentlabs","download_url":"https://codeload.github.com/argentlabs/argent-x/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argentlabs%2Fargent-x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28520493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["argent","argent-x","argentx","browser","cairo","ethereum","extension","starknet","starkware","wallet"],"created_at":"2024-08-03T16:01:04.042Z","updated_at":"2026-01-17T22:27:41.349Z","avatar_url":"https://github.com/argentlabs.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized","TypeScript","browser","Tools"],"sub_categories":["Uncategorized","Flutter SDK / Libraries"],"readme":"\u003c!-- logo --\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/argentlabs/argent-x/HEAD/assets/readme-header.png\"\u003e\n\u003c/p\u003e\n\n---\n\n\u003ch3 align='center' style='margin: 1em;'\u003e⬇️ Get \u003cb\u003eArgent X\u003c/b\u003e for Starknet today:\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://chrome.google.com/webstore/detail/argent-x-starknet-wallet/dlcobpjiigpikoobohmabehhmhfoodbb/\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/argentlabs/argent-x/HEAD/assets/button-download.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=argentlabs_argent-x-private\u0026metric=alert_status\u0026token=37f8b93db6e967b7992252f0e70c62ff6da11bbb)](https://sonarcloud.io/summary/new_code?id=argentlabs_argent-x-private) [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=argentlabs_argent-x-private\u0026metric=sqale_index\u0026token=37f8b93db6e967b7992252f0e70c62ff6da11bbb)](https://sonarcloud.io/summary/new_code?id=argentlabs_argent-x-private) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=argentlabs_argent-x-private\u0026metric=coverage\u0026token=37f8b93db6e967b7992252f0e70c62ff6da11bbb)](https://sonarcloud.io/summary/new_code?id=argentlabs_argent-x-private)\n\n---\n\n\u003ch2\u003e🌈 Table of contents\u003c/h2\u003e\n\n- [🧒 Example dapp](#-example-dapp)\n- [🌐 Usage with your dapp](#-usage-with-your-dapp)\n- [🚀 Install from sources](#-install-from-sources)\n  - [Chrome](#chrome)\n  - [Firefox](#firefox)\n- [👩🏾‍💻 Development](#-development)\n- [🧪 Testing](#-testing)\n  - [Setup](#setup)\n  - [Run devnet locally](#run-devnet-locally)\n  - [Run tests](#run-tests)\n  - [Tools to help with testing](#tools-to-help-with-testing)\n- [✏️ Contributing](#️-contributing)\n- [❤️ Family and friends](#️-family-and-friends)\n- [👨🏼‍🎨 Authors and license](#-authors-and-license)\n\n## 🧒 Example dapp\n\nYou can try the extension using our example dapp hosted at:\n\n[https://github.com/argentlabs/starknetkit-example-dapp](https://github.com/argentlabs/starknetkit-example-dapp)\n\n## 🌐 Usage with your dapp\n\nIf you want to use this Starknet Wallet extension with your dapp, the easiest way is to checkout the [starknetkit](https://github.com/argentlabs/starknetkit) package\n\n```bash\n# starknet.js is a peer dependency\npnpm add starknetkit starknet\n```\n\n```javascript\nimport { connect } from \"starknetkit\"\n\n// Let the user pick a wallet (on button click)\nconst starknet = connect()\n\nif (!starknet) {\n  throw Error(\"User rejected wallet selection or silent connect found nothing\")\n}\n\n// (optional) connect the wallet\nawait starknet.enable()\n\n// Check if connection was successful\nif(starknet.isConnected) {\n    // If the extension was installed and successfully connected, you have access to a starknet.js Signer object to do all kinds of requests through the user's wallet contract.\n    starknet.account.execute({ ... })\n} else {\n    // In case the extension wasn't successfully connected you still have access to a starknet.js Provider to read starknet states and sent anonymous transactions\n    starknet.provider.callContract( ... )\n}\n```\n\nCheckout [starknet.js](https://github.com/0xs34n/starknet.js) to learn more about how to use `Provider` and `Signer`.\n\n## 🚀 Install from sources\n\nFirst clone this repository on your machine then run:\n\n```bash\npnpm run setup  # setup dependencies\npnpm build  # run build process for all packages\n```\n\nNow you need to load the locally built chrome extension into your browser, by loading an unpacked extension from path `packages/extension/dist`:\n\n### Chrome\n\n1. Open the Extension Management page by navigating to `chrome://extensions`.\n2. Enable Developer Mode by clicking the toggle switch next to **Developer mode**.\n3. Click the Load unpacked button and select the extension directory.\n\n![Chrome screenshot of setup](https://wd.imgix.net/image/BhuKGJaIeLNPW9ehns59NfwqKxF2/vOu7iPbaapkALed96rzN.png?auto=format)\n\n[Source](https://developer.chrome.com/docs/extensions/mv3/getstarted/#manifest)\n\n### Firefox\n\n1. Open the Extension Management page by navigating to `about:debugging#/runtime/this-firefox`\n2. Select the `manifest.json` from the dist folder\n\n[Source](https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html)\n\n## 👩🏾‍💻 Development\n\nTo contribute to this repository please read the [contributing guidelines](Contributing.md) first.\n\nTo setup the repo on your machine just run:\n\n```bash\npnpm run setup # setup dependencies\npnpm dev   # run build process for all packages in watch mode\n```\n\nThis project contains 3 packages:\n\n| package | description |\n| --- | --- |\n| extension | Argent X extension |\n| get-starknet | npm module to get started with starknet.js and Argent X quickly |\n| dapp | example dapp for testing purposes and example for dapps how to use `get-starknet` |\n\nTo test changes made to the `extension` package you need to load the local unpacked extension into Chrome as [described above](#install-fromsources). Changes are shown after reopening the extension. Changes to `background.js` are just shown after a complete restart of the Chrome process.\n\n## 🧪 Testing\n\n### Setup\n\nSome tests require [`starknet-devnet`](https://github.com/Shard-Labs/starknet-devnet) to be available at http://127.0.0.1:5050/. If tests are run without then you may see errors including `connect ECONNREFUSED 127.0.0.1:5050`.\n\n### Run devnet locally\n\nFor convenience this service can be started with [Docker desktop](https://www.docker.com/get-started/) running;\n\n- For ARM computers (e.g. Mac computers with Apple silicon)\n\n  ```bash\n  docker run -it -p 5050:5050 shardlabs/starknet-devnet-rs:0.0.7-arm-seed0\n  ```\n\n- Otherwise\n\n  ```bash\n  docker run -it -p 5050:5050 shardlabs/starknet-devnet-rs:0.0.7-seed0\n  ```\n\n### Run tests\n\n```bash\npnpm test      # run unit tests for all packages\npnpm test:e2e  # run end-to-end tests for all packages\n```\n\n### Tools to help with testing\n\nSee also [/docs/tools-for-local-testing.md](/docs/tools-for-local-testing.md)\n\n## ✏️ Contributing\n\nEveryone is welcome to contribute. Please take a moment to review the [contributing guidelines](Contributing.md).\n\n## ❤️ Family and friends\n\nSince this project would not have been possible without [starknet.js](https://github.com/seanjameshan/starknet.js), we would like to say a big thank you to all [starknet.js contributors](https://github.com/0xs34n/starknet.js/graphs/contributors) and [@0xs34n](https://github.com/0xs34n) for starting it.\n\nOne more thank you to the StarkWare Team.\n\n## 👨🏼‍🎨 Authors and license\n\n[Argent](https://github.com/argentlabs) and [contributors](https://github.com/argentlabs/argent-x/graphs/contributors).\n\nSee the included [License.md](License.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargentlabs%2Fargent-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargentlabs%2Fargent-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargentlabs%2Fargent-x/lists"}