{"id":20747714,"url":"https://github.com/web3auth/mpc-core-kit","last_synced_at":"2025-07-25T14:10:50.608Z","repository":{"id":154185386,"uuid":"630443601","full_name":"Web3Auth/mpc-core-kit","owner":"Web3Auth","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-12T09:22:35.000Z","size":24065,"stargazers_count":20,"open_issues_count":47,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-28T12:02:55.632Z","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/Web3Auth.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}},"created_at":"2023-04-20T11:49:42.000Z","updated_at":"2025-03-24T13:22:04.000Z","dependencies_parsed_at":"2023-10-03T15:39:34.985Z","dependency_job_id":"f5739029-d385-4f6d-b3dc-84f5e035f0e1","html_url":"https://github.com/Web3Auth/mpc-core-kit","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fmpc-core-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fmpc-core-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fmpc-core-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fmpc-core-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Web3Auth","download_url":"https://codeload.github.com/Web3Auth/mpc-core-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311333,"owners_count":21569009,"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","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":"2024-11-17T08:14:12.200Z","updated_at":"2025-04-28T12:03:04.589Z","avatar_url":"https://github.com/Web3Auth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web3Auth MPC Core Kit\n\n[![npm version](https://img.shields.io/npm/v/@web3auth/mpc-core-kit?label=%22%22)](https://www.npmjs.com/package/@web3auth/mpc-core-kit/v/latest)\n[![minzip](https://img.shields.io/bundlephobia/minzip/@web3auth/mpc-core-kit?label=%22%22)](https://bundlephobia.com/result?p=@web3auth/mpc-core-kit@latest)\n\n\u003e Web3Auth is where passwordless auth meets non-custodial key infrastructure for Web3 apps and wallets. By aggregating OAuth (Google, Twitter, Discord) logins, different wallets and innovative Multi Party Computation (MPC) - Web3Auth provides a seamless login experience to every user on your application.\n\nWeb3Auth MPC Core Kit Beta is a wrapper SDK that gives you all the needed functionalities for implementing the Web3Auth MPC features, giving you the flexibility of implementing your own UI and UX flows end to end.\n\n## 📖 Documentation\n\nCheckout the official [Web3Auth Documentation](https://web3auth.io/docs/sdk/) to get started.\n\n...and a lot more\n\n## 🔗 Installation\n\n```shell\nnpm install --save @web3auth/mpc-core-kit\n```\n\n## ⚡ Quick Start\n\n### Get your Client ID from Web3Auth Dashboard\n\nHop on to the [Web3Auth Dashboard](https://dashboard.web3auth.io/) and create a new project. Use the Client ID of the project to start your integration.\n\n![Web3Auth Dashboard](https://github-production-user-asset-6210df.s3.amazonaws.com/6962565/272779464-043f6383-e671-4aa5-80fb-ec87c569e5ab.png)\n\n### Initialize Web3Auth for your preferred blockchain\n\nWeb3Auth needs to initialise as soon as your app loads up to enable the user to log in. Preferably done within a constructor, initialisation is the step where you can pass on all the configurations for Web3Auth you want. A simple integration for Ethereum blockchain will look like this:\n\n```js\nimport { Web3AuthMPCCoreKit } from \"@web3auth/mpc-core-kit\";\n\nconst DEFAULT_CHAIN_CONFIG: CustomChainConfig = {\n  chainNamespace: CHAIN_NAMESPACES.EIP155,\n  chainId: \"0x5\",\n  rpcTarget: \"https://rpc.ankr.com/eth_goerli\",\n  displayName: \"Goerli Testnet\",\n  blockExplorer: \"https://goerli.etherscan.io\",\n  ticker: \"ETH\",\n  tickerName: \"Ethereum\",\n  decimals: 18,\n};\n\n//Initialize within your constructor\nconst web3auth = new Web3AuthMPCCoreKit({\n    web3AuthClientId: 'YOUR_CLIENT_ID',\n    web3AuthNetwork: WEB3AUTH_NETWORK.DEVNET\n    chainConfig: DEFAULT_CHAIN_CONFIG\n});\n\n\nawait web3auth.init();\n```\n\n### Login your User\n\nOnce you're done initialising, just create a button that triggers login for your preferred social channel for the user on their request. You can further use the returned provider for making RPC calls to the blockchain.\n\n\n```js\n      const verifierConfig = {\n        subVerifierDetails: {\n          typeOfLogin: 'google',\n          verifier: 'w3a-google-demo',\n          clientId:\n            '519228911939-cri01h55lsjbsia1k7ll6qpalrus75ps.apps.googleusercontent.com',\n        }\n      } as SubVerifierDetailsParams;\n\n      await coreKitInstance.loginWithOAuth(verifierConfig);\n```\n\nFor JWT(idToken) login\n```js\n    const idTokenLoginParams = {\n        verifier: \"torus-test-health\",\n        verifierId: parsedToken.email,\n        idToken,\n    } as IdTokenLoginParams;\n\n    await coreKitInstance.loginWithJWT(idTokenLoginParams);\n```\n\n\n\n## 🩹 Examples\n\nCheckout the examples for your preferred blockchain and platform in our [examples repository](https://github.com/Web3Auth/web3auth-core-kit-examples)\n\n## 🌐 Demo\n\nCheckout the [Web3Auth Demo](https://demo-app.web3auth.io/) to see how Web3Auth can be used in your application.\n\n## 💬 Troubleshooting and Support\n\n- Have a look at our [Community Portal](https://community.web3auth.io/) to see if anyone has any questions or issues you might be having. Feel free to reate new topics and we'll help you out as soon as possible.\n- Checkout our [Troubleshooting Documentation Page](https://web3auth.io/docs/troubleshooting) to know the common issues and solutions.\n- For Priority Support, please have a look at our [Pricing Page](https://web3auth.io/pricing.html) for the plan that suits your needs.\n\n\n### Development steps:-\n  #### Install dependencies: \n    npm i\n    \n  #### Run tests:\n    npm run test\n\n  #### Build:\n    npm run build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3auth%2Fmpc-core-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3auth%2Fmpc-core-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3auth%2Fmpc-core-kit/lists"}