{"id":20747725,"url":"https://github.com/MetaMask/web3auth-firebase-extension","last_synced_at":"2025-09-27T20:31:11.909Z","repository":{"id":190161822,"uuid":"679637453","full_name":"Web3Auth/web3auth-firebase-extension","owner":"Web3Auth","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-04T03:41:10.000Z","size":398,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-17T08:14:09.993Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Web3Auth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-08-17T09:30:18.000Z","updated_at":"2024-09-04T03:41:14.000Z","dependencies_parsed_at":"2023-09-07T03:48:31.536Z","dependency_job_id":null,"html_url":"https://github.com/Web3Auth/web3auth-firebase-extension","commit_stats":null,"previous_names":["web3auth/web3auth-firebase-extension"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-firebase-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-firebase-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-firebase-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-firebase-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Web3Auth","download_url":"https://codeload.github.com/Web3Auth/web3auth-firebase-extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234455951,"owners_count":18835667,"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:13.165Z","updated_at":"2025-09-27T20:31:06.588Z","avatar_url":"https://github.com/Web3Auth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generate Ethereum Wallet Address using Web3Auth\n\n**Author**: Web3Auth (**[https://web3auth.io](https://web3auth.io/)**)\n\n**Description**: Generate Ethereum Wallet Address with Web3Auth using it's MPC based Key Management System (KMS) and store it in Firebase Realtime Database.\n\n---\n\n## 🧩 How to Install This Extension\n\n### Using the Firebase Console\n\nTo install and manage extensions, you can use the Firebase console.\n\n[![Install using console](https://www.gstatic.com/mobilesdk/210513_mobilesdk/install-extension.png \"Install using console\")][install-link]\n\n[install-link]: https://console.firebase.google.com/project/_/extensions/install?ref=web3auth/web3-wallet-generator@1.0.2\n\n### Using the Firebase CLI\n\nTo install and manage extensions, you can also use the Firebase CLI:\n\n**Step 1**: Run the following npm command to install the CLI or update to the latest CLI version:\n\n```bash\nnpm install -g firebase-tools\n```\n\n**Step 2**: Install this extension by running the following command:\n\n```bash\nfirebase ext:install web3auth/web3-wallet-generator --project=[your-project-id]\n```\n\n\u003e Learn more about installing extensions in the Firebase Extensions documentation:\n\u003e [console](https://firebase.google.com/docs/extensions/install-extensions?platform=console),\n\u003e [CLI](https://firebase.google.com/docs/extensions/install-extensions?platform=cli)\n\n## Configuration Parameters\n\n- Cloud Functions location: Where do you want to deploy the functions created for this extension? For help selecting a location, refer to the [location selection guide](https://firebase.google.com/docs/functions/locations).\n- Client ID from Web3Auth Dashboard: What is your Client ID?\n- Web3Auth Network: What is your Web3Auth Network?\n- Verifier Name created on Web3Auth Dashboard: What is your Verifier Name?\n- Firebase Realtime Database instance: What is the path to store the Ethereum Public Address in Firebase Realtime Database?\n\n---\n\n## How to Use This Extension\n\nTake a look at how this extension works:\n\n1. Head to your Firebase console's Authentication dashboard (https://console.firebase.google.com/project/${param:PROJECT_ID}/authentication/users).\n2. Create a new user.\n3. Navigate to the Firebase console's Real Time Database (https://console.firebase.google.com/project/${param:PROJECT_ID}/database).\n4. You'll see a new user account with the user's details and Ethereum Public address.\n\n### Using the extension\n\nOnce a user's account is created from your project's authenticated users, this extension automatically generates an Ethereum Public-Private Key pair using Web3Auth. It then stores the public address and user data in the Real Time Database.\n\nTo create a user, you can either do so directly in your Authentication dashboard (https://console.firebase.google.com/project/${param:PROJECT_ID}/authentication/users), or by using any of the Firebase Authentication SDKs. For more information, check out the Authentication documentation (https://firebase.google.com/docs/auth).\n\nWith this extension, you can use Firebase Authentication to securely generate an Ethereum Public-Private Key pair with Web3Auth.\n\nUsing Firebase Authentication, you can use any of the following Firebase Authentication SDK sign-in methods with Web3Auth:\n\n- Email and password-based authentication\n- Federated identity provider integrations (Google, Apple, Facebook, Twitter, GitHub)\n- Phone number authentication\n- Custom auth system integrations\n- Anonymous auth\n\n### Additional Setup\n\nBefore installing this extension, set up Firebase Authentication in your Firebase project.\nYou must also sign up for a Web3Auth account before installing this extension—you can do so on the [Web3Auth Dashboard](https://dashboard.web3auth.io).\n\n### Billing\n\nThis extension uses the following Firebase services, which may have associated charges:\n\n- Cloud Functions\n- Firebase Authentication\n- Firebase Realtime Database\n\nThis extension also uses the following third-party services:\n\n- Web3Auth ([pricing information](https://web3auth.io/pricing))\n\nYou are responsible for any costs associated with your use of these services.\n\n### Additional Setup\n\nBefore installing this extension, set up Firebase Authentication in your Firebase project.\nYou must also signup and set up a Web3Auth account before installing this extension—you can do so with [this sign up link](https://dashboard.web3auth.io).\n\n### Note from Firebase\n\nYour Firebase project must be on the Blaze (pay-as-you-go) plan to install the extension. You will only be charged for the resources you use. Most Firebase services offer a free tier for low-volume use. [Learn more about Firebase billing.](https://firebase.google.com/pricing)\n\nWhen installing or reconfiguring this extension, you will be billed a small amount (typically less than $0.10). See Cloud Functions under [Firebase Pricing](https://firebase.google.com/pricing) for a detailed explanation.\n\n## Development\n\n### Local setup\n\n1. Install the Firebase CLI\n\n```bash\nnpm install -g firebase-tools\n```\n\n2. Clone this repo and Install the dependencies\n\n```bash\ngit clone https://github.com/Web3Auth/web3auth-firebase-extension\ncd functions\nnpm install\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMetaMask%2Fweb3auth-firebase-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMetaMask%2Fweb3auth-firebase-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMetaMask%2Fweb3auth-firebase-extension/lists"}